@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --fuenteTitulos: 'Montserrat', sans-serif;
    --fuenteParrafo: 'Libre Baskerville', sans-serif;
}
html {
    font-size: 62.5%; /*1rem = 10px */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--fuenteParrafo);
    font-size: 1.6rem;
    line-height: 2;
}
body {
    height: 100vh;
}

/* Globales */
.contenedor {
    max-width: 120rem;
    margin: 0 auto;
}
a {
    text-decoration: none;
}
h1, h2, h3, h4 {
    font-family: var(--fuenteTitulos);
    line-height: 1.2;
}

p {
    font-family: var(--fuenteParrafo);
}



/* Menú */

.navbar {
    background: #8e8e8e;

}

.navbar-header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #021523;
}

.navbar-menu-mobile {
    color: #ffc433;
    border: 1px solid #ffffff;
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-link img {
    width: 12rem;
}

.navbar-container {
    position: absolute;
    background: #8e8e8e;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    height: 0rem;
    overflow: hidden;
    transition: heigth 0.10s ease;
    z-index: 10;
    list-style: none;
}

.navbar-link {
    color: #d8d7d4;
}

.navbar-link:hover {
    color: #ffc433;
}
#navbar-header:target .navbar-container {
    height: 30rem;
}

#navbar-header:target .open {
    display: none;
}

#navbar-header:target .close {
    display: flex;
}

.close {
    display: none;
}

@media (min-width: 992px) {
    .navbar {
        display: flex;
        justify-content: space-between;
    }

    .navbar-menu-mobile {
        display: none;
    }
    .navbar-container {
        height: auto;
        flex-direction: row;
        position: static;
        width: 70%;
    }
}


/* Cabecera */

.cabecera {
    width: 100%;
    height: 50vh;

}

.cabecera img {
    width: 100%;
    height: 50vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: brightness(60%);
    position:absolute;
    display: block;
    padding-top: 0;
    margin-top: 0;
}

.cabecera-texto {
    position: relative;
}

.cabecera-texto h1 {
    margin: 0;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    padding-top: 8rem;
}

.cabecera-texto h2 {
    padding-top: 2rem;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
}

.cabecera-texto h3 {
    padding-top: 2rem;
    color: #ffffff;
    text-align: center;
}

@media (min-width: 768px) {
    .cabecera-texto h1 {
        font-size: 5rem;
        padding-top: 12rem;
    }

    .cabecera-texto h2 {
        font-size: 3rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .cabecera-texto h3 {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .cabecera {
        height: 60vh;
    }

    .cabecera img {
        height: 60vh;
    }

    .cabecera-texto h1 {
        font-size: 5rem;
        padding-top: 15rem;
    }

    .cabecera-texto h2 {
        font-size: 3rem;
    }

    .cabecera-texto h3 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1400px) {
    .cabecera {
        height: 80vh;
    }

    .cabecera img {
        height: 80vh;
    }

    .cabecera-texto h1 {
        font-size: 8rem;
        padding-top: 20rem;
    }

    .cabecera-texto h2 {
        font-size: 5rem;
    }

    .cabecera-texto h3 {
        font-size: 3rem;
    }
}


/* Sección Servicios */

.servicios {
    margin-top: 10rem;
    width: 100%;
    height: auto;
}

.servicios h2 {
    text-align: center;
    text-transform: uppercase;
    color: #000000;
    font-size: 2.5rem;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.servicios hr {
    width: 50%;
    margin: 0 auto;
    border: .1rem solid #000000;
}

.serv {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    gap: 3rem;
}

.serv__elec h3 {
    font-size: 2rem;
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 1rem;
}

.serv__elec p {
    padding: 0 2rem 2rem 2rem;
    text-align: justify;
    font-size: 1.5rem;
}

button {
    display: block;
    margin: 0 auto;
    padding: 1rem 5rem;
    background-color: #ffc433;
    box-shadow: 8px 10px 10px 1px rgba(0,0,0,0.5);
}

button a {
    color: #000000;
}

button:active {
    transform: translateY(10px);
    box-shadow: 8px 0px 10px 1px rgba(0,0,0,0.5);
}

@media (min-width: 992px) {
    .serv {
        flex-direction: row;
    }
}


/* Sección Eco Energía */

.energia {
    margin-top: 10rem;
    width: 100%;
    height: auto;
}

.energy {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.energy__img img {
    width: 100%;
}

.hidden {
    transform: scale(0.8);
    opacity: 0;
    transition: all 1.2s ease-out;
}
.mostrar {
    transform: scale(1);
    opacity: 1;
}

.energy__text h3 {
    font-size: 3rem;
    text-transform: uppercase;
    text-align: center;
}

.energy__text p {
    font-size: 1.5rem;
    text-align: justify;
    padding: 1rem 2rem 0 2rem;
}

@media (min-width: 992px) {
    .energy {
        flex-direction: row;
    }

    .energy__img {
        width: 50%;
    }

    .energy__text {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Sección Elegirnos */

.elegirnos {
    width: 100%;
    height: auto;
    margin-top: 10rem;
}

.elegirnos h2 {
    font-size: 3rem;
    text-transform: uppercase;
    text-align: center;
}

.secciones {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.secciones h3 {
    font-size: 2rem;
    padding: 1rem 2rem;
}

.secciones p {
    text-align: justify;
    font-size: 1.5rem;
    padding: 0 1rem;

}

.secciones .informacion .titulo1,
.secciones .informacion2 .titulo2,
.secciones .informacion3 .titulo3,
.secciones .informacion4 .titulo4,
.secciones .informacion5 .titulo5 {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-top: 1rem;
    padding: 0;
    background-color: #ffc433;
}

.secciones .informacion .detalle1,
.secciones .informacion2 .detalle2,
.secciones .informacion3 .detalle3,
.secciones .informacion4 .detalle4,
.secciones .informacion5 .detalle5 {
    margin-bottom: 5rem;
    padding: 0 1rem;
    display: none;
    padding-top: 2rem;
}

.secciones .informacion .oculto1,
.secciones .informacion2 .oculto2,
.secciones .informacion3 .oculto3,
.secciones .informacion4 .oculto4,
.secciones .informacion5 .oculto5 {
    display: none;
}




/* Sección Experiencia */

.experiencia {
    width: 100%;
    margin-top: 10rem;

}

.imagen {
    position: relative;
}
.imagen img {
    width: 100%;
    position: absolute;
    object-fit: cover;
    filter: brightness(60%);
}

.imagen__info {
    position: absolute;
}

.imagen__info i {
    color: #ffc433;
    font-size: 5rem;
    padding-top: 13rem;
    padding-left: 2rem;
}

.imagen__info h4 {
    color: #ffffff;
    font-size: 2rem;
    margin-top: 2rem;
    padding-left: 2rem;
}

@media (min-width: 768px) {
    .imagen__info i {
        padding-top: 35rem;
    }

    .imagen__info h4 {
        font-size: 4rem;
    }
}

@media (min-width: 992px) {
    .experiencia {
        width: 100%;
        height: 80vh;
    }

    .imagen img  {
        width: 100%;
        height: 70Vh;
        border-radius: 2%;

    }
    .imagen__info i {
        padding-top: 50rem;
    }
}

/* Sección  Clientes */

.clientes {
    width: 100%;
    height: auto;
    margin-top: 45rem;
    margin-bottom: 5rem;
}

.clientes h4 {
    text-align: center;
    text-transform: uppercase;
    font-size: 2.5rem;
}

.clientes h2 {
    padding-top: 2rem;
    text-align: center;
    text-transform: uppercase;
    font-size: 2rem;
}

.clientes p {
    padding: 2rem;
    text-align: justify;
}

.logowall {
    padding-top: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    justify-content: center;
    text-align: center;
}

.logowall img {
    width: 50%;
    height: 10rem;
    filter: saturate(0);
}

.logowall img:hover {
    filter: saturate(100%);
    transform: scale(1.25);
}

@media (min-width: 768px) {
    .logowall {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .logowall img {
    width: 70%;
    height: 15rem;
    }
}

@media (min-width: 992px) {
    .clientes {
        margin-top: 5rem;
    }

    .logowall {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }

    .logowall img {
        width: 50%;
        height: 10rem;
    }
}

footer {
    width: 100%;
    height: auto;
    background: #8e8e8e;
}

.footer {
    display: flex;
    flex-direction: column;
    padding-top: 2rem;
    width: 100%;
}

.footer__img img {
    width: 50%;
    display: block;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.footer__img hr {
    border-color: #000000;
    width: 90%;
    margin: 0 auto;
}

.footer__menu {
    padding: 2rem 0 2rem 0;
    text-align: center;
}

.footer__menu a {
    font-family: var(--fuenteParrafo);
    color: #d8d7d4;
}

.footer__menu li {
    list-style: none;
}

.footer__menu a:hover{
    color: #ffc433;
}

.footer hr {
    border-color: #000000;
    width: 90%;
    margin: 0 auto;
}

.footer__info {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
}

.footer__info-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer__info-info i {
    font-size: 1.5rem;
    color: #d8d7d4;
}

.footer__info-info p {
    font-size: 1.5rem;
    color: #d8d7d4;
}

footer hr {
    border-color: #000000;
    width: 90%;
    margin: 0 auto;
}

.footer2 {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2rem;
}

.footer2 span {
    font-size: 1.5rem;
    text-align: center;
    color: #d8d7d4;
}

.footer2 p {
    font-size: 1.5rem;
    text-align: center;
    color: #d8d7d4;
}

.marketery a {
    text-align: center;
    font-family: var(--fuenteParrafo);
    font-size: 1.5rem;
    color: #d8d7d4;
}

.marketery a:hover {
    color: #ffc433;
}

@media (min-width: 992px) {
    .footer {
        flex-direction: row;

    }

    hr {
        display: none;
    }

    .footer__img img {
        width: 70%;
        display: block;
        margin: 0 auto;
    }

    .footer__img {
        width: 33.4%;
    }

    .footer__menu {
        width: 33.4%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer__info {
        width: 33.4%;
    }


    .footer2 {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 2rem;
    }


}

@media (min-width: 1400px) {
    .footer__img img {
        width: 30%;
    }
}


/* Scrolltop boton flotante */

.btn-scrolltop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    background: #ffc433;
    color: #000000;
    border: 1px solid  #ffc433;
    border-radius: 100%;
    cursor: pointer;
    transform: translateY(100px);
    transition: 0.3s;
}
.btn-scrolltop-on {
    transform: translateY(0);
}

/* Whatsapp boton flotante */

.btn-wsp {
    position: fixed;
    width: 5.5rem;
    height: 5.5rem;
    line-height: 5.5rem;
    bottom: 10rem;
    right: 2rem;
    background: #0df053;
    color: var(--blanco);
    border-radius: 5rem;
    text-align: center;
    font-size: 3rem;
    box-shadow: 0px 1px 10px rgba(0,0,00.3);
    z-index: 100;
}
.btn-wsp:hover {
    text-decoration: none;
}
.btn-wsp i {
    font-size: 3rem;

}
.btn-wsp i:hover {
    color: #0df053;
}

/* Página Politicas de Privacidad */

/* Sección Portada */

.portada {
    width: 100%;
    height: 55vh;
    background-image: url(../Imagenes/Cabecera.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}

#fondo::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.6);
}

.portada h1 {
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 4rem;
}

@media (min-width: 768px) {
    .portada h1 {
        font-size: 6rem;
    }
}

@media (min-width: 992px) {
    .portada h1 {
        font-size: 9rem;
    }
}

@media (min-width: 1400px) {
    .portada h1 {
        font-size: 11rem;
    }
}

/*Página Aviso de Privacidad */
/*Sección Información Aviso de Privacidad */

.info-aviso {
    padding: 5rem 2rem;
}

.info-aviso__texto p {
    text-align: justify;
    font-size: 1.5rem;
    padding-bottom: 2rem;
}

.info-aviso__texto h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 2rem;
    padding-bottom: 2rem;
}

.info-aviso__texto ul {
    padding-left: 2rem;
    padding-bottom: 2rem;
}

.info-aviso__text li {
    list-style: circle;
}

/* Página Quiénes Somos */
/* Sección Quiénes Somos Info */

.quienes-somos {
    width: 100%;
    height: auto;
    margin-top: 10rem;
}

.quienes-somos__info {
    display: flex;
    flex-direction: column;
}

.quienes-somos__info-1,
.quienes-somos__info-2 {
    padding: 0 2rem 2rem 2rem;
    text-align: justify;
    font-size: 1.5rem;
}

@media (min-width: 992px) {
    .quienes-somos__info {
        flex-direction: row;
    }
}

/*Sección Misión y Visión */

.mision-vision {
    width: 100%;
    height: auto;
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
}

.mision-vision__info img {
    width: 90%;
    display: block;
    margin: 0 auto;
}

.mision-vision__info h2 {
    font-size: 3rem;
    text-transform: uppercase;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.mision-vision__info hr{
    width: 80%;
    height: .3rem;
    margin: auto;
    background-color: #000000;
}

.mision-vision__info p {
    text-align: justify;
    font-size: 1.5rem;
    padding: 2rem
}

@media (min-width: 992px) {
    .mision-vision {
        flex-direction: row;
    }

    .mision-vision__info img {
        height: 50vh;
    }

    .mision-vision__info p {
        text-align: center;
    }
}

/* Sección Contador */

.counter-wrapper {
   margin: 10rem 0;
   height: 50vh;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   gap: 10rem;
   padding-bottom: 20rem;
}

.contador {
    height: 15.5rem;
    width: 32rem;

}


.numero {
    height: 25vh;
    width: 100%;
    font-size: 10rem;
    font-family: var(--fuenteTitulos);
    font-weight: bold;
    color: #555;
    background-color: #ffffff;

    mix-blend-mode: screen;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contador h3 {
    font-size: 3rem;
    text-transform: uppercase;
    text-align: center;
}

@media (min-width: 992px) {
    .counter-wrapper {
        flex-direction: row;
    }
}

/* Página Servicios */

.servicios {
    width: 100%;
    height: auto;
    margin-top: 10rem;
    margin-bottom: 10rem;

}

.servicios1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
    margin-top: 5rem;
}

.servicios1__img img {
   width: 90%;
   display: block;
   margin: 0 auto;
   border-radius: 5%;
}

.servicios1__texto {
    margin-left: 4rem;
    padding-top: 2rem;
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .servicios1__texto {
        margin-left: 6rem;
    }
}

@media (min-width: 992px) {
    .servicios1 {
       grid-template-columns: repeat(2, 1fr);
    }

    .servicios1__img img {
        margin-top: 5rem;
    }
}

@media (min-width: 1400px) {
    .servicios1__img img {
        margin-top: 0;
    }
}

/* Portada Slider */

/* Slider */

.container {
    position: relative;
    width: 100%;
    height: 50vh;
    background-color: #000000;
}

.slider input {
    visibility: hidden;
    display: none;
}

.buttons {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    bottom: 5rem;
    gap: 1rem;
}

.buttons label {
    width: 1.5rem;
    height: 1.5rem;
    background-color: #ffffff;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
    z-index: 1;
    transition: 300ms ease-in-out;
}

.buttons label:hover {
    scale: 1.2;
    opacity: 1;
}

.slider input:nth-child(1):checked ~ .buttons label:nth-child(1),
.slider input:nth-child(2):checked ~ .buttons label:nth-child(2),
.slider input:nth-child(3):checked ~ .buttons label:nth-child(3),
.slider input:nth-child(4):checked ~ .buttons label:nth-child(4) {
    opacity: 1;
    scale: 1.2;
    width: 2rem;
}

.content {
    position: relative;
    width: 400vw;
    display: flex;
    transition: 400ms ease-in-out;
}

.firstslide,
.secondslide,
.thirdslide,
.fourthslide {
    position: relative;
    width: 100vw;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.firstslide {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../Imagenes/Slider1.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.secondslide {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../Imagenes/Slider2.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.thirdslide {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../Imagenes/Slider3.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.fourthslide {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../Imagenes/Slider4.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.slider input:nth-child(1):checked ~ .content {
    left: 0;
}

.slider input:nth-child(2):checked ~ .content {
    left: -100vw;
}

.slider input:nth-child(3):checked ~ .content {
    left: -200vw;
}

.slider input:nth-child(4):checked ~ .content {
    left: -300vw;
}

.content h1 {
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 2.5rem;
    padding: 0 2rem;
}

@media (min-width: 992px) {

    .container {
        height: 60vh;
    }

    .firstslide,
    .secondslide,
    .thirdslide,
    .fourthslide {
        height: 60vh;
    }

    .content h1 {
        font-size: 4rem;
    }
}

/* Sección Ance */

.ance {
    width: 100%;
    height: auto;
    margin-top: 10rem;
}

.ance1 {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.ance1__img img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

.ance1__texto {
    width: 100%;
}

.ance1__texto h2 {
    text-align: center;
    font-size: 3rem;
    text-transform: uppercase;
    padding: 1rem;
}

.ance1__texto p {
    font-size: 1.5rem;
    text-align: justify;
    padding-bottom: 2rem;
    padding: 0  2rem 2rem;
}

.ance1__texto li {
    font-size: 1.5rem;
    margin-left: 4rem;
    padding-top: 2rem;
    padding-right: 2rem;
    text-align: justify;
}

@media (min-width: 768px) {
    .ance1__img img {
        width: 80%;
    }
}

@media (min-width: 992px) {
    .ance1 {
        flex-direction: row;
    }

    .ance1__img {
        width: 45%;
    }

    .ance1__img img {
        width: 100%;
        margin-top: 10rem;
    }

    .ance1__texto {
        width: 50%;
    }
}

@media (min-width: 1400px) {
    .ance1__img img {
        margin-top: 5rem;
        width: 80%;
    }
}

.instalaciones {
    margin-top: 10rem;
    width: 100%;
    height: auto;
}

.insta {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.insta__img img {
    width: 90%;
    display: block;
    margin: 0 auto;
}

.bannerpaneles {
    width: 100%;
    height: auto;
    margin-top: 10rem;
    margin-bottom: 10rem;
}

.bannerpaneles__titulo h2 {
    text-transform: uppercase;
    text-align: center;
    font-size: 2rem;
    padding-bottom: 5rem;
}

.slider1 {
    width: 100%;
    height: auto;
    margin: auto;
    overflow: hidden;
}

.slider1 .slide-track {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
    -webkit-animation: scroll 40s linear infinite;
    width: calc(30rem * 12);
}

.slider1 .slide {
    width: 30rem;
}

.slider1 .slide img {
    width: 30rem;
    height: 20rem;
    background-position: center center;
    background-size: cover;
    object-fit: cover;
    border-radius: 5%;
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(-30rem * 6));
        transform: translateX(calc(-30rem * 6));
    }
}

/* Sección Galerias */

.galeria {
    margin-top: 5rem;
    padding: 0 2rem;
}

.galeria h2 {
    font-size: 3rem;
    text-transform: uppercase;
    text-align: center;
}

.linea {
    background: #ffc433;
    height: .5rem;
    width: 100%;
    display: block;
    margin: 2rem 0;
}

.galerias {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    align-items: center;
    justify-content: center;
    padding-bottom: 7rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.galerias > a {
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 .6rem (0, 0, 0, .5);
}

.galerias img {
    width: 100%;
    vertical-align: top;
    height: 30rem;
    object-fit: cover;
    transition: transform 0.5s;
}

.galerias a:hover img {
    filter: blur(.2rem);
    transform: rotate(10deg) scale(1.3);
}

.light-box {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    transition: transform .3s ease-in-out;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
}

.light-box img {
    width: 75vw;
    max-height: 70vh;
}

.light-box:target {
    transform: scale(1);
}

.close1 {
    display: block;
    position: absolute;
    top: 4rem;
    right: 4rem;
    background: #ffc433;
    color: #ffffff;
    height: 4rem;
    width: 4rem;
    text-align: center;
    line-height: 4rem;
    border-radius: 50%;
}

.next {
    display: block;
    background: #ffc433;
    color: #ffffff;
    width: 3rem;
    height: 3rem;
    text-align: center;
    line-height: 3rem;
}


/*Página Contacto */

/*Sección Formulario */

.contacto {
    margin-top: 5rem;
    width: 100%;
    height: auto;
}

.contacto h2 {
    text-transform: uppercase;
    text-align: center;
    font-size: 2rem;
    padding-bottom: 2rem;
}

.contacto__linea {
    background: #ffc433;
    height: .5rem;
    width: 50%;
    display: block;
    margin-top: 2rem;
    margin: 2rem auto;
}

.contactanos {
    display: grid;
    grid-template-rows: 1fr;
    padding-top: 3rem;
    padding-bottom: 5rem;
    width: 100%;
}

.contactanos h3 {
    font-size: 2rem;
    text-align: center;
    padding-bottom: 2rem;
    text-shadow: 1px 1px 10px #000000;
}

.contactanos a {
    font-size: 1.7rem;
    font-family: var(--fuenteParrafo);
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    color: #000000;
    font-weight: 700;
    margin-right: 1rem;
    text-align: center;
}

.contactanos a i {
    margin-right: 1rem;
}

.formulario {
    padding: 0 2rem 0 2rem;
    width: 100%;
}

.formulario form .campo,
.formulario form textarea {
    width: 100%;
    padding: 1.5rem 1rem;
    font-size: 1.5rem;
    border: 1px solid #000000;
    margin-bottom: 20px;
    border-radius: 3px;
    outline: 0px;    
}

.formulario form textarea {
    max-width: 100%;
    min-height: 14rem;
    max-height: 15rem;
}

.tarjetas {
    width: 100%;
    text-align: center;
    font-weight: 700;
    padding-bottom: 1rem;
    font-size: 1.5rem;
}

.tarjetas i {
    display: inline-block;
    font-size: 5rem;
    padding-right: 2rem;
    padding-bottom: 5rem;
}

@media (min-width: 992px) {
    .contactanos {
        grid-template-columns: repeat(2, 1fr);
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .contacto-textos {
        margin-top: 5rem;
    }

    .contactanos a {
        text-align: left;
        padding-left: 2rem;
    }
      
    .contactanos h3 {
        text-align: left;
        padding-left: 2rem;
    }
    .formulario {
       padding-right: 2rem;
    }
}

.mapa {
    width: 100%;
    height: auto;
}

.mapa h2 {
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center;

}

.mapa iframe {
    width: 100%;
    padding: 2rem 3rem;
}