@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300..700;1,300..700&display=swap');



body {
    margin: 0; /* Elimina los márgenes predeterminados del navegador */
    padding: 0; /* Elimina los rellenos predeterminados */
    box-sizing: border-box; /* Asegura que el padding y border no aumenten el tamaño de los elementos */
    
    font-family: 'Cormorant Infant', serif;
    font-size: 16px; /* Tamaño de fuente base */
    background-color: white; /* Color de fondo */
    
    line-height: 30px;
    text-align: left; /* Alineación del texto */
    
    display: flex; /* Útil si quieres que el contenido crezca dinámicamente */
    flex-direction: column; /* Organiza el contenido en columnas */
    min-height: 100vh; /* Garantiza que el cuerpo cubra toda la altura de la pantalla */
}


/* Estilos de la parte 1 del header */
header{
    z-index: 1000;
}

.part1 {
    background-color: #03727b;
    font-size: 15px;
    padding: 10px 120px;
}

.part1 a img {
    width: 20px;
    padding-right: 10px;
    height: 20px;
}


.part1 a {
    text-decoration: none;
    color: white;
    display: flex;
    transition: .2s;
    align-items: center;
}

.part1 a:hover{
    transform: scale(1.1);
}

.part1 ul {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}


.part1 .correo {
    padding-left: 40px;
}

.part1 li:last-child {
    margin-right: 0;
}

.part1 .redes {
    display: flex;
    flex-direction: row;
}



.part1 nav {
    display: flex;
    justify-content: space-between;
}

/* Estilos para la parte 2 del header */
header .part2 {
    background-color: white;
    padding: 12px 120px;
}

.part2 img {
    margin: 20px 0;
    width: 400px;
}


.part2 a:has(img)::after {
    display: none;
}


.part2 a:has(button)::after {
    display: none;
}

.part2 a {
    text-decoration: none;
    color: black;
    display: flex;
    align-items: center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
    justify-content: center;
    width: 100%;
    text-align: center;
    line-height: 15px;
    position: relative; /* Necesario para posicionar el ::after */
    padding-bottom: 5px; /* Espacio para la línea animada */
}

.part2 a:hover {
    color: #03727b;
} 

.part2 a::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0;
    height: 4px;
    background-color: #ffa92e;
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateY(52px);
}

.part2 .link_inicio::after {
    transform: translateY(60px);
}

/* Efecto en hover, focus y active */
.part2 a:hover::after,
.part2 a:focus::after,
.part2 a.active::after {
    width: 150%;
}

.part2 a.inicio::after{
    transform: translateY(22px);
}

.part2 a.inicio:hover::after{
    width: 150%;
}

/* Excepción para el enlace de inicio */
.part2 .link_inicio:hover::after,
.part2 .link_inicio.active::after {
    width: 150%;
}

.part2 .link_inicio.active2::after {
    transform: translateY(15px);
    width: 200%;
}



.part2 nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.menu1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.part2 ul {
    display: flex;
    align-items: center;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 80px;
    margin: 0;
    padding: 0;

}


.button{
    font-family: 'Cormorant Infant', sans-serif;
    padding: 10px 70px;
    background-color: #ffa92e;
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    font-weight: 800;
    transition: 0.5s;
    font-weight: 700;
}

.button:hover {
    box-shadow: 0px 0px 10px 0 #0000000c, 0 8px 10px 0 #00000028;
    transform: translateX(-20px);
}



#menu_hamburguesa, .labe_hamburguesa {
    display: none;
}

.footer-logo .mapas iframe{
    padding-right: 70px;
}


/* Estilos para pantallas pequeñas */
@media screen and (max-width: 1500px) {

    .footer-logo .mapas iframe{
        display: block;
        padding-right: 0px;
        padding-top: 20px;
        justify-content: flex-start;
    }

    .part1 nav {
        display: flex;
        flex-direction: column;
        align-items: center; /* Asegura que los elementos estén centrados */
    }
    
    .part1 ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
    }
    
    .part1 .correo {
        padding-left: 0;
    }
    
    .part1 a img {
        width: 18px; /* Ajusta el tamaño de la imagen */
        height: 18px;
    }
    
    .part1 .redes {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 5px;
    }
    
    .part1 .redes img {
        padding-right: 0;
    }
    
    header .part2{
        padding: 0px 0px;
        flex-wrap: wrap;
    }

    .part2 nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative; 
    }
    
    .part2 img {
        margin-top: 0;
    }
    
    .part2 nav ul {
        display: flex;
        list-style: none;
        gap: 5px;
    }
    
    .part2 a {
        display: flex;
        justify-content: center; /* Centra el texto horizontalmente */
        align-items: center; /* Centra el texto verticalmente */
        font-size: 15px;
    }
    
    button {
        margin-top: 5px;
        padding: 6px 50px; /* Ajusta el tamaño del botón */
        font-size: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menu1{
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 100%;
        padding: 20px 0;
    }

    .menu1 img{
        margin: 0;
        padding: 0px;

    }

    .menu1 ul{
        flex-direction: column;
    }

    .menu1 ul img{
        padding-left: 20px;
    }

    .ul_links {
        z-index: 100;
        width: 100%;
        background-color:white;
        position: absolute;
        top: 100px;
        left: 0;
        height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5rem;
        transition: all .3s;
    }


    .ul_links ul .boton{
        margin-top: 0;
    }

    .labe_hamburguesa{
        display: block;
        padding-right: 30px;
    }

    .menu_hamburguesa:checked + .ul_links {
        height: 25vh;
    }

    .list_icon{
        color: #00939c;
        cursor: pointer;
    }

    .part2 a::after {
        display: none;
    }
    
    .button:hover {
        box-shadow: 0px 0px 10px 0 #0000000c, 0 8px 10px 0 #00000028;
        transform: translateX(0px);
    }

}

@media screen and (max-width: 500px) {

    .mapas{
        flex-direction: column;
    }

    .ul_links {
        top: 70px;
    }

.menu1{
    gap: 100px;
}

}

.footer {
    background: #03727b;
    color: white;
    padding:100px 0px 0px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 5px 190px;
    align-items: flex-end;
}

.footer-logo{
    display: flex;
    flex-direction: column;
    position: relative;
}


.footer-logo img {
    width: 500px;
    height: auto;
    margin-bottom: 40px;
}


.redes2{
    border-top: solid 1px white;
    display: flex;
    list-style: none;
    gap: 20px;
    padding-top: 30px;
    width: 300px;
}

.redes2 img{
    width: 30px;
    height: auto;
    transition: .2s;
}

.redes2 img:hover{
    text-decoration: underline;
    transform: scale(1.1);
}

.grupo2{
    display: flex;
    margin: 0;
    padding: 0;
    max-width: 800px;
    align-items: center;
}

.grupo2 h3{
    text-transform: uppercase;
    font-size: 20px !important;
    font-weight: 900;
}


.footer-links {
    text-align: left;
    padding-right: 120px;
    padding-left: 50px;
    padding-bottom: 30px;
}


.footer-links ul {
    padding-left: 0;
    margin: 0;
    list-style: none;

}

.footer-links ul li {
    padding-bottom: 5px;
    font-weight: 300;
    padding-bottom: 16px;

}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    line-height: 25px;
    text-align: left;
    font-size: 20px;
}



.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 350px;
    line-height:20px;
    font-size: 20px !important;
}

.footer-contact h3 {
    text-transform: uppercase;
    font-weight: 900;
}

.footer-contact ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    padding-top: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 8px; /* Espacio entre el icono y el texto */
    padding-bottom: 35px;

}

.footer-contact ul li img {
    width: 20px;
    padding-right: 10px;
    height: auto;
}

.footer-contact ul li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
    display: flex;
    align-items: center;
    line-height: 25px;
    text-align: left;
    font-size: 20px;
}

.footer-contact ul li a:hover{
    text-decoration: underline;
} 



.footer-bottom {
    display: flex;
    margin-top: 20px;
    border-top: 1px solid white;
    padding-top: 10px;
    margin: 20px 190px;
    padding-bottom: 10px;
    font-size: 10px;
    color: white;
    justify-content: space-between;
}

.footer-bottom p, .footer-bottom p2{
    color: white;
    margin: 0;
    font-size: 15px;
}

@media screen and (max-width: 1400px) {
    a{
        text-decoration: none !important;
    }

    .footer-logo .mapas{
        display: flex;
        gap: 50px;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        padding: 30px 0px;
        align-items: center;
    }

    .footer-logo{
        flex-direction: column;
        align-items: center;
    }

    .footer-container .texto{
        text-align: center;
        padding-left: 0px;
    }

    .footer-container .grupo1{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .redes2{ 
        padding-left: 0px;
        align-items: center;
        justify-content: center;
    }
        
    .grupo2{
        padding-top: 20px;
        align-items: center;
        flex-direction: row-reverse;
        gap: 70px;
    }

    .footer-links {
        padding-right: 0px;
        padding-left: 0px;
    }

    .footer-bottom {
        margin: 0px 100px;
        padding-bottom: 40px;
    }


}

@media screen and (max-width: 400px) {

    .part2 .menu1 img {
        height: 30px;
        width: auto;
    }
    

    .footer-container .texto{
        text-align: center;
        padding: 0 30px;
    }

    .grupo2{
        padding-top: 5px;
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }


    .footer-links{
        text-align: center;
        padding: 10px 30px;
    }

    .redes2 img{
        height: 30px;
        width: 30px;
    }

    .footer-bottom {
        margin: 0px 30px;
    }

    .footer-contact {
        align-items: center;
        text-align: center;
        max-width: 100%;
        padding: 0px 50px;
    }

    .footer-contact ul li{
        display: flex;
        flex-direction: column; /* Asegura que los <li> estén en columna */
        align-items: center; /* Centra cada <li> dentro del <ul> */
    }
    
    .footer-logo img {
        width: 300px;
        height: auto;
        margin-bottom: 40px;
    }

    .footer-logo .grupo1 img{
        width: 40px;
        height: auto;
    }
}

