@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');


body {
    font-family: "Lora";
    background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    text-align: center;
}

header{
    display: flex; 
    justify-content: right;
    padding: 2% 2% 0% 2%;
    margin-bottom: 0%;}

header .foto-nombre-header {
    display: none;
}

header p{
    padding-top: 2.5%;
    font-weight: 700;
    font-style: italic;
    font-size: large;
    }
header nav ul{
    list-style-type: none;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0%;}
header nav ul li{
    padding: 2% 2%;}
header nav ul li a {
    text-decoration: none;
    color: black;}
.menu-gral{
    text-decoration: none;
    color: black;}

.foto-nombre {
    max-width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-bottom: -5%;
    }

.Foto img {
    width: 30%;
    border-radius: 50%;
}

.Logo {
    width: 35%;
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    margin: -3% 30% -3% 32.5%;
}
.Logo img {
    max-width: 100%; /* Asegura que la imagen no se desborde del contenedor */
    height: auto;
    margin-top: -10%;
}
.year-section {
    display: flex;
    flex-direction: column;
    margin: 10px;
}
section { padding: 10px;}
.materias-por-año{
    display: inline-block;
    background-color: #eeeeee;
    padding: 1px;
    text-align: center;
    border: 1px solid rgba(218, 218, 218, 0.2);
    width: 250px;
    height: 250px;
    vertical-align: middle;
    margin: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 2px rgba(51, 51, 51, 0.7);
}
ul {
    font-style: italic;
    list-style-type: none;
    padding: 0;
    
}
li {
    margin-bottom: 5px;
    font-size: 14px;
}
article{
    display: block;
    unicode-bidi: isolate;
}
h3{
    font-family: "Lora";
    text-align: center;
    display: grid;
    padding-bottom: 10px;
    font-weight: 300;
    font-size: 90%;
}
h2, h3, li {
    margin: 0; 
    font-family: "Lora";
    color: #000000;
}

footer {
    padding: 20px 40px;
    font-style: italic;
    color:#979797;
}

h2 {padding-top: 5%;
    padding-bottom: 0%;
    font-weight: 700;
    font-style: italic;
}
.integrantes {
    display: flex;
    align-items: center;
    gap: 20px; /* Espaciado entre los elementos */
    justify-content: center; 
    padding-top: 2%;
    padding-bottom: 5%;
}

.miembro {
    text-align: center;
    margin: 0; 
}
.miembro a{
    text-decoration: none;
    font-style: italic;
}
.miembro img {
    width: 100px; 
    height: 100px; 
    border-radius: 50%; 
}
.miembro h3 {
    margin: 0; 
}

.carrera h1 {font-family: "moret", serif;
    font-weight: 300;
    font-style: italic;
    padding: 2rem;
    }

nav.menu-hamburguesa{display: none;}

@media (max-width: 40rem) {
    
    header .menu-gral{display: none;}
    header .foto-nombre-header {
        display: flex;
        align-items: center;}
    header .Foto-header img {
        width: 60%;
        border-radius: 50%;}
    header .Foto-header {
        max-width: 50%;
        margin: 0% -3%;
    }
    header .Logo-header img{
        width: 100%;
        margin-bottom: -22%;}
    header .Logo-header{
        display: flex;
        flex-direction: column;}
    header .Logo-header h1{font-family: "moret", serif;
        padding: 0.5rem;
        font-weight: 200;
        font-style: italic;
        font-size: medium;
    }

    nav.menu-hamburguesa {margin: 0.5rem; display: block;}
    nav.menu-hamburguesa ul{list-style-type: none;
        font-style: italic;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0%;
    }
    nav.menu-hamburguesa ul li{padding: 2%;}
    nav.menu-hamburguesa ul li a {text-decoration: none;
        color: black;}
    section {
        display: flex;
        justify-content: center;
        align-items: center; 
        padding: 0%;
    }
    .carrera h1{
        max-width: 60%;
        margin: 0%;
        padding: 1rem;
    }
    .carrera{
    display: none;
    }
    .foto-nombre{
        display: none; /*AGREGAR .FOTO-NOMBRE-HEADER*/
    }
    .integrantes {
        padding: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .miembro {
        display: inline-block; /* Muestra los elementos uno al lado del otro */
        margin-right: 1rem;
        white-space: normal; /* Restablece el comportamiento de salto de línea */
    }
    .contenedor-materias {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
    }
    .materias-por-año{
            margin: 1rem;
    }
}  
