@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Lora:wght@400;500&display=swap');


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

:root {
    --bordo: #4d000d;
    --crema: #feebde;
    --crema-oscura: #ecddd1;
    --texto: #4d000d;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--crema);
    color: var(--texto);
    font-family: "Lora", serif;
    line-height: 1.25;
}

img {
    display: block;
    max-width: 100%;
}

figure {
    margin: 0;
}


.menu {
    width: 100%;
    height: 70px;
    padding: 14px 0;
}

.menu > div {
    width: 100%;
    height: 100%;
    background-color: var(--bordo);

    border-radius: 0 0 25px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 25px;
}

.menu img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.menu nav ul {
    list-style: none;

    display: flex;
    align-items: center;
    gap: 10px;

    background-color: var(--crema-oscura);
    border-radius: 30px;

    padding: 7px 15px;
}

.menu nav a {
    color: var(--bordo);
    text-decoration: none;

    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 22px;
    text-transform: uppercase;

    padding: 4px 10px;

    transition: opacity 0.2s ease;
}

.menu nav a:hover {
    opacity: 0.6;
}


.presentacion {
    width: calc(100% - 30px);
    min-height: 360px;

    margin: 25px auto 50px;

    padding: 50px;

    background-color: var(--bordo);

    border-radius: 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.presentacion-texto {
    background-color: var(--crema-oscura);

    border-radius: 45px;

    padding: 35px 40px;

    width: 55%;
    min-height: 210px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.presentacion h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(40px, 4vw, 62px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.95;

    margin-bottom: 20px;
}

.presentacion p {
    font-size: 20px;
    max-width: 600px;
}

.presentacion figure {
    width: 30%;
}

.presentacion figure img {
    width: 100%;
    height: 330px;

    object-fit: cover;

    border-radius: 40px;
}


.sobre-mi {
    width: calc(100% - 30px);
    margin: 0 auto 60px;
}

.sobre-mi > h2 {
    display: inline-block;

    background-color: var(--crema-oscura);

    border-radius: 25px;

    padding: 10px 25px;
    margin-bottom: 20px;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
}

.tarjeta,
.tarjeta-artista {
    background-color: var(--bordo);
    border-radius: 35px;
    padding: 20px;
    color: var(--crema);
    overflow: visible;
}

.tarjeta h3,
.tarjeta-artista h3 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 34px;
    font-weight: 800;

    text-align: center;
    text-transform: uppercase;

    margin-bottom: 15px;

    line-height: 0.95;
}

.tarjeta figure,
.tarjeta-artista figure {
    background-color: var(--crema-oscura);

    border-radius: 25px;

    padding: 10px;
}

.tarjeta img,
.tarjeta-artista img {
    width: 100%;

    object-fit: cover;

    border-radius: 20px;
}



.madero {
    width: 32%;
    height: auto;
    min-height: 388px;
}

.madero figure img {
    height: 190px;
    object-fit: cover;
}

.madero h4 {
    color: var(--crema);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 10px;
}

.madero p {
    color: var(--crema);
    font-size: 15px;
    line-height: 1.3;
    margin-top: 5px;
}

.mascotas {
    width: 32%;
}

.mascotas-grid {
    background-color: var(--crema-oscura);

    border-radius: 25px;

    padding: 15px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mascotas-grid figure {
    padding: 0;
    background: none;

    text-align: center;
}

.mascotas-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius: 50%;
}

.mascotas-grid figcaption {
    color: var(--bordo);

    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;

    margin-top: 3px;
}



.tarjeta-artista {
    width: 32%;
}

.tarjeta-artista figure {
    padding: 10px;
}

.tarjeta-artista img {
    height: 270px;
}

.tarjeta-artista figcaption {
    color: var(--bordo);

    font-family: "Barlow Condensed", sans-serif;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;

    margin-top: 5px;
}


.sobre-mi {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-start;
}

.sobre-mi > h2 {
    width: 100%;
}

.sobre-mi > .tarjeta.madero,
.sobre-mi > .tarjeta.mascotas,
.sobre-mi > .tarjeta-artista {
    flex: 1 1 calc(33.333% - 15px);
}


.materias {
    width: 70%;
    margin: 80px auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: start;
}

.materias h3,
.materias h4 {
    display: inline-block;

    background-color: var(--crema-oscura);

    color: var(--bordo);

    border-radius: 25px;

    padding: 10px 20px;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 38px;
    font-weight: 800;

    text-transform: uppercase;
    line-height: 1;

    margin-bottom: 20px;
}

.materias ul {
    list-style: none;
}

.materias-curso ul {
    background-color: var(--bordo);

    color: var(--crema);

    border-radius: 25px;

    padding: 25px;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 30px;
    font-weight: 700;

    text-transform: uppercase;
    line-height: 1.05;
}

.materias-aprobadas {
    background-color: var(--bordo);

    border-radius: 40px;

    padding: 25px;

    color: var(--crema);
}

.materias-aprobadas h4 {
    color: var(--bordo);
    margin-bottom: 20px;
}

.materias-aprobadas ul {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 28px;
    font-weight: 700;

    text-transform: uppercase;
    line-height: 1.05;
}


.equipo {
    width: 70%;
    margin: 60px auto;
}

.equipo h2 {
    display: inline-block;

    background-color: var(--crema-oscura);

    padding: 10px 25px;

    border-radius: 25px;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 40px;
    text-transform: uppercase;
}

.equipo ol {
    background-color: var(--bordo);

    border-radius: 30px;

    padding: 25px 45px;

    color: var(--crema);
}

.equipo a {
    color: var(--crema);

    font-family: "Barlow Condensed", sans-serif;
    font-size: 25px;
    font-weight: 700;

    text-decoration: none;
}


footer {
    width: 100%;

    background-color: var(--bordo);

    color: var(--crema);

    padding: 50px 8%;

    margin-top: 80px;
}

.datos-academicos {
    max-width: 1200px;
    margin: auto;
}

.datos-academicos h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 45px;
    text-transform: uppercase;

    margin-bottom: 30px;
}

.datos-academicos h3,
.datos-academicos h4 {
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
}

.datos-academicos ul {
    list-style: none;
}

.datos-academicos a {
    color: var(--crema);
    text-decoration: none;

    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
}

.datos-academicos img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
}

.disclaimer {
    max-width: 1000px;

    margin: 50px auto 0;
    padding-top: 25px;

    border-top: 1px solid var(--crema-oscura);

    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 900px) {

    .presentacion {
        padding: 30px;
        gap: 30px;
    }

    .presentacion-texto {
        width: 55%;
    }

    .presentacion figure {
        width: 40%;
    }

    .sobre-mi > .tarjeta.madero,
    .sobre-mi > .tarjeta.mascotas,
    .sobre-mi > .tarjeta-artista {
        flex: 1 1 calc(50% - 15px);
    }

    .materias {
        width: 90%;
    }
}



@media (max-width: 650px) {

    .menu {
        height: auto;
    }

    .menu > div {
        padding: 12px 15px;

        flex-direction: column;
        gap: 10px;
    }

    .menu nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu nav a {
        font-size: 18px;
    }


    /* Presentación */

    .presentacion {
        flex-direction: column;

        padding: 25px;

        border-radius: 35px;
    }

    .presentacion-texto {
        width: 100%;
        min-height: auto;

        padding: 25px;

        border-radius: 30px;
    }

    .presentacion h1 {
        font-size: 42px;
    }

    .presentacion p {
        font-size: 17px;
    }

    .presentacion figure {
        width: 100%;
    }

    .presentacion figure img {
        height: 300px;
    }



    .sobre-mi {
        width: calc(100% - 20px);
    }

    .sobre-mi > h2 {
        font-size: 35px;
    }

    .sobre-mi > .tarjeta.madero,
    .sobre-mi > .tarjeta.mascotas,
    .sobre-mi > .tarjeta-artista {
        flex: 1 1 100%;
        width: 100%;
    }


    .materias {
        width: calc(100% - 30px);

        grid-template-columns: 1fr;

        margin-top: 50px;
    }

    .materias h3,
    .materias h4 {
        font-size: 32px;
    }

    .materias-curso ul,
    .materias-aprobadas ul {
        font-size: 25px;
    }



    footer {
        padding: 40px 20px;
    }
}

