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

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

body {
    background: #ffffff;
    font-family: 'Raleway', sans-serif;
    color: #181818;
}

/* Barra de navegación */

nav {
    width: 100%;
    padding: 1.5rem 2rem; 
    margin-bottom: 2rem; 
    font-size: 1.2rem;
    font-weight: 500;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 1.4rem; 
}

nav ul li {
    list-style: none;
}

nav ul li a{
    text-decoration: none;
}

nav ul li:hover{
    font-weight: 700;
}

header{
    background: #181818;
    color: #ffffff;
    padding-bottom: 5rem;
    width: 100%;
    height: 90vh; 
}

.contenedor-perfil{
    display: flex;
    flex-direction: column;
    justify-content: center; 
    gap: 2rem; 
    align-items: center;
    text-align: center;
    height: 90%;
}

.contenedor-nombre h2 {
    margin-top: 0;
    font-weight: 300;
    font-size: 1.2rem;
}

h1 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    
}

header a{
    color: #ffffff;
}

#mi-avatar {
    width: 10rem; 
    height: 10rem; 
    border-radius: 50%;
    border: 3px solid #ffffff;
}

/* Materias cursadas */

.materias {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.nivel {
    width: 80%;
    padding: 1.7rem 0;
}

.nivel ul {
    text-align: left;
}

.nivel ul li span{
    font-weight: 700;
}

.nivel h3 {
    text-align: center;
    font-size: 2rem;
    padding-bottom: 0.5rem;
}

li {
    list-style: none;
}

hr {
    border: 0;
    border-top: 0.1rem solid #dbdbdb;
    width: 85%;
}

.materias{
    padding-top: 4rem;
}

.materias h2 {
    margin-bottom: 2rem;
}

/*Integrantes*/


.integrantes {
    padding: 1.2rem 0 1.2rem 0;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;
}

.lista {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    padding: 2rem 3rem;
    width: fit-content;
}

.lista li {
    list-style: none;
    padding: 0.9rem;
    border: 1px solid #181818;
}

.lista li a {
    text-decoration: none;
    font-weight: 600;
    color: #000000;
}

.informacion {
    background-color: #e0e0e0;
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}
.informacion article {
    width: 80%;
    text-align: center;
    padding: 1rem 0;
}

.informacion article p{
    text-align: center;
    margin:0;
}


.informacion article a {
    text-decoration: none;
    font-weight: 600;
    color: #000000;
    
}

.informacion img {
    max-width: 200px;
}

/* Footer */

footer{
    text-align: center;
}

footer p{
    color: #8d8d8d;
    font-size: 0.7rem;
    width: 70%;
    margin: 1.2rem auto;
}


/*Desktop*/


@media (min-width:980px) {
    header{
        height: 70vh;
    }
    h1 br {
        display: none;
    }
    .materias {
        justify-content: center;
    }
    .contenedor-niveles{
        flex-direction: row;
        gap: 1rem;
        padding-right: 2rem;
        padding-left: 2rem;
        max-width: 1200px;
    }

    .nivel {
        font-size: 0.8rem;
    }
    hr {
        border-left:0.1rem solid #dbdbdb;
        height:15rem;
        border-top: 0;
        width:0;
    }    
    hr.last {
        display: none;
    }


    .integrantes{
        align-items: center;
        gap: 2rem
    }
    .lista {
        display: flex;
        flex-direction: row;
        justify-content: center;
        list-style: none;
        padding: 0rem;
        width: fit-content;
    }
    .lista li:hover {
        background-color: #181818;
        color: #ffffff;
    }
    .lista li a {
        padding: 0.9rem;
    }
    .lista li a:hover {
        color: #ffffff;
    }

    .informacion article a:hover {
        font-weight: 700;
    }
    .informacion {
        flex-direction: row;
        justify-content: center;
        font-size: 0.8rem;
        line-height: 1.2rem;
        background-color: #e0e0e0;
        padding: 3rem 0;
        margin-bottom: 0;
    }

}
