{@media (min-width:168px) and (max-width:1260px)}
@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

/*primera parte de css para celulares, mobile first*/

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

body {
    font-family: 'Montserrat', sans-serif;
    /*font-size: 1em;*/
    color: #53787d;
    background-color:#eee7da;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* centrado en la horizontal */
    justify-content: space-between;
}

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

h1 {
   font-weight:700; 
   font-size: 1.6em;
   text-transform: uppercase;
   letter-spacing: .05em; 
}

h2 {
   font-weight:700;   
   font-size: 1.3em;
}

h3 {
  font-style: italic;
  font-size: 1em;
}

header .contenedora {
    display: flex;
    /* centrado en la horizontal */
    justify-content: center;
    /* centrado en la vertical */
    align-items: center;
}

.contenedora {
    margin: auto;
    max-width: 15rem;
}

header ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin-top: 2em;
}

header ul li {
    width: 4.5em;
    height: 2.5em;
    display: flex;
    margin: .2em;
    margin-bottom: .5em;
}

header ul li a {
    width: 100%;
    height: 100%;
    background-color: #53787d;
    color: #eee7da;
    text-decoration: none;
    font-weight:500;
    display: flex;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
    /* centrado en la horizontal */
    justify-content: center;
    /* centrado en la vertical */
    align-items: center;
    font-size: .9em;
}

main {
    font-size: 1em;
    /* crece para "llenar" la caja contenedora */
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 2em;
    text-align: center;
}

.links {
    list-style: none;
    
}

.estudiante {
    margin: auto;
    text-align: center;
    max-width: 20em;
}

.estudiante img {
    border-radius: 50%;
    width: 50vw;
    height: 50vw;
    max-width: 12em;
    max-height: 12em;
    margin-bottom: 1em;
}

.estudiante div {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: .5em;
}

.estudiante div img{
    width: 15vw;
    height: auto;
    max-width: 4em;
    max-height: 4em;
    margin-left: .5em;
    margin-right: .5em;
    margin-bottom: inherit;
   
}

.materias {
    margin: auto;
    text-align: center;
    max-width: 20em;
    color: #53787d;
    word-spacing: 0.05em; /*ver si está bien el valor*/
    line-height: 1.5em; /*ver si está bien el valor*/
}
.materias ul {
    list-style: none;
    
}
.materias h2{
    font-weight:500;
    background-color: #53787d;
    color: #eee7da;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-bottom: .5em;
    margin-top: 1em;
    padding: 0.3em;
}

aside{
    display:inline;
    flex-wrap: nowrap;
    flex-direction: column;
    line-height: 2em; /*ver si está bien el valor*/
    padding: 2em;
    padding-left: 2.5em;
    background-color: 
}

aside h3 {
    display: inline;
    
}

aside img { /*no se por q me quedan tan chiquitos los logos*/
    width: 12em;
    height: auto;
    max-width: 10vw;
    max-height: 10vw; 
}

footer {
    color: #eee7da;
    background-color: #53787d;
    padding: 2em;
    padding-left: 4em;
    font-size: 0.6em;
    font-style: italic;
}

/* desde un ancho de 600px*/
@media all and (min-width:600px) {
   
    header ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    }
    
    .estudiante img {
        max-width: 15em;
        max-height: 15em;
    }
    
    h1 {
   font-weight:700; 
   font-size: 1.8em;
   text-transform: uppercase;
   letter-spacing: .05em; 
   }
    
    header ul li a {
        font-size: .9em;
}
    
     main {
         text-align: left;
         font-size: 1.2em;
}    
}
/* desde un ancho de 1200px*/
@media all and (min-width:1200px) {

   header ul {
    list-style: none;
    display: flex;*/
    flex-wrap: nowrap;
    margin-top: 2em;
    }

header ul li {
    width: 5em;
    height: 3em;
    display: flex;
    margin: .2em;
    margin-bottom: 3em;
    }
    
    header ul li a {
        font-size: 1em;
}
    
    main {
         font-size: 1.2em;
         text-align: left;
}    
}
    