@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');


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

body{
    margin: 0;
    background-color: rgb(255, 255, 255);
    font-family: 'DM Sans', sans-serif;
}

a{
    text-decoration: none;
}

ul,
ol {
    list-style: none;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.contenedora {
    max-width: 75rem;
    margin: 0 auto;
    padding: 1rem;
}

header,
footer {
    background-color: rgba(3, 3, 180, 0.76);
    color: white;
}

/* ----------------
   header
   ---------------- */

header .contenedora{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

#logo {
    background-color: white;
    border-radius: .35em;
    padding: .35em;
    width: 6em;
}

.menu-btn {
    background:rgb(255, 255, 255)
}

.menu-btn,
.menu-fondo {
    border-radius: 50%;
    padding: .75rem;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.menu-btn .btn-linea {
    width: 25px;
    height: 3px;
    margin: 4px 0 4px 0;
    background: black;
    transition: all 0.3s ease-out;
}

header nav ul {
    display: none;
}

header nav ul li {
    min-width: 4em;
    margin: .25em 0 .25em .25em;
}

header nav ul li a {
    background-color: white;
    border-radius: .25em ;
    color:black;
    font-weight: bold;
    padding: .25em .5em;
    text-align: center;
    display: block;
}

header nav ul li a:hover {
    background-color: black;
    color: white;
}

.index header nav ul li:first-child a,
.plan header nav ul li:nth-child(2) a,
.mapa header nav ul li:nth-child(3) a {
    background-color: rgba(255, 255, 255, 0.85);
    color: rgba(3, 3, 180, 0.76);;
}

/* ----------------
   main
   ---------------- */

section {
    padding-bottom: 2rem;
}

section:first-of-type {
    font-size: 1.25em;
}

.titulo {
    margin-bottom: 0.5em;
    padding: .5em;
    color: black;
    font-size: 2em;
    text-align: center;
    min-width: 5em;
    border-radius: 3em;
}

.alumno img {
    border: solid .4em rgba(3, 3, 180, 0.76);
    border-radius: 50%;
    max-width: 70%;
}

article > div {
    min-width: 10em;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.alumno h2 {
    text-align: center;
    padding: 1em;
}

.descripcion {
    text-align: center;
    padding: 0em 0em 2em;
}

.aprobadas, .cursadas {
    text-align: center;
}

.materiasaprobadas{
    padding: 1em;
    text-align: center;
}

.materiasencurso{
    padding: 1em;
    text-align: center;
}

.boton {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.boceto {
    background-color: rgba(3, 3, 180, 0.76);
    border-radius: .25rem;
    color: #ffffff;
    font-weight: bold;
    line-height: 1.25em;
    padding: .125em 1em;
}

.boceto:hover {
    color: rgba(3, 3, 180, 0.76);
    background-color: #ffffff;
}

/*
footer
*/

.academicos > ul > li:not(:last-of-type) {
    border-bottom: solid 1px black;
    padding-bottom: 1.5em;
     margin-bottom: 1.5em;
}

.academicos img {
    width: 8em;
    height: auto;
    display: flex;
    margin: auto;
}

.academicos > ul > li > *:first-child {
    margin-right: 2em;
    width: 8em;
}

.academicos h3 { 
    margin-top: 0; 
}

@media screen and (min-width:640px){
        header nav ul {
            display: flex;
        }
        .menu-btn {
            display: none;
        }
        .academicos > ul > li {
            display: flex;
        }
    
        .academicos > ul > li > div {
            width: calc(100% - 10em);
        }
}

@media screen and (min-width:800px) {
        .alumno h2 {
            width: 100%;
        }
    
        .alumno article div {        
            height: 100%;
        }
        .alumno article div a {
            margin: auto 0 0 auto;
        }
}

@media screen and (min-width:1200px) {
        .alumno article div {
            width: unset;
            margin-top: 1em;
        }
        .alumno article h3 {
            text-align: center;
        }
    
        .academicos > ul {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
        }
        .academicos > ul > li {
            width: calc(33.33% - 2em);
            flex-direction: column;
        }
        .academicos > ul > li:not(:last-of-type) {
            border-bottom: 0;
        }
        .academicos > ul > li > div {
            margin-top: 1em;
            width: unset;       
        }
}    
