
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scroll-behavior: smooth;
	/*font-family: 'M PLUS Rounded 1c', sans-serif;*/
	font-family: 'Raleway', sans-serif;
}
body{
	/*font-family: 'M PLUS Rounded 1c', sans-serif;*/
}
/* Menu */
#nav-bar{
	position: sticky;
	top: 0;
	z-index: 10;
}
.navbar{
	background-image: linear-gradient(to right, #398860, #044726);
	background-color: none;
	transition: background-image 2s;
}

.navbar-brand img {
	position: absolute;
	height: 40px;
	padding-left: 20px;
	margin-top: -20px;
}
.navbar-brand .uno{
	position: absolute;
}
.navbar-brand .dos{
	opacity: 0;
}
.navbar-nav li{
	padding: 0 10px;
}
.navbar-nav li a{
	color: #fff !important;
	font-weight: 600;
	float: right;
	text-align: left;
}
.fa-bars{
	color: #fff;
	font-size: 30px !important;
}
.navbar-toggler{
	outline: none !important;
}
.effect{
	background-image: linear-gradient(to right, #fff, #fff);
	padding: 10px 0;
}
.effect .nav-item a{
	color: black !important;
}
.effect .uno{
	opacity: 0;
}
.effect .dos{
	opacity: 1;
}
.effect .fa-bars{
	color: #398860;
}
/* Banner section */
#banner{
	background-image: linear-gradient(to right, #398860, #044726);
	color: #fff;
	padding-top: 4%;
}
#banner .container{
	margin: 3% auto;
}
.promo-title{
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-size: 60px;
	font-weight: 600;
	margin-top: 100px;
}
.bottom-img{
	width: 100%;
}
.anim-bn{
	opacity: 0;
	animation-name: banner;
	animation-duration: 4s;
	animation-fill-mode: forwards;
}
@keyframes banner{
	from{opacity: 0;}
	to{opacity: 1;}
}
/* Sobre nosotros */
#about-us{
	padding-bottom: 50px;
	padding-top: 50px;
}
.about-title{
	font-size: 40px;
	font-weight: 600;
	margin-top: 8%;
}
#about-us ul li{
	margin: 20px 0;
}
#about-us ul {
	margin-left: 20px;
}
/* service section*/
#servicios{
	background-color: #f9fbfa;
	padding: 80px 0;
}
#servicios .container .row .card{
	position: relative;
	padding: 0;
	width: 300px;
	height: 420px;
	background: #fff;
	margin: 20px;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 15px 25px rgba(0,0,0,0.2);
	transition: 0.5s;
}
#servicios .container .row:hover .card{
	filter: blur(2px);
	transform: scale(0.9);
	opacity: 0.5;
}
#servicios .container .row .card:hover{
	filter: blur(0px);
	transform: scale(1.1);
	opacity: 1;
}
#servicios .container .row .card .circle{
	position: relative;
	width: 100%;
	height: 100%;
	background: #000;
	clip-path: circle(180px at center 0);
	text-align: center;
}
#servicios .container .row .card .circle h2{
	color: #fff;
	font-size: 2em;
	padding: 30px 0;
}
#servicios .container .row .card .content{
	position: absolute;
	bottom: 10px;
	padding: 20px;
	text-align: center;
}
#servicios .container .row .card .content p{
	color: #666;
}
#servicios .container .row .card .content a{
	position: relative;
	display: inline-block;
	padding: 10px 20px;
	background: #000;
	color: #fff;
	border-radius: 40px;
	text-decoration: none;
	margin-top: 20px;
}
/*colores*/
#servicios .container .row .card:nth-child(1) .circle,
#servicios .container .row .card:nth-child(1)  .content a{
	/*background: #ffaf00;*/
	background: #398860;
}
#servicios .container .row .card:nth-child(2) .circle,
#servicios .container .row .card:nth-child(2)  .content a{
	/*background: #da2268;*/
	background: #393A88;
}
#servicios .container .row .card:nth-child(3) .circle,
#servicios .container .row .card:nth-child(3)  .content a{
	/*background: #bb02ff;*/
	background: #873988;
}
/*/colores*/
.title{
	text-transform: uppercase;
}
.title::before{
	content: '';
	background: #398860;
	height: 5px;
	width: 200px;
	margin-left: auto;
	margin-right: auto;
	display: block;
	transform: translateY(63px);
}
.title::after{
	content: '';
	background: #398860;
	height: 10px;
	width: 50px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 40px; 
	display: block;
	transform: translateY(8px);
}
/* Porque elegirnos */
#elegirnos title{
	font-size: 37px;
}
#elegirnos .container{
	position: relative;
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 20px;
}
#elegirnos .container .card{
	position: relative;
	height: 250px;
	background: #fff;
	display: flex;
	width: 45%;
	margin: 30px 0;
}
#elegirnos .container .card .imgBx{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #333;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	transition: 0.5s ease-in-out;
	color: #fff;
}
#elegirnos .container .card:hover .imgBx{
	width: 150px;
	height: 150px;
	left: -75px;
	top: calc(50% - 75px);
	transition: 0.5s ease-in-out;
	/*background: #ff0057;*/
	background: #393A88;
}
#elegirnos .container .card .imgBx:before{
	content: attr(data-text);
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
	font-size: 4em;
	color: rgba(255,255,255,.05);
	font-weight: 700;
}
#elegirnos .container .card .imgBx i{
	font-size: 100px;
	transition: 0.5s ease-in-out;
}
#elegirnos .container .card:hover .imgBx i{
	font-size: 75px;
}
#elegirnos .container .card .content{
	position: absolute;
	right: 0;
	width: calc(100% - 75px);
	height: 100%;
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}
#elegirnos .container .card .content h3{
	margin-bottom: 5px;
	font-size: 24px;
}
#elegirnos .container .card .content p{
	text-align: justify;
}
#contacto .container .card .content a{
	display: inline-block;
	margin-top: 10px;
	padding: 5px 10px;
	background: #333;
	text-decoration: none;
	color: #fff;
}
/* Contáctanos */
#contacto{
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	/*background: #398860;*/
	background-color: #f9fbfa;
}
#contacto::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	/*background: #84a795;*/
	background-color: #f9fbfa;
}
#contacto .container{
	position: relative;
	min-height: 550px;
	display: flex;
}
#contacto .container .contactInfo{
	position: absolute;
	top: 40px;
	width: 350px;
	height: calc(100% - 80px);
	background: #398860;
	z-index: 1;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	/*box-shadow: 0 20px 20px rgba(0,0,0,0.2);*/
}
#contacto .container .contactInfo h2{
	color: #fff;
	font-size: 24px;
	font-weight: 500;
}
#contacto .container .contactInfo .info{
	position: relative;
	margin: 20px 0;
}
#contacto .container .contactInfo .info li{
	position: relative;
	list-style: none;
	display: flex;
	margin: 20px 0;
	cursor: pointer;
	align-items: flex-start;
}
#contacto .container .contactInfo .info li span:nth-child(1),
#contacto .container .contactInfo .info li span a{
	width: 30px;
	min-width: 30px;
	text-decoration: none;
}
#contacto .container .contactInfo .info li span:nth-child(1) i{
	max-width: 100%;
	filter: invert(1);
	opacity: 0.5;
}
#contacto .container .contactInfo .info li span:nth-child(2),
#contacto .container .contactInfo .info li span a{
	color: #fff;
	margin-left: 10px;
	font-weight: 300;
	opacity: 0.5;
}
#contacto .container .contactInfo .info li:hover span:nth-child(1) i,
#contacto .container .contactInfo .info li:hover span:nth-child(2),
#contacto .container .contactInfo .info li span a{
	opacity: 1;
}
#contacto .container .contactInfo .sci{
	position: relative;
	display: flex;
}
#contacto .container .contactInfo .sci li{
	list-style: none;
	margin-right: 15px;
}
#contacto .container .contactInfo .sci li a{
	text-decoration: none;
}
#contacto .container .contactInfo .sci li a i{
	color: #fff;
	opacity: 0.5;
}
#contacto .container .contactInfo .sci li:hover a i{
	opacity: 1;
}
#contacto .container .contactForm{
	position: absolute;
	padding: 70px 50px;
	background: #fff;
	margin-left: 150px;
	padding-left: 250px;
	width: calc(100% - 150px);
	height: 100%;
	/*box-shadow: 0 50px 50px rgba(0,0,0,0.5);*/
}
#contacto .container .contactForm h2{
	color: #398860;
	font-size: 24px
	font-weight: 500;
}
#contacto .container .contactForm .formBox{
	position: relative;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding-top: 30px;
}
#contacto .container .contactForm .formBox .inputBox{
	position: relative;
	margin: 0 0 35px 0;
}
#contacto .container .contactForm .formBox .w50{
	width: 47%;
}
#contacto .container .contactForm .formBox .w100{
	width: 100%;
}
#contacto .container .contactForm .formBox .inputBox input,
#contacto .container .contactForm .formBox .inputBox textarea{
	width: 100% !important;
	padding: 5px 0;
	resize: none;
	font-size: 18px;
	font-weight: 300;
	color: #333;
	border: none;
	border-bottom: 1px solid #777;
	outline: none;
}
#contacto .container .contactForm .formBox .inputBox textarea{
	min-height: 120px;
}
#contacto .container .contactForm .formBox .inputBox span{
	position: absolute;
	left: 0;
	font-size: 18px;
	font-weight: 300;
	color: #333;
	transition: 0.5s;
	pointer-events: none;
}
#contacto .container .contactForm .formBox .inputBox input:focus ~ span,
#contacto .container .contactForm .formBox .inputBox textarea:focus ~ span,
#contacto .container .contactForm .formBox .inputBox input:valid ~ span,
#contacto .container .contactForm .formBox .inputBox textarea:valid ~ span{
	transform: translateY(-20px);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 1px;
	color: #ff568c;
}
#contacto .container .contactForm .formBox .inputBox button[type="submit"]{
	position: relative;
	cursor: pointer;
	background: #398860;
	color: #fff;
	border: none;
	max-width: 180px;
	padding: 12px;
}
#contacto .container .contactForm .formBox .inputBox input[type="submit"]:hover{
	background: #225039;
}
#contacto .container .contactForm .winput{
	text-align: center;
}
/* Footer */
#footer{
	background-image: linear-gradient(to right, #398860, #044726);
	color : #fff;
}
/*#footer .container{
	max-width: 140px;
}*/
.footer-img{
	width: 100%;
}
.footer-box{
	padding: 20px;
	padding-left: 100px;
}
.footer-box img{
	width: 40%;
	margin-bottom: 20px;
}
.footer-box .fas{
	margin-right: 8px;
	font-size: 25px;
	height: 40px;
	width: 40px;
	text-align: center;
}
.footer-box .mailt{
	font-size: 1rem; 
	text-decoration: none;
	color: white !important;
}
.footer-box a{
	margin: 0 1px;
	font-size: 35px;
}
hr{
	width: 100%;
	background-color: #fff;
}
.copyright{
	margin-bottom: 0;
	padding-bottom: 20px;
	text-align: center;
}
/*Footer icons*/
.social{
	position: relative;
	display: flex;
}
.social li{
	position: relative;
	list-style: none;
	margin: 0 15px;
	cursor: pointer;
}
.social li a{
	text-decoration: none;
}
.social li a .fab{
	font-size: 1em;
	color: #222;
} 
.social li::before{
	font-family: fontAwesome;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 2.5em;
	height: 0;
	overflow: hidden;
	transition: 0.5s ease-in-out;
}
.social li:nth-child(1)::before{
	content: '\f09a';
	color: #3b5998;
	border-bottom: 4px solid #3b5998;
}
.social li:nth-child(2)::before{
	content: '\f232';
	color: #00e676;
	border-bottom: 4px solid #00e676;
}
.social li:nth-child(3)::before{
	content: '\f16d';
	color: #ef4957;
	border-bottom: 4px solid #ef4957;
}
.social li:nth-child(4)::before{
	content: '\f16a';
	color: #ff0000;
	border-bottom: 4px solid #ff0000;
}
.social li:hover::before{
	height: 100%;
}
.social li:hover a{
	opacity: 0;
}
/* Animacion */
.anim{
	opacity: 0;
	transition: 1s;

}
.anim-1{
	opacity: 0;
	transition: 1.5s;
}
.anim-2{
	opacity: 0;
	transition: 2s;
}
.anim-3{
	opacity: 0;
	transition: 2.5s;
}
/*number valid*/
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button{
    -webkit-appearance: none;
    margin: 0;
}
input[type=number]{
    -moz-appearance:textfield;
}