* {
    /*elementos se calculen hasta los bordes*/
    box-sizing: border-box;
}

:root {
    --color-textos: rgb(0, 0, 0);
    --color-fondos: rgb(255, 255, 255);
    --color-2: rgb(136, 212, 152);

    --textos: 'Rubik', sans-serif;

}

body {
    margin: 0;
    background-color:var(--color-fondos);
    height: 100vh;
}

/*-----HEADER-----*/

header{
    background-color: var(--color-fondos);
    font-family: var(--textos);
    font-weight: 400;
    padding: 1em;
    margin: 0;
    display: block;
    border-bottom: 1px solid #000000;
}

@media (min-width:640px) {
   
    header .menu {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

    }
}

.contenedora_logo{
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center; 
}

.bajada ul li{
    font-size: small;
    list-style: none;
}

header .menu_inicio {
    display: flex;
    justify-content: end;
}

.menu_inicio li{
    list-style: none;
    padding: 1em;
    margin-right: 1em;
    padding-bottom: 0;
    padding-top: 0;
    border:1px solid #000000
}

header .menu_inicio a{
text-decoration: none;
color: var(--color-textos);
}

header nav li:hover {
    background-color:var(--color-2);
   }


/*-----MAIN-----*/

.nombre {
    font-family: var(--textos);
    font-weight: 400;
}

.yo{
    display: block;
    margin: auto;
}

.nombre{
    display: block;
    margin: 2em;
}

main h1{
    color: var(--color-2);
}

.foto_personal{
    display: block;
    margin: 2em;
}

.conjunto{
    font-family: var(--textos);
    font-weight: 400;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    margin: 2em;

}

.materias{
    display: block;
    border:1px solid #000000;
    width: 300px;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.materias {
    margin: auto;
}


.encurso {
    margin: auto;
    margin-top: 2em;
}

.grupo {
    margin: auto;
    margin-top: 2em;
}

main h3{
    display: block;
    justify-content: center;
    padding-left: 2em;
}


main li{
    list-style: none;
}

.encurso{
    display: block;
    border:1px solid #000000;
    width: 300px; 
}

.grupo{
    display: block;
    border:1px solid #000000;
    width: 300px; 
}
.grupo a{
    text-decoration: none;
    color: var(--color-textos);
}

.titulo{
    font-family: var(--textos);
}


.academicos_contenedora {
    display: block;
    font-family: var(--textos);
    font-weight: 400;
    border: 1px solid #000000;
    margin: 2em;
    padding-left: 2em;
}

.academicos li {
   list-style: none;

}

.academicos ul {
    padding: 0%;
}

.academicos {

    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    padding-right: 2em;
    padding-bottom: 2em;
}

.lista {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.foto_academicos {
   height: 50px;
}

.lista li {
    font-size: small;
    align-items: center;

}

.academicos_contenedora h3{
    padding: 0;
    align-items: center;
    font-size: small;
}


@media (min-width:640px) {
    .presentacion{
        display: flex;
    }  
    
    .materias{
        display: block;
        border:1px solid #000000;
        width: 300px;
        align-items: center;
        justify-content: center;
    }
    
    .conjunto{
        display: flex;
        flex-direction: row;
    }


    .materias {
        margin: 0;
    }
    
    
    .encurso {
        margin: 0;
    }
    
    .grupo {
        margin: 0;
    }

}
    

/*-----FOOTER-----*/

footer {
    border-top: 1px solid #000000;
    background-color:var(--color-2);
    padding-bottom: 1em;

}

footer .menu {
    display: flex;
    list-style-type: none;
    flex-direction: row;
    justify-content: center;
    align-content: center;
}

footer .redeslinks {
    display: flex;
    flex-direction: row;
    justify-content: right;
    margin-right: 2em;

}

footer p {
    display: block;
    font-family: var(--textos);
    font-weight: 400; 
    margin-bottom: 2em;
    margin-left: 2em;
    margin-right: 2em;
    font-size: small;
}

footer .icono {
    height: 50px;
    padding-right: 0.5em;
}

h4{
    font-family: var(--textos);
}

