@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

:root {
    --color-primario: #FF629B;
    --color-secundario: #17202E;
    --color-fondo: #FAFAF7;
    --color-fondo-rosa: #FEEEF5;
    --color-rosa-claro: #FFD8E9;
    --color-texto: #17202E;
    --fuente-textos: "Poppins", sans-serif;
}

body {
    font-family: var(--fuente-textos);
    background: var(--color-fondo);
    color: var(--color-texto);
}

img {
    max-width: 100%;
}

header {
    background: #FFD8E9;
    box-shadow: #B5B5B5;
    padding: 20px;
}

footer {
    background: #FF629B;
    padding: 1.75rem;
}

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

main {
    max-width: 1000px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px 40px;
}
section {
    width: 100%;
}

h1 {
    text-align: center;
    color: #17202E;
    letter-spacing: 0.2em;
    margin-top: 1em;
    margin-bottom: 1em;
}

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

h3 {
    color: #17202E;
    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: #FAFAF7;
    font-weight: 500;
    font-size: 0.95rem;
    background-color: #FF629B;
    padding: 10px 14px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

    .menu li a:hover {
        background-color: #FF629B;
        color: #FAFAF7;
    }

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: 120px;
    margin: auto;
    margin-bottom: 1.5rem;
}

    #logo img {
        width: 300px;
        min-width: 100%;
    }

.logo-normal {
    width: 700px !important;
    max-width: 90%;
    margin: 0 auto 25px;
    display: block;
}
.boton-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 250px;
    max-width: 250px;
    min-height: 240px;
    flex: none;
    padding: 30px 20px;
    background: #fff;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    color: #17202E;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}

    .boton-nav::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 60%;
        height: 100%;
        background: linear-gradient( 120deg, transparent, rgba(255,255,255,.6), transparent );
        transition: .7s;
    }

    .boton-nav:hover::before {
        left: 150%;
    }

    .boton-nav:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 18px 35px rgba(255, 98, 155, 0.25);
    }

    .boton-nav:focus {
        outline: none;
    }

    .boton-nav img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 18px;
        border: none;
        box-shadow: none;
        margin-bottom: 18px;
        transition: transform .4s ease;
    }

    .boton-nav:hover img {
        transform: scale(1.08) rotate(2deg);
    }

    .boton-nav span {
        color: #17202E;
        font-size: 1rem;
        font-weight: 600;
    }

        .boton-nav span:first-of-type {
            color: #FF629B;
        }

.nav-botones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.equipo-botones .boton-nav {
    opacity: 0;
    animation: aparecer-secuencial 0.8s ease forwards;
}

    .equipo-botones .boton-nav:nth-child(1) {
        animation-delay: 1s;
    }

    .equipo-botones .boton-nav:nth-child(2) {
        animation-delay: 1.3s;
    }

    .equipo-botones .boton-nav:nth-child(3) {
        animation-delay: 1.6s;
    }

/* ANIMACIONES */

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

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

/* Animación general del main */

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

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

main > * {
    opacity: 0;
    animation: aparecer-secuencial 0.8s ease forwards;
}

    main > *:nth-child(1) {
        animation-delay: 0.2s;
    }

    main > *:nth-child(2) {
        animation-delay: 0.8s;
    }

    main > *:nth-child(3) {
        animation-delay: 1.4s;
    }

    main > *:nth-child(4) {
        animation-delay: 2s;
    }

    main > *:nth-child(5) {
        animation-delay: 2.6s;
    }

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

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

.intro p {
    color: #17202E;
    line-height: 1.7;
    text-align: left;
    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 .logo-normal {
    width: 700px !important;
}


    .intro img:hover {
        scale: 1.08;
        background: #df5688;
    }

.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);
            background: #df5688;
        }

.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: #df5688;
        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 {
    width: 100%;
    height: auto;
    max-width: 1400px;
    margin: 25px auto 0;
    border: 2px solid #343645;
}

.contenedor-academico {
    background: #FFD8E9;
    border-radius: 25px;
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    margin-top: 30px;
}

.caja-academica {
    width: 280px;
    min-height: 300px;
    padding: 25px;
    background: white;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    transition: .25s;
}
    .caja-academica img {
        width: 90px;
        height: 90px;
        object-fit: contain;
        margin-bottom: 20px;
        background: none;
    }

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

    .caja-academica h4 {
        margin-bottom: 20px;
        font-size: 1.15rem;
    }

    .caja-academica ul {
        width: 100%;
        text-align: left;
        padding-left: 18px;
        line-height: 1.8;
    }

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


/* CELULAR */
@media screen and (max-width: 768px) {
    .boton-nav {
        width: 250px;
        max-width: 250px;
    }
}
/* =========================
   TABLET
   ========================= */
@media screen and (max-width: 820px) {

    .nav-botones {
        flex-direction: column;
        align-items: center;
    }

    .contenedor-academico {
        flex-direction: column;
        align-items: center;
    }

    .caja-academica {
        width: 100%;
        max-width: 550px;
    }
}


