@font-face{
	font-family: 'lgc-light';
	src: url("../fonts/lgc-light.ttf");
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



* {
	margin: 0;
	box-sizing: border-box;
}

a:link, a:visited, a:active {
    text-decoration:none;
    list-style: none;
}

body{
	font-family: 'Roboto', sans-serif;

}




	/*** TITLE ***/

h1 {
	font-size: 1.8em;
	font-family: 'lgc-light';
	text-transform: uppercase;
	color: #333;
}

h2{
	font-size: 1.4em;
	color: #888;
	text-transform: uppercase;
}

h3{
	font-size: 1.2em;
	color: white;
	text-transform: uppercase;
}

p{
	color: #333;
	font-size: 0.9em;
}

.txt-light{
	font-family: 'lgc-light';
	font-size: 1.4em;
	color: #333;
}



	/*** BUTTON ***/

button{
	font-size: 1em;
	font-weight: bold;
	margin: 20px;
	padding: 10px 20px;
	border-radius: 20px;
	border: 1px solid #ddd;
	color: #222;
	background: #eee;
	text-transform: uppercase;
}

button:hover{
	color: #204d51;
	background: linear-gradient(#a8f8ff, #1ed2e1);
}



	/*** WPP BUTTON ***/

.float-wpp{
	position: fixed;
	z-index: 999;
	bottom: 20px;
	right: 20px;
}

.btm-wpp{
	width: 80px;
}



	/*** CONTAINER ***/

.container{
	max-width: 1100px;
	margin: auto;
}



	/*** PREHEAD ***/

#prehead{
	background-color: #333;
}

#prehead .container{
	text-align: center;
	padding: 15px;
}

#prehead a{
	color: white;
	font-size: 0.8em;
}

#prehead a:hover{
	color: #a8f8ff;
}

#prehead i{
	color: #a8f8ff;
	margin-right: 10px;
}



	/*** HEADER ***/

header{
	background: linear-gradient(white, #ddd);
}

header .container .logo{
	margin: 0;
	width: 250px;
	padding: 10px 30px;
}

header .container{
	display: flex;
	flex-direction: column;
	align-items: center;
}

header nav{
	display: flex;
	flex-direction: column;
	text-align: center;
	padding-bottom: 25px;
}

header nav a{
	padding: 5px 10px;
	font-weight: bold;
	color: #222;
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 2px;
}

header nav a:hover{
	color: #1ed2e1;
	transition: 0.5s;
	border-bottom: 5px solid #ddd;
}



/*** HERO ***/

#hero{
	height: 60vh;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	border-bottom: 8px solid #1ed2e1;
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  opacity: 0;
  animation: fadeIn 1.5s ease-out forwards;
  animation-delay: 0.3s;

  border-bottom: 8px solid #1ed2e1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.3),
      rgba(3, 0, 0, 0)
    );
}

.hero-1 {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.3),
      rgba(3, 0, 0, 0)
    ),
    url("../img/hero-index.jpg");
}

.hero-2 {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.3),
      rgba(3, 0, 0, 0)
    ),
    url("../img/hero-emp.jpg");
}

.hero-3 {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.3),
      rgba(3, 0, 0, 0)
    ),
    url("../img/hero-serv.jpg");
}

.hero-4 {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.3),
      rgba(3, 0, 0, 0)
    ),
    url("../img/hero-prod.jpg");
}

.hero-5 {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.3),
      rgba(3, 0, 0, 0)
    ),
    url("../img/hero-aq.jpg");
}

.hero-6 {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.3),
      rgba(3, 0, 0, 0)
    ),
    url("../img/hero-cont.jpg");
}

.txt-light-hero,
.icon-hero {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

.txt-light-hero {
  animation-delay: 1s;
  text-align: center;
  font-family: 'lgc-light';
  font-size: 2em;
}

.icon-hero {
  animation-delay: 1.4s;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  background-image: url("../img/icon-hero.png");
  background-size: cover;
}



/*** DATA ***/

#data .container{
	text-align: center;
	padding: 50px 20px;
}

#data .box-data{
	width: 100%;
	padding: 40px 20px 40px 20px;
	border: 1px solid #ddd;
	box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.1);
	border-radius: 30px;
}

#data .box-data h1{
	margin-bottom: 20px;
}

#data .box-data video{
	width: 90%;
	margin: 30px 0;
}

.cal-index{
	width: 200px;
	height: 200px;
	margin: 0 auto;
	background-image: url("../img/cal-index.jpg");
	background-size: cover;
	border-radius: 50%;
}

#data .txt-light{
	padding: 10px 30px;
}

#data .list-box{
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 5px;
	padding-top: 30px;
}

#data .box-pd{
	background-color: #ddd;
	border-radius: 30px;
}

#data .box-img{
	display: flex;
	height: 300px;
	padding: 50px;
	border-radius: 30px 30px 0 0;
	background-size: cover;
	background-position: center center;
	justify-content: center;
	align-items: center;
	text-align: center;
}

#data .box-txt{
	height: 50px;
	padding-top: 10px;
}

#data .list-data{
	padding: 50px 0;
}

#data .list-item{
	width: 100%;
	padding: 30px;
	margin-bottom: 5px;
	display: flex;
	flex-direction: column;
	background-color: #eee;
	border-radius: 30px;
	border: 1px solid #ddd;
	align-items: center;
}

#data .data-icon{
	width: 150px;
	height: 150px;
	background-size: cover;
}

#data .data-txt{
	width: 100%;
	padding: 20px 0 40px 0;
	text-align: center;
}

#data .data-txt h2{
	margin-bottom: 10px;
}

#data .icon1{
	background-image: url("../img/icon-emp1.png");
}

#data .icon2{
	background-image: url("../img/icon-emp2.png");
}

#data .icon3{
	background-image: url("../img/icon-emp3.png");
}

#data .icon4{
	background-image: url("../img/icon-serv1.png");
}

#data .icon5{
	background-image: url("../img/icon-serv2.png");
}

#data .icon6{
	background-image: url("../img/icon-serv3.png");
}

#data .map{
	width: 100%;
	height: 60vh;
	background-image: url("../img/map_msj.png");
	background-size: cover;
	background-position: center center;
	border-radius: 30px;
	position: relative;
}

#data .map-link{
	position: absolute;
	width: 100%;
	bottom: 10px;
}

#data .contact-container{
	width: 100%;
	margin-top: 10px;
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 5px;
}

#data .box-contact{
	width: 100%;
}

#data .form-contact{
	padding: 50px;
	border-radius: 15px;
	border: 1px solid #ddd;
}

#data .item-contact{
	width: 100%;
	padding: 50px;
	background-color: #eee;
	border-radius: 15px;
	border: 1px solid #ddd;
	align-items: center;
	text-align: center;
}

.item-contact h2{
	margin-bottom: 10px;
}

#data form{
	width: 100%;
}

#data .input-box{
	width: 100%;
	margin-top: 15px;
}

#data .input-box input, textarea{
	height: 50px;
	width: 100%;
	outline: none;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 0 15px;
}

#data textarea{
	padding: 15px;
	resize: none;
	font-family: 'Roboto';
}

#data .contact-f{
	width: 100%;
	padding: 20px;
	margin-top: 10px;
	background-color: #888;
	color: white;
	border-radius: 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	justify-content: space-around;
}

#data .contact-f-i{
	margin-bottom: 5px;	
}

#data .contact-f i{
	color: #a8f8ff;
	margin-right: 5px;
}

#data .contact-rrss{
	margin-top: 20px;
}

#data .contact-rrss img{
	width: 40px;
	margin: 3px;
}


		/*** TABLE ***/

	.table-container{
		width: 100%;
		margin: 0 auto;
	}

	.table-box{
		width: 100%;
		border-radius: 15px;
		border: 1px solid #ddd;
		margin-bottom: 30px;
	}

	.table-head{
		padding: 10px;
		color: #333;
		background-color: #eee;
		border-radius: 15px;
	}

	.table-list{
		padding: 20px;
	}

	.table-list p{
		margin: 10px;
		color: #888;
	}

	table{
		width: 100%;
		border-collapse: collapse;
		margin-bottom: 30px;
	}

	td{
		width: 50%;
		padding: 10px;
		margin-bottom: 10px;
		border-bottom: 1px solid #ddd;
	}



/*** PRESENTACION ***/
#presentacion{
	background-color: #ddd;
	text-align: center;
}

#presentacion .container{
	padding: 50px 20px;
}

#presentacion .list-present{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-gap: 5px;
	padding: 30px 0;
}

#presentacion .list-present p{
	color: #888;
	text-transform: uppercase;
	font-weight: bold;
	padding-top: 10px;
	padding-bottom: 20px;
}

#presentacion .present{
	height: 300px;
	background-position: center center;
	background-size: cover;
	border-radius: 30px;
}

.pr1{
	background-image: url("../img/prod1.jpg");
}

.pr2{
	background-image: url("../img/prod2.jpg");
}

.pr3{
	background-image: url("../img/prod3.jpg");
}



/*** PRODUCTS ***/

#products{
	background-color: #ddd;
	text-align: center;
}

#products .container{
	padding: 50px 20px;
}

#products .list-product{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-gap: 5px;
	padding: 30px 0;
}

#products .product{
 	background-position: center center;
	background-size: cover;
	padding: 50px 0;
	border-radius: 30px;
}

.pd1{
	background-image: linear-gradient(
		0deg,
		rgba(0,0,0,0.5),
		rgba(0,0,0,0.5)
	)
	,url("../img/cal-v.jpg");
}

.pd2{
	background-image: linear-gradient(
		0deg,
		rgba(0,0,0,0.5),
		rgba(0,0,0,0.5)
	)
	,url("../img/cal-c.jpg");
}

.pd3{
	background-image: linear-gradient(
		0deg,
		rgba(0,0,0,0.5),
		rgba(0,0,0,0.5)
	)
	,url("../img/cal-i.jpg");
}

.pd4{
	background-image: linear-gradient(
		0deg,
		rgba(0,0,0,0.5),
		rgba(0,0,0,0.5)
	)
	,url("../img/cal-f.jpg");
}

#products .products-txt{
	padding: 0 50px;
}



/*** CONTACT ***/

#cal-contact{
	height: 40vh;
	display: flex;
	align-items: center;
	text-align: center;
	justify-content: center;
	background-image: url("../img/cal-contact.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

#cal-contact .container{
	padding: 0 20px;
}

#cal-contact .txt-light{
	font-weight: bold;
}

#cal-contact button{
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}



/** POPUP**/
.popup-overlay {
	display: none;
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.7);
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.popup-content {
	background: white;
	padding: 20px;
	position: relative;
	border-radius: 10px;
	max-width: 90%;
	max-height: 90%;
	overflow: auto;
}

.popup-image {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 20px;
	font-size: 30px;
	cursor: pointer;
	color: #333;
}



/*** FOOTER ***/

footer{
	background-color: #222;
	color: white;
}

footer .container{
	padding: 30px 0;	
}

footer .footer-data{
	width: 100%;
	padding: 0 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

footer .logo-footer{
	width: 120px;
	height: 60px;
	background-size: cover;
	background-image: url("../img/msj_logo-f.png");
}

footer .txt-footer{
	padding: 10px 50px 30px 50px;
	font-size: 0.8em;
	text-align: center;
}

.contact-footer{
	padding-top: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.contact-item{
	margin: 2px 0;
	font-weight: bold;
}

.rrss-footer{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
}

.social-icon{
	width: 30px;
	height: 30px;
	background-image: url("../img/icon-RRSS-IN.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100%;
	margin: 5px;
}

.social-icon:nth-of-type(2){
	background-image: url("../img/icon-RRSS-IG.png");
}

footer i{
	color: #a8f8ff;
	margin-right: 5px;
}







/*** PC VIEW ***/


@media (min-width: 720px){

	h1 {
		font-size: 2.2em;
	}

	h2{
		font-size: 1.5em;
	}

	h3{
		font-size: 1.5em;
	}

	#prehead .container{
		flex-direction: row;
		justify-content: space-between;
	}

	header .container {
		flex-direction: row;
		justify-content: space-between;
	}

	header nav{
		flex-direction: row;
		padding-bottom: 0;
		padding-right: 20px;
	}

	.txt-light-hero{
		font-size: 2.5em;
	}

	#data .txt-light{
		padding: 10px 100px;
	}

	#data .list-box{
		grid-template-columns: repeat(2, 1fr);
	}

	#data .data-txt{
		text-align: left;
		padding: 0 50px 0 20px;
	}

	#data .list-item{
		flex-direction: row;
		padding: 50px;
	}

	#data .box-data{
		padding: 60px 100px 60px 100px;
	}

	#data .box-data video{
		width: 80%;
	}

	#data .contact-container{
		grid-template-columns: repeat(2, 1fr);
	}

	#data .contact-f{
		flex-direction: row;
	}

	#data .container-f-i{
		margin-bottom: 0;	
	}

	#data .contact-rrss{
		margin-top: 0;
	}

	.table-container{
		width: 70%;
	}

	#products .list-product{
		display: grid;
	}

	#products .product{
		padding: 150px 0;
	}

	#products .products-txt{
		padding: 0 150px;
	}

	#cal-contact .txt-light{
		padding: 0 150px;
	}

	.table-container{
		grid-template-columns: 3fr;
	}

	#presentacion .list-present p{
		padding-bottom: 0;
	}

	footer .footer-data{
		padding: 0 100px;
	}
	
	.contact-footer{
		flex-direction: row;
	}

	.contact-item{
		margin: 0 10px;
	}



}