:root{
	--blanco:#ffffff;
	--oscuro:#212121;
	--primario:#FFC107;
	--secundario:#97B20B;
	--gris:#757575;
	--grisclaro:#DFE9F3;
}
/* Globales */
html{
	font-size: 62.5%;
	box-sizing: border-box; /*Truco para box model */
	scroll-snap-type: y mandatory;
}
*, *:before, *:after{
	box-sizing: inherit;
}

body{
	font-size: 16px; /*1rem = 10px */
	font-family: 'Montserrat', sans-serif;
	background-image: linear-gradient(to top, var(--grisclaro) 0%, var(--blanco) 100%);
}
.contenedor{
	max-width: 120rem;
	margin: 0 auto;
}

@media (max-width: 500px){
	.contenedor{
		width: auto;
		
	}
}

@media (max-width: 500px){
	.contenedor h2{
		position: relative;
		top:20px;
	}
}

.boton1{
	background-color: #249EAC;
	color: var(--oscuro);
	padding: 1rem 3rem;
	margin-top: 110px;
	font-size: 30px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	border-radius: .5rem;
	width: 60%;
	text-align: center;
	border:none;
}

.boton2{
	position: relative;
	background-color: #50c7d5;
	color: var(--oscuro);
	padding: 1rem 3rem;
	margin-top: 110px;
	font-size: 30px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	border-radius: .5rem;
	width: 60%;
	text-align: center;
	border:none;
	top:65px;
}

.boton{
	background-color: var(--secundario);
	color: var(--oscuro);
	padding: 1rem 3rem;
	margin-top: 1rem;
	font-size: 2rem;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	border-radius: .5rem;
	width: 60%;
	text-align: center;
	border:none;
}

.boton1:hover{
	color:;
	cursor: pointer;
}

@media (min-width: 768px){
	.boton1{
		width: auto;

	}
}

@media (max-width: 500px){
	.boton1{
		position: absolute;
		width: auto;
		top: 120px;
	}
}

.boton2:hover{
	color:;
	cursor: pointer;
}

@media (min-width: 768px){
	.boton2{
		width: auto;

	}
}

@media (max-width: 500px){
	.boton2{
		position: absolute;
		width: auto;
		top: -150px;
	}
}

.sombra{
	-webkit-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.5);
	box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.5);
	background-color: var(--blanco);
	padding: 2rem;
	border-radius: 1rem;
}

/* Tipografia */
h1{
	font-size: 3.8rem;	
}
h2{
	font-size: 2.8rem;
}
h3{
	font-size: 1.8rem;
}

h4{
	font-size: 1.8rem;
}
h1,h2,h3,h4{
	text-align: center;
}

/* Titulos */
.titulo span{
	font-size: 2rem;
}

/*Utilidades*/
.w-100{
	width: 100%;
}

@media (min-width: 768px){
	.w-100{
		width: auto;
	}
}

.flex{
	display: flex;
}

.alinear-derecha{
	justify-content: flex-end;
}

#logos{	
	width: 100%;
	height: 160px;
	background: #F9F9F9;
}

#brigadas{
	background-image: url(../img/nuevologo.jpg);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 150px;
	position: relative;
	right: -30px;
	height: 150px;
	top: 5px;
	display: block;
}

#brigadas a{
	position: absolute;
	width: 150px;
	height: 150px;
}

@media (max-width: 500px){
	#brigadas{
		width: 33%;
		height: 120px;
		position: relative;
		left: 140px;	
		top: 5px;
		display: block;
	}
}

.btn-abrir-popupa{
	visibility: hidden;
}

@media (max-width: 500px){
	.btn-abrir-popupa{
	position: absolute;
	width: 45px;
	margin-bottom: 20px;
	height: 40px;
	line-height: 40px;
	border: none;
	color: white;
	background: #249EAC;
	border-radius: 3px;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	cursor: pointer;
	left: 86%;
	margin-top: -80px;
	visibility: visible;
	}
}


@media (max-width: 500px){
	.linea{
	visibility: visible;
    border-top: 2px solid #0077C0;
    margin-bottom: 20px;
	}
}


@media (max-width: 500px){
	.btn-abrir-popupa:hover {
		background: rgba(94,125,227, .9);
	}
}

.face{
	position: absolute;
	left: 57%;
	top:-1px;
}

.face .fa{
	position: absolute;
	width: 380px;
	left: 230px;
	top:1px;
}

.face p{
	position: absolute;
	width: 400px;
	font-size: 20px;
	left: 300px;
	top:20px;
}

@media (max-width: 500px){
	.face .fa, .face p{
	
	visibility: hidden;
	
	}
}

/* ------------------------- */
/* POPUP */
/* ------------------------- */

@media (max-width: 500px){
	.overlaya {
	background: rgba(0,0,0,.3);
	position: absolute;
	top: -360px;
	bottom: 0;
	left: 0;
	right: 0;
	align-items: center;
	justify-content: center;
	display: flex;
	visibility: hidden;
	}
}

@media (max-width: 500px){
	.navemenu a{
	position: relative;
	width: 100px;
	height: 5px;
	display:flex;
  	margin:0 auto;
	}
}

@media (max-width: 500px){
	.overlaya.active {
	visibility: visible;
	}
}

@media (max-width: 500px){
	.popupa{
	background: #3EA2A4;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	border-radius: 3px;
	height: 300px;
	text-align: center;
	width: 100%;
	transition: .2s ease all;
	transform: scale(0.7);
	opacity: 0;
	border:2px solid black;

	}
}


.popupa .btn-cerrar-popupa{
	visibility: hidden;
}

@media (max-width: 500px){
	.popupa .btn-cerrar-popupa {
	font-size: 25px;
	line-height: 16px;
	display: block;
	text-align: right;
	transition: .3s ease all;
	color: #0077C0;
	visibility: visible;
	width: 30px;
	}
}




@media (max-width: 500px){
	.popupa .btn-cerrar-popupa:hover {
	color:black;

	}
}

.popupa h4, .popupa h3 {
	visibility: hidden;
}

@media (max-width: 500px){
	.popupa h3 {
	font-size: 36px;
	font-weight: 600;
	margin-top: -10px;
	opacity: 0;
	visibility: visible;
	}
}


@media (max-width: 500px){
	.popupa h4 {
	font-size: 26px;
	font-weight: 300;
	margin-bottom: 40px;
	opacity: 0;
	visibility: visible;
	}
}


/* Navegacion principal */
.nav-bg{
	width: 47%;
	height: 0;
	left: 40%;
	margin-top: -110px;
	position: relative;
}

@media (max-width: 500px){
	.nav-bg{
		flex-direction: row;
		justify-content: space-between;
		visibility: hidden;
	}
}

.navegacion-principal{
	display: flex;
	flex-direction: column;
	margin-top: -30px;

}

@media (max-width: 1920px){
	.navegacion-principal{
		flex-direction: row;
		justify-content: space-around;
	}
}


@media (max-width: 500px){
	.navegacion-principal {
		flex-direction: column;
		justify-content: space-between;
		position: relative;
		right: 450px;
		top:40px;
		visibility: hidden;
	}
}

.navemenu a{
	visibility: hidden;

}


@media (max-width: 500px){
	.navemenu a{
	width: 200px;
	padding: 20px;
	align-items: center;
	justify-content: center;
	line-height: 100px;
	text-decoration: none;
	font-size: 30px;
	color:#FFF;
	visibility: visible;
	}
}

.navemenu a:hover{
	visibility: hidden;
}

@media (max-width: 480px){
	.navemenu a:hover{
	text-decoration: none;
	color:black;
	visibility: visible;
	}
}

@font-face{
	font-family: forte;
	src:url(../forte.ttf);
}

.navegacion-principal a{
	position: relative;
	display: block;
	right: -100px;
	text-align: center;
	color: var(--oscuro);
	text-decoration: none;
	font-size: 30px;
	font-weight: bold;
	padding: 1.5rem;
	color:#000080;

}

.navegacion-principal a:hover{
	color: #159EF0;
}

.paypal{
	position: absolute;
	left: 31%;
	top:10px;
	width: 2rem;
	height: auto;
}

.bio{
	position: absolute;
	left: 31%;
	top:10px;
	width: auto;
	height: 50px;
}

.bio p{
	position: relative;
	right: 90px;
	font-size: 20px;

}

@media (max-width: 500px){
	.bio{
		display: none;
	}
}

.paypal{
	position: absolute;
	left: 15%;
	width: auto;
	top:50px;
}



@media (max-width: 500px){
	.paypal{
		position: absolute;
		left:-5px;
		top:-1px;
	}
}

.port{
	position: relative;
	width: 100%;
	height: 400px;
}

.portada{
	background-image: url(../img/portada.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
    height: 700px;
    position: relative;
    top: -1172;
    left: 50%;

}



@media (max-width: 500px){
	.port .portada{
		background-size: cover;
		width: 100%;
		height: 290px;
		margin: 0 auto;
		display: block;
		top:-40px;
		visibility: hidden;

	}
}

.contenido-portada{
	position: absolute;
	background-color: rgba(0,0,0,.6);
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

}

.contenido-portada h2,
.contenido-portada p{
	color: var(--blanco);
}

.contenido-portada h1,
.contenido-portada p{
	color: var(--blanco);
	font-size: 25px;
}

@media (max-width: 500px){
	.contenido-portada h2{
		position: absolute;
		font-size: 20px;
		top:10px;
		visibility: hidden;

	}
}

@media (max-width: 500px){
	.contenido-portada img{
		position: absolute;
		top:-25px;
		width: 16%;
		left: 45px;
		visibility: hidden;
	}
}

@media (max-width: 500px){
	.contenido-portada{
		position: absolute;
		background-color: rgba(0,0,0,.6);
		width: 100%;
		height: 290px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		visibility: hidden;


	}
}

.contenido-portada .ubicacion{
	display: flex;
	align-items: flex-end;
	margin-top: -180px;
}

@media (max-width: 500px){
	.contenido-portada .ubicacion{
		position: absolute;
		width: 100%;
		height: 50px;
		display: flex;
		margin-top: 100px;
		flex-direction: row;
		align-items: center;
		justify-content: center;
	}
}

@media (min-width: 1600px){
	.portada{
		background-image: url(../img/portada.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 50%;
        /* height: 700px; */
        position: relative;
        top: -1362px;
        left: 50%;
        /* padding-left: 8px; */
        /* border: 3px solid red; */
        position: relative;
        margin-left: 5px;
	}
}

.clic{
	font-weight: bold;
}

/*servicios*/
.servicio{
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

@media (min-width: 768px){
	.servicios{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1fr;
		column-gap: 3rem;

	}
}

@media (max-width: 767px){
	.servicios{
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 3rem;
	}
}

@media (max-width: 460px){
	.servicios{
		display: grid;
		grid-template-columns: 1fr;
		column-gap: 3rem;
	}
}

.servicio h3{
	font-weight: normal;
}

.servicio p{
	line-height: 2;
	text-align: center;
}

.servicio .iconos{
	height: 15rem;
	width: 15rem;
	background-color: #87CEEB;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.servicio img{
    object-fit: cover;
}


.btn-abrir-popup {
	padding: 0 20px;
	margin-bottom: 20px;
	height: 40px;
	line-height: 40px;
	border: none;
	color: #fff;
	background: #5E7DE3;

	border-radius: 3px;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	cursor: pointer;
	transition: .3s ease all;
	cursor: pointer;
}

.btn-abrir-popup:hover {
	background: rgba(94,125,227, .9);
}

.overlay, .overlayy, .overla, .overlas, .overlass, .overlaz,
.overlazz, .overlaz1, .overlaz2, .overlaz3, 
.overlaz4, .overlaz5, .overlaz6{
	position: absolute;
	background: #0D6C6C90;
	width: 150px;
	height: 0;
	transition: .5s ease;
	overflow: hidden;
}

.overlay a, .overlayy a, .overla a, .overlas a, .overlass a{
	color:white;
	font-size: 45px;
	font-family: sans-serif;
	position: absolute;
	text-decoration: none;
	top:49%;
	width: 100%;
	left: 50%;
	text-align: center;
	transform: translate(-50%, -50%);
}

.iconos:hover .overlay, .iconos:hover .overla, .iconos:hover .overlas, 
.iconos:hover .overlass, .iconos:hover .overlaz, .iconos:hover .overlazz,
.iconos:hover .overlaz1, .iconos:hover .overlaz2, .iconos:hover .overlaz3,
.iconos:hover .overlaz4, .iconos:hover .overlaz5, .iconos:hover .overlaz6{
	height: 150px;
	cursor: pointer;
	border-radius: 60%
}

.overlay1, .overlay2, .overlay3, .overlay4, .overlay5, .overlay6,
.overlay7, .overlay8, .overlay9, .overlay10, .overlay11, .overlay12,
.overlay13{
	background: rgba(0,0,0,.3);
	position: fixed;
	top:0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
} 

.overlay1.active, .overlay2.active, .overlay3.active, .overlay4.active, 
.overlay5.active, .overlay6.active, .overlay7.active, .overlay8.active,
.overlay9.active, .overlay10.active, .overlay11.active, .overlay12.active,
.overlay13.active{
	visibility: visible;
}

.popup, .popupp, .popup2, .popup3, .popup4, .popup5, .popup6, .popup7, .popup8,
.popup9, .popup10, .popup11, .popup12, .popup13{
	background: #f8f8f8;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,.3);
	border-radius: 3px;
	font-family: 'Krub', sans-serif;
	padding: 20px;
	text-align: center;
	width: 600px;
	opacity: 0;
	transition: .3s ease all;
	transform: scale(0.7);
}

.popup .btn-cerrar-popup, .popup2 .btn-cerrar-popup2,
.popup3 .btn-cerrar-popup3, .popup4 .btn-cerrar-popup4,
.popup5 .btn-cerrar-popup5, .popup6 .btn-cerrar-popup6,
.popup7 .btn-cerrar-popup7, .popup8 .btn-cerrar-popup8,
.popup9 .btn-cerrar-popup9, .popup10 .btn-cerrar-popup10,
.popup11 .btn-cerrar-popup11, .popup12 .btn-cerrar-popup12,
.popup13 .btn-cerrar-popup13{
	font-size: 16px;
	line-height: 16px;
	display: block;
	text-align: right;
	color: green;
	transition: .3s ease all;
}

.popup .btn-cerrar-popup:hover, .popup2 .btn-cerrar-popup2:hover,
.popup3 .btn-cerrar-popup3:hover, .popup4 .btn-cerrar-popup4:hover,
.popup5 .btn-cerrar-popup5:hover, .popup6 .btn-cerrar-popup6:hover,
.popup7 .btn-cerrar-popup7:hover, .popup8 .btn-cerrar-popup8:hover,
.popup9 .btn-cerrar-popup9:hover, .popup10 .btn-cerrar-popup10:hover,
.popup11 .btn-cerrar-popup11:hover, .popup12 .btn-cerrar-popup12:hover,
.popup13 .btn-cerrar-popup13:hover{
	color:rgba(94,125,227, .9);
}

.popup h3{
	font-size: 19px;
	font-weight: 600px;
	margin-bottom: 10px;
	opacity: 0;
	text-align: justify;
}

.popup h4{
	font-size: 26px;
	font-weight: 300px;
	margin-bottom: 40px;
	opacity: 0;
}

.popup2 h3{
	font-size: 33px;
	font-weight: 600px;
	margin-bottom: 10px;
	opacity: 0;
}

.popup2 h4{
	font-size: 26px;
	font-weight: 300px;
	margin-bottom: 40px;
	opacity: 0;
}

.popup3 h3{
	font-size: 19px;
	font-weight: 600px;
	margin-bottom: 10px;
	opacity: 0;
	text-align: justify;
}

.popup3 h4{
	margin-top: 5px;
	font-size: 28px;
	font-weight: 300px;
	margin-bottom: 40px;
	opacity: 0;

}

.popup4 h3{
	font-size: 19px;
	font-weight: 600px;
	margin-bottom: 10px;
	opacity: 0;
	text-align: justify;
}

.popup4 h4{
	margin-top: 5px;
	font-size: 28px;
	font-weight: 300px;
	margin-bottom: 40px;
	opacity: 0;
}

.popup5 h3{
	font-size: 19px;
	font-weight: 600px;
	margin-bottom: 10px;
	opacity: 0;
	text-align: justify;
}

.popup5 h4{
	margin-top: 5px;
	font-size: 28px;
	font-weight: 300px;
	margin-bottom: 40px;
	opacity: 0;
}

.popup6 h3{
	font-size: 19px;
	font-weight: 600px;
	margin-bottom: 10px;
	opacity: 0;
	text-align: justify;
}

.popup6 h4{
	margin-top: 5px;
	font-size: 28px;
	font-weight: 300px;
	margin-bottom: 40px;
	opacity: 0;
}

.popup7 h3{
	font-size: 19px;
	font-weight: 600px;
	margin-bottom: 10px;
	opacity: 0;
	text-align: justify;
}

.popup7 h4{
	margin-top: 5px;
	font-size: 28px;
	font-weight: 300px;
	margin-bottom: 40px;
	opacity: 0;
}

.popup8 h3{
	font-size: 19px;
	font-weight: 600px;
	margin-bottom: 10px;
	opacity: 0;
	text-align: justify;
}

.popup8 h4{
	margin-top: 5px;
	font-size: 28px;
	font-weight: 300px;
	margin-bottom: 40px;
	opacity: 0;
}

.popup9 h3{
	font-size: 19px;
	font-weight: 600px;
	margin-bottom: 10px;
	opacity: 0;
	text-align: justify;
}

.popup9 h4{
	margin-top: 5px;
	font-size: 28px;
	font-weight: 300px;
	margin-bottom: 40px;
	opacity: 0;
}

.popup10 h3{
	font-size: 19px;
	font-weight: 600px;
	margin-bottom: 10px;
	opacity: 0;
	text-align: justify;
}

.popup10 h4{
	margin-top: 5px;
	font-size: 28px;
	font-weight: 300px;
	margin-bottom: 40px;
	opacity: 0;
}

.popup11 h3{
	font-size: 19px;
	font-weight: 600px;
	margin-bottom: 10px;
	opacity: 0;
	text-align: justify;
}

.popup11 h4{
	margin-top: 5px;
	font-size: 28px;
	font-weight: 300px;
	margin-bottom: 40px;
	opacity: 0;
}

.popup12 h3{
	font-size: 19px;
	font-weight: 600px;
	margin-bottom: 10px;
	opacity: 0;
	text-align: justify;
}

.popup12 h4{
	margin-top: 5px;
	font-size: 28px;
	font-weight: 300px;
	margin-bottom: 40px;
	opacity: 0;
}

.popup13 h3{
	font-size: 19px;
	font-weight: 600px;
	margin-bottom: 10px;
	opacity: 0;
	text-align: justify;
}

.popup13 h4{
	margin-top: 5px;
	font-size: 28px;
	font-weight: 300px;
	margin-bottom: 40px;
	opacity: 0;
}

.popupp h3{
	font-size: 19px;
	font-weight: 600px;
	margin-bottom: 10px;
	opacity: 0;
	text-align: justify;
}

.popupp h4{
	margin-top: 5px;
	font-size: 28px;
	font-weight: 300px;
	margin-bottom: 40px;
	opacity: 0;
}

.popup2 form .contenedor-inputs {
	opacity: 0;
}

.popup2 textarea{
	width: 100%;
	margin-bottom: 20px;
	height: 52px;
	font-size: 18px;
	text-align: center;
	border: 1px solid #BBBBBB;
}
.popup2 form .contenedor-inputs input {
	width: 100%;
	margin-bottom: 20px;
	height: 52px;
	font-size: 18px;
	line-height: 52px;
	text-align: center;
	border: 1px solid #BBBBBB;
}

.popup2 form .btn-submit {
	padding: 0 20px;
	height: 40px;
	line-height: 40px;
	border: none;
	color: black;
	background: var(--secundario);
	border-radius: 3px;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	cursor: pointer;
	transition: .3s ease all;
}


.popup2 form .btn-submit:hover {
	background: rgba(94,125,227, .9);
	color: #fff;
}

.btn-submit {
	padding: 0 20px;
	height: 40px;
	line-height: 40px;
	border: none;
	color: black;
	background: var(--secundario);
	border-radius: 3px;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	cursor: pointer;
	transition: .3s ease all;
}

.btn-submit:hover {
	background: rgba(94,125,227, .9);
	color: #fff;
}

.galeria h1{
    text-align: center;
    margin:20px 0 15px 0;
    font-weight: 300;
    font-size: 40px;
}

.contenedor-imagenes{
    display:flex;
    position: relative;
    width: 60%;
    margin: auto;
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius:3px;
}

.contenedor-imagenes .imagen{
    width: 32%;
    position: relative;
    height:300px;
    margin-bottom:5px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, .75)
}

.imagen img{
    width: 100%;
    height:100%;
}

@media screen and (max-width:1000px){
    .contenedor-imagenes{
        width: 95%;
    }
}

@media screen and (max-width:700px){
    .contenedor-imagenes{
        width: 90%;
    }
    .contenedor-imagenes .imagen{
        width: 48%;
    }
}

@media (max-width:500px){
    h1{
        font-size:22px;
    }
    .contenedor-imagenes{
        width: 90%;
		position: relative;
		top:50px;
    }
    .contenedor-imagenes .imagen{
        width: 80%;
    }
}


/*ANIMACIONES DEL POPUP*/
.popupp.active {opacity: 1; transform: scale(1);}
.popupp.active h3{ animation: entradaTitulo .8s ease .5s forwards;}
.popupp.active h4{ animation: entradaDescripcion .8s ease .5s forwards;}

.popup6.active {opacity: 1; transform: scale(1);}
.popup6.active h3{ animation: entradaTitulo .8s ease .5s forwards;}
.popup6.active h4{ animation: entradaDescripcion .8s ease .5s forwards;}

.popup7.active {opacity: 1; transform: scale(1);}
.popup7.active h3{ animation: entradaTitulo .8s ease .5s forwards;}
.popup7.active h4{ animation: entradaDescripcion .8s ease .5s forwards;}

.popup8.active {opacity: 1; transform: scale(1);}
.popup8.active h3{ animation: entradaTitulo .8s ease .5s forwards;}
.popup8.active h4{ animation: entradaDescripcion .8s ease .5s forwards;}

.popup9.active {opacity: 1; transform: scale(1);}
.popup9.active h3{ animation: entradaTitulo .8s ease .5s forwards;}
.popup9.active h4{ animation: entradaDescripcion .8s ease .5s forwards;}

.popup10.active {opacity: 1; transform: scale(1);}
.popup10.active h3{ animation: entradaTitulo .8s ease .5s forwards;}
.popup10.active h4{ animation: entradaDescripcion .8s ease .5s forwards;}

.popup11.active {opacity: 1; transform: scale(1);}
.popup11.active h3{ animation: entradaTitulo .8s ease .5s forwards;}
.popup11.active h4{ animation: entradaDescripcion .8s ease .5s forwards;}

.popup12.active {opacity: 1; transform: scale(1);}
.popup12.active h3{ animation: entradaTitulo .8s ease .5s forwards;}
.popup12.active h4{ animation: entradaDescripcion .8s ease .5s forwards;}

.popup13.active {opacity: 1; transform: scale(1);}
.popup13.active h3{ animation: entradaTitulo .8s ease .5s forwards;}
.popup13.active h4{ animation: entradaDescripcion .8s ease .5s forwards;}

.popup5.active {opacity: 1; transform: scale(1);}
.popup5.active h3{ animation: entradaTitulo .8s ease .5s forwards;}
.popup5.active h4{ animation: entradaDescripcion .8s ease .5s forwards;}

.popup4.active {opacity: 1; transform: scale(1);}
.popup4.active h3{ animation: entradaTitulo .8s ease .5s forwards;}
.popup4.active h4{ animation: entradaDescripcion .8s ease .5s forwards;}

.popup2.active {opacity: 1; transform: scale(1);}
.popup2.active h3{ animation: entradaTitulo .8s ease .5s forwards;}
.popup2.active h4{ animation: entradaDescripcion .8s ease .5s forwards;}

.popup.active {opacity: 1; transform: scale(1);}
.popup.active h3{ animation: entradaTitulo .8s ease .5s forwards;}
.popup.active h4{ animation: entradaDescripcion .8s ease .5s forwards;}
.popup2.active .contenedor-inputs { animation: entradaInputs 1s linear 1s forwards; }

.popup3.active {opacity: 1; transform: scale(1);}
.popup3.active h3{ animation: entradaTitulo .8s ease .5s forwards;}
.popup3.active h4{ animation: entradaDescripcion .8s ease .5s forwards;}

@keyframes entradaTitulo{	
	from {
		transform: translateY(-25px);
		opacity: 0;
	}
	to{
		transform: translateY(0);
		opacity: 1;

	}
}

@keyframes entradaDescripcion{
	from {
		transform: translateY(25px);
		opacity: 0;
	}
	to{
		transform: translateY(0);
		opacity: 1;

	}
}

@keyframes entradaInputs {
	from { opacity: 0; }
	to { opacity: 1; }
}


/* Contacto*/
.formulario{
	background-color: var(--gris);
	width: min(60rem, 100%); /*Utiliza el valor mas pequeño*/
	margin: 0 auto;
	padding: 2rem;
	border-radius: 1rem;
}

.formulario fieldset{
	border: none;
}

.formulario legend{
	text-align: center;
	font-size: 1.8rem;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 2rem;
	color: var(--blanco);
}


@media (min-width: 768px){
	.contenedor-campos{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: auto auto 22rem;
	column-gap: 1rem;
	}	

	.campo:nth-child(3),
	.campo:nth-child(4){
		grid-column: 1 / 3;
	}
}

.campo{
	margin-bottom: 1rem;
}

.campo label{
	color: var(--blanco);
	font-weight: bold;
	margin-bottom: .5rem;
	display: block;
}

.campo textarea{
	height: 20rem;
}

.input-text{
	width: 100%;
	border:none;
	padding: 1.5rem;
	border-radius: .5rem;
}

@media (max-width: 460px){
	.formulario{
		height: 60rem;
	}
}

@media (max-width: 460px){
	.alinear-derecha .boton, .flex{
		width: 130px;
		height: 45px;
		display: flex;
		flex-direction: column;
	}
}

/* Desarrollador Footer*/
.footer{
	text-align: center;
}



/* ------------------------- */
/* ANIMACIONES */
/* ------------------------- */
.popupa.active {	transform: scale(1); opacity: 1; }
.popupa.active h3 { animation: entradaTitulo .8s ease .5s forwards; }
.popupa.active h4 { animation: entradaSubtitulo .8s ease .5s forwards; }

@keyframes entradaTitulo {
	from {
		opacity: 0;
		transform: translateY(-25px);
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes entradaSubtitulo {
	from {
		opacity: 0;
		transform: translateY(25px);
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes entradaInputs {
	from { opacity: 0; }
	to { opacity: 1; }
}





*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#container-slider
{
    position: relative;
    display: block;
    width: 100%;
}
#slider {
    position: relative;
    display: block;
    width: 100%;
    height: 76vh;
    min-height: 500px;
}
#slider li {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 50%;
    height: 700px;
    display: block;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -ms-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
    z-index: -1;
    opacity: 0;
}
#container-slider .arrowPrev, #container-slider .arrowNext{
    font-size: 30pt;
    color: rgba(204, 204, 204, 0.65);
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50px;
    z-index: 2; 
}
#container-slider .arrowNext {
    left: initial;
    right: 50px !important;
}
.content_slider{
    padding: 15px 30px;
    color: #FFF;
    width: 100%;
    height: 100%;
}
.content_slider div{
    text-align: center;
}
.titulo1, .titulo2, .titulo3, .titulo4{
    font-family: 'arial';
    font-size: 30pt;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    right: 20%;
	text-align: start;
    top:-250px;
}

.titulo5{
    font-family: 'arial';
    font-size: 30pt;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    right: 20%;
    top:-250px;
}

.content_slider p {
    font-size: 15pt;
    font-family: 'arial';
    color: #FFF;
    margin-bottom: 20px;
    position: relative;
    right: 20%;
	text-align: start;
    top:-250px;
}
#slider li .content_slider{
    background: rgba(0, 0, 0, 0.10);
    padding: 10px 125px;
}
.content_slider{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btnSlider{
    color: #FFF;
    font-size: 15pt;
    font-family: 'arial';
    letter-spacing: 1px;
    padding: 10px 50px;
    border: 1px solid #CCC;
    background: rgba(13, 13, 13, 0.55);
    border-radius: 31px;
    text-decoration: none;
    transition: .5s all;
    position: relative;
    right: 50%;
	text-align: start;
    top:-250px;
}
.btnSlider:hover{
    background: #111;
    border: 1px solid #111;
}
.listslider {
    position: absolute;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    left: 50%;
    bottom: 5%;
    list-style: none;
    z-index: 2;
    transform: translateX(-50%);
}
.listslider li {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    cursor: pointer;
    margin: 0 5px;
}

.item-select-slid {
    background: #FFF  !important;
}

@media screen and (max-width: 460px){
	.content_slider{
		position: relative;
		display: block;
		width: 100%;
	}
	.content_slider h2 {
	    font-size: 15pt !important;
	}
	.content_slider p {
	    font-size: 12pt !important;
	}
	#container-slider .arrowPrev, #container-slider .arrowNext{
		font-size: 20pt;
	}
	#container-slider .arrowPrev{
		left: 15px;
	}
	#container-slider .arrowNext{
		right: 15px !important;
	}
	#slider{
		width: 100%;
		height: 400px;
		min-height: 400px;
	}
	#slider li{
		width: 100%;
		height: 400px;
		min-height: 400px;
	}
	#slider li .content_slider{
		padding: 10px 35px;
		width: 100%;
	}
	.btnSlider{
		padding: 10px 30px;
    	font-size: 10pt;
	}

	.galeria h1{
		visibility: hidden;
	}
	

}

.galeria1{
	position: relative;
    font-family: 'Krub';
	top:165px;
}



.galeria1 p{
text-align: center;}

.galeria{
	position: relative;
    font-family: 'Krub';
	top:450px;
}

@media (max-width: 600px){
	.galeria{
	font-family: 'Krub';
	position: relative;
	top:610px;
	}

	.port{
		top:50px;
	}
	.port h1{
		text-align: center;
        position: relative;
        font-weight: 300;
	}

	.galeria1 p{

        width: 90%;
        margin: 0 auto;
	}

	.titulo1, .titulo2, .titulo3, .titulo4, .titulo5{
		font-family: 'arial';
		font-size: 30pt;
		letter-spacing: 1px;
		text-transform: uppercase;
		position: absolute;
		text-align: center;
		top:15px;
	}

	.btnSlider{
		color: #FFF;
		font-size: 10pt;
		font-family: 'arial';
		letter-spacing: 1px;
		padding: 10px 10px;
		border: 1px solid #CCC;
		background: rgba(13, 13, 13, 0.55);
		border-radius: 31px;
		text-decoration: none;
		transition: .5s all;
		position: absolute;
		top:68px;
		left: 25px;
		width: 90px;
	}

}

.sponh1{
	font-weight: bold;
}

img{
	transition: .4s ease;
}	

img:hover{
	transform: scale(1.1);
}