@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Handlee&family=Oswald:wght@200..700&family=Roboto+Slab&display=swap');

*,
*::after,
*::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --color-primario: #355f7a;
    --color-secundario: #344535;
    --color-tercero: #c6e4f7;
    --color-fondo: #355f7a;
    --color-fondo-encabezado: #35757a;
    --color-texto: #ffffff;
    --fuente-textos: "Handlee", cursive;
}

body {
    font-family: "Handlee", cursive;
    font-weight: 400;
    font-style: normal;
    margin: 0 auto;
    color: #fff;
}

img {
    max-width: 100%;
}

header {
    background-color: #35757a;
    padding: 1.75rem;
    box-shadow: 0 4px 8px #344535;
    margin-bottom: 2rem;
}

footer {
    background-color: #35757a;
    padding: 1.75rem;
}

    footer p {
        color: #fff;
        font-size: .8em;
        text-align: justify;
    }

main {
    background-color: #355f7a;
    padding: 5px 50px 25px 50px;
}

h1 {
    text-align: center;
    color: #ffffff;
    letter-spacing: 0.2em;
    margin-top: 1em;
    margin-bottom: 1em;
    text-shadow: #1b313e 0em 0.1em 0.1em;
}

h2 {
    color: #ffffff;
    text-align: center;
    margin: 1em;
    text-shadow: #1b313e 0em 0em 0.1em;
}

h3 {
    color: #ffffff;
    margin-top: 1em;
    margin-bottom: 1em;
    letter-spacing: 0.2em;
    text-shadow: #1b313e 0em 0.1em 0.1em;
}

h5 {
    margin-top: 25px;
}

.menu li a {
    text-decoration: none;
    color: #c6e4f7;
    font-weight: bold;
    font-size: 0.9rem;
    background-color: #355f7a;
    padding: 8px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .menu li a:hover {
        background-color: #343645;
        color: #ffffff;
    }

nav {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
}

    nav ul {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

        nav ul li {
            width: 120px;
            text-align: center;
            list-style: none;
        }

#logo {
    width: 140px;
    margin: auto;
    margin-bottom: 1.5rem;
}

    #logo img {
        width: 140px;
        min-width: 100%;
        display: block;
    }

/* ANIMACIONES */

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

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


.intro h1 {
    opacity: 0;
    animation: aparecer 1s ease forwards;
}

.intro h2 {
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 0.5s;
}

.intro p {
    text-align: justify;
    margin-top: 1em;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    transition: transform 0.8s ease-in-out;
    animation-delay: 1.5s;
}

.intro img {
    width: 180px;
    margin: auto;
    display: block;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 1s;
    transition: transform 1s ease;
}

    .intro img:hover {
        scale: 1.08;
    }

.rotulos_individuales {
    max-width: 75em;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    animation: aparecer 1s ease forwards;
    animation-delay: 2s;
}

    .rotulos_individuales p {
        margin-top: 12px;
        margin-bottom: 25px;
    }

    .rotulos_individuales img {
        width: 180px;
        max-width: 75em;
        margin: auto;
        border-radius: 0.25em;
        border: solid 3px #efefef;
        box-shadow: 5px 5px 5px #7474747a;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        transition: transform 0.3s ease, border-color 0.3s ease;
    }

        .rotulos_individuales img:hover {
            border: solid 3px #60d7e0;
            transform: scale(1.08);
        }

.fotosindividuales {
    display: inline-block;
    text-decoration: none;
    color: #c6e4f7;
    font-weight: bold;
    font-size: 0.9em;
    background-color: #35757a;
    padding: 5px 20px;
    border-radius: 10px;
    margin-top: 10px;
    transition: all 0.5s ease;
}

    .fotosindividuales:hover {
        background-color: #6ce8f1;
        color: #ffffff;
    }


.datos_académicos img {
    display: block;
    width: 100px;
    margin-top: 3px;
    object-fit: contain;
    padding: 0.5rem;
    background-color: #c6e4f7;
}

.datos_académicos ul {
    margin-top: 12px;
    margin-bottom: 25px;
    list-style: none;
}

.contenido img {
    margin: 25px auto 0;
    border: 2px solid #343645;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

.contenedor-academico {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 25px;
    margin-top: 25px;
}

.caja-academica {
    width: 100%;
    max-width: 550px;
    padding: 25px;
    border-radius: 15px;
    background-color: #35757a;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    transition: transform 0.4s ease;
}

    .caja-academica:hover {
        transform: translateY(-5px);
    }

    .caja-academica img {
        display: block;
        width: 90px;
        margin: 0 auto 15px;
        background-color: #c6e4f7;
        padding: 10px;
    }

    .caja-academica h4 {
        text-align: center;
        margin-bottom: 15px;
        color: #ffffff;
    }

    .caja-academica ul {
        list-style: none;
        line-height: 1.7;
    }

    .caja-academica li {
        margin-bottom: 8px;
    }


