@charset "utf-8";

/* *** "reseteo" *** */

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

body {
    font-family: sans-serif;
    background-color: rgb(255,253,197)
}

h2,
h3,
h4,
p { margin-bottom: 1em; }

a { text-decoration: none; }

ul {
    list-style: none; 
}

img {
    max-width: 300px;
}

.contenedor {
    max-width: 50rem;
    margin: auto;
}

header,
footer {
    background: rgb(65,159,0);
    border-radius: 0.30em;
    margin: 1rem;
}

/* *** encabezado *** */

header { 
    box-shadow: 0 5px 3px rgba(0, 0, 0, 0.30);
}

header .contenedor {
    display: flex;
    justify-content: center;
}

/* *** menu *** */

header nav ul {
    display: flex;
    margin: .5em;
}

header nav ul li {margin: .25em;}

header nav ul li a {
    background-color: rgb(114,203,16);
    border-radius: .30em ;
    color: white;
    font-weight: bold;
    padding: .30em;
    text-align: center;
    display: block;
}

header nav ul li a:hover {
    background-color: white;
    color: rgb(114,203,16);
}

/* *** cuerpo principal *** */

main { padding: 1em }

.titulos {
    margin: 1em 0 1em;
    text-align: center;
    color: rgb(50,102,7);
}

/* sección alumno */

.alumno img {
    width:180px;
    border:solid .25em rgb(114,203,16);
    border-radius:90px;
}

.alumno {
    text-align: center;
}

.alumno h2 {
    margin-top: .5em;
    margin-bottom: .25em;
    color: rgb(114,203,16);
    font-size: 28px;
}

.alumno p {
    font-size: 18px;
    font-weight: bold;
    color: rgb(50,102,7);
}

/* section materias */

#materias {
    display:flex;
	justify-content: center;
 }

#materias div {
    padding: .5em .8em;
    margin: .3em .5em 0;
}

#materias li {
    margin-bottom: 2em;
}

#materias p {
    text-align: center;
    font-size: 12px;
}

.materia {
    color: rgb(65,159,0);
    font-weight: bold;
}

.nivel {
    text-align: center;
    border-radius:0.30em;
    border:2px solid rgb(50,102,7);
}

/* sección comitente */

#logoacumar {
    width: 200px;
    display: flex;
    margin: auto;
}

.comitente p {
    text-align:center;
    font-size: 14px;
    margin: 1.5em 0 1.5em;
   
}

.botones a {
    font-size: 13px;
    background: rgb(171,234,115);
    color: rgb(50,102,7);
    border-radius: 0.30em;
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
    padding: .5em;
    margin: 0 0 .5em;
}

.botones a:hover {
    background: rgb(65,178,0);
    color: white;
}

/* sección alumnos */

#perfiles {
    display: flex;
    text-align: center;
    justify-content: center;
}

.alumnos img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border:3px solid rgb(114,203,16);
    margin: 0 1.5em 1em;
}

.alumnos p {
    font-size: 14px;
    font-weight: bold;
    color: rgb(50,102,7);
}

/* sección datos académicos */

.academicos {
    background-color: rgb(169,225,89);
    border-radius: 0.30em;
    justify-content: center;
    padding: 1em;
    font-size: 12px;
    margin-top: 1em;
}

.academicos > ul > li {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

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

.academicos h4 {
    margin-top: 1em;
}

.academicos img {
    width: 170px;
    height: auto;
    margin-bottom: 1.5em;
}

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

.academicos h3 { margin-top: 0; }

.destacados {
    font-weight: bold;
}

/* footer */

footer {
    text-align: center;
    font-size: 10px;
    color: white;
    padding: 1rem;
}

@media screen and (min-width: 768px){
    .alumno h2 {
        font-size: 30px;
    }
    .alumno p {
        font-size: 20px;
    }
    #materias p {
        font-size: 14px;
    }
    #logoacumar {
        width: 300px;
    }
    .comitente p {
        font-size: 16px;
    }
    .botones a {
        font-size: 15px;
    }
    .alumnos img {
    width: 120px;
    height: 120px;
    margin: 0 4em 1em;
    }
    .alumnos p {
        font-size: 16px;
    }
    .academicos {
        font-size: 14px;
    }
    footer {
        text-align: center;
        font-size: 12px;
        color: white;
        padding: 1rem;
    }
}