@charset "utf-8" ;

body{
    background-color: rgb(111, 150, 221);
    font-family: 'Montserrat', sans-serif;
    font-family: 'Open Sans', sans-serif;
}

nav {
    position: relative; 
  }

.menu-btn,
.menu-fondo {
  border-radius: 50%;
  padding: .75rem;
  width: 3rem;
  height: 3rem;

  position: fixed; 
  top: 1rem; 
  right: 1rem; 
  z-index: 9000; 
  cursor: pointer;
  transition: all 0.3s ease-out; 
}

.menu-fondo {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: -5px 5px 5px rgba(0, 20, 20, 0.2);
  z-index: 8000; 
  
}

.menuVisible .menu-fondo {
    background: rgb(221, 181, 181);
    
    width: 200vw;
    height: 200vw;
    right: -100vw;
    top: -100vw;
  }
  
  
  .menu-btn .btn-linea {
    width: 25px;
    height: 3px;
    margin: 4px 0 4px 0;
    background: black;
    transition: all 0.3s ease-out;
    position: relative; 
    z-index: 9000; 
  }
 
  .menuVisible .menu-btn .btn-linea {
    transform: rotate(180deg);
    ;
  }

  .menuVisible .menu-btn .btn-linea:nth-child(1) {
    transform: rotate(45deg) translate(4px, 6px);
  }
  .menuVisible .menu-btn .btn-linea:nth-child(2) {
    opacity: 0;
  }
  .menuVisible .menu-btn .btn-linea:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -6px);
  }

/* menú propiamente dicho */
nav ul {
    position: absolute; /* sale del fondo */
    right: 1rem; /* emplazamiento */
    top: calc(100% + 4rem); /* emplazamiento */
    opacity: 0; /* transparente */
    visibility: hidden; /* no se ve */
    z-index: 9999; /* capa superior, arriba de todo */
    transition: all .5s ease; /* anima cuando "nav" NO tiene la clase "menuVisible" */
  }
  
  .menuVisible ul {
    visibility: visible; /* se ve */
    opacity: 100%; /* opaco */
    transition: all .5s .2s ease; /* anima cuando "nav" tiene la clase "menuVisible" */
  }
  
  /* cada vínculo del menu */
  nav ul li a {
    border-bottom: solid 1px transparent;
    color: white;
    display: block;
    font-size: 1.2rem;
    margin-bottom: .3rem;
   /* width: min(40vw, 15rem); /* el valor menor entre el 40% del ancho de la ventana del navegador y 240px */
    text-align: right;
    padding: .5rem;
    text-decoration: none;
  }
  
  nav ul li a:hover {
    border-bottom: solid 4px rgba(255, 255, 255, 0.5);
    transition: all .3s;
  }

ul{
    list-style: circle;
}

h1{
    color: rgb(55, 87, 145);
    font-size: 3em;
    margin: .4em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

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

h2{
    color: rgb(0, 60, 151);
    margin: .4em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    
}


.estudiante{
    border-radius: .60em;
    background-color: rgb(206, 225, 250);
    padding: 1em;
    margin: 1em 2em 0 2em;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
}

article{
    width: 354px;
}

figure{
    margin: 1em;
}

li{
    color: rgb(16, 35, 59);
}


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

footer p{
    padding: 1.5em;
    background-color: rgb(206, 225, 250);
    color: rgb(42, 88, 158);
    margin: 2em 2em 2em 2em;
    border-radius: .60em;
}

.contenedora ul li a{
    color: rgb(55, 87, 145);
    display: block;
    background-color: rgb(206, 225, 250);
    max-width: 15em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin: 0 auto;
    padding: 0.75em 3em;
    text-align: center;
    text-decoration: none;
    border-radius: .6em;
}

.contenedora ul li {
    display: inline-block;
    padding: 0.5em;
}

.contenedora ul li a:hover {
    background-color: rgb(31, 31, 138);
    color: rgb(182, 43, 43);
    cursor: pointer;
}

.materia{
    list-style: circle;
}

.logos ul li {
    margin: 1em 1em 3em 0em;
    padding: 0 0 0 1em;
    display: flex;
   flex-direction: column;
   flex-wrap: nowrap;
   justify-content: flex-start;
}

.logos img{
    height: 4em;
    margin: 1
}

.academicos{
    background-color: rgb(221, 181, 181);
    padding: .4em;
    margin: 2em 2em 0 2em;

}

.academicos h2{
    color: rgb(182, 43, 43);
    margin: 2em;
    padding: 1;
}

h3{
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; 
}

@media screen and (min-width: 768px){

    .menu-btn{
        display: none;
    }
    
    header nav ul{
        display: flex;
        list-style-type: none;
    }

    .menu{
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-around;
    visibility: visible;
    opacity: 100%;
    position: inherit;  
    }


    header ul li {
        display: inline-block;
        padding: 2em;
    }

    header ul li a {
        background-color:white;
        color: black;
        box-shadow: 1px 1px 1px 1px;
        font-weight: 400;
        margin: 0;
        padding: -3.1em;    
        cursor: pointer;
        text-align: center;
       }

       
    body{
        display: flex;
        flex-direction: column;
        background-color: rgb(156, 196, 247);
    }
    .logos ul {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        margin: 0 0 0 1em;
    }

    .logos ul li {
        margin: 1em 1em 3em 0em;
        padding: 0 0 0 1em;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }


    .logos img {
        text-align: center;
        height: 4em;
        margin: 1em 0;
    }
    .logos div {
        display: block;
    }

    .estudiante{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
}