/*TIPOGRAFÍAS*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:wght@200;300&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:wght@200;300&family=Roboto+Condensed:wght@300&display=swap');

/*JS*/


/* ----
   menu
   ---- */

   nav {
    position: relative; /* para origen de coordenadas de sus elementos hijos */
  }

/* botón "hamburguesa" */
.menu-btn,
.menu-fondo {
  border-radius: 50%;
  padding: .75rem;
  width: 3rem;
  height: 3rem;

  position: fixed; /* fijo, no "scrolea", no genera scroll */
  top: 1rem; /* emplazamiento */
  right: 1rem; /* emplazamiento */
  z-index: 9000; /* en capa superior */
  cursor: pointer;
  transition: all 0.3s ease-out; /* anima el "hover" */
}

/* fondo del botón "hamburguesa" */
.menu-fondo {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: -5px 5px 5px rgba(0, 20, 20, 0.2);
  z-index: 8000; /* capa superior, pero abajo del menu ppte dicho */
  
}

/* cuando "nav" tiene la clase "menuVisible" */
.menuVisible .menu-fondo {
  background: rgb(40, 167, 184);
  /* transform: scale(2000%); */
  width: 200vw;
  height: 200vw;
  right: -100vw;
  top: -100vw;
}

/* cada barra de la "hamburguesa" */
.menu-btn .btn-linea {
  width: 25px;
  height: 3px;
  margin: 4px 0 4px 0;
  background: black;
  transition: all 0.3s ease-out;
  position: relative; /* capa superior, pero no parece */
  z-index: 9000; /* capa superior */
}

/* cada barra, transformacion para formar la "X" */
.menuVisible .menu-btn .btn-linea {
  transform: rotate(180deg);
  ;
}
/* Las tres barras para formar la "X" */
.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 4px transparent;
  color: black;
  display: block;
  font-size: 1.5rem;
  margin-bottom: .5rem;
 /* 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;
}



/*MOBILE FIRST*/
/*header*/

body {
    background-color: rgb(245, 155, 170);

    
}

 p{
    font-family:"noto sans display";
    font-weight: 700;
}

ul {
    list-style:black;
    font-family:"noto sans display";
    font-weight: 700;
}

a{
    text-decoration: none;
    color: black ;
}

h1{
    color: white;
    font-size: 2em;
    
}
.titulo{
    font-family: "roboto";
    color: black;
}

img{
    border: solid .4em white;
    border-radius: 50%;
    max-width: 100%;
    height: auto;
    display: block;
}

    
#logo{
    max-width: 5em;
    margin: 0
}
header{
    max-width: 100%;
    height:auto;

}

header nav{
    background-color: burlywood;
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	
}

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

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

.btn-linea {
    width: 25px;
    height: 3px;
    margin: 4px 0 4px 0;
    background: white;

}

nav ul li a:hover{
    color: black;
    background-color: rgb(221, 52, 80);
    font-family: sans-serif;
    
}


/*main*/


h2{
    margin: 1em, auto, 1em, auto;
    color:white;
    background-color:rgb(221, 52, 80);
    padding: .5em;
    border-radius: .40em;
    font-size: 1.2em;
    font-weight: 400;
    display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
    font-family:"noto sans display";
    
}

h3 li {
    color: white;
    margin: 1em, 1em, 1em, 1em;
    font-family:"noto sans display";
    
}

.estudiante img{
        border: solid .4em white;
        max-width: 100%;
    }
    
.estudiante{
        background-color:rgb(224, 173, 182);
        padding: 1em;
        margin: 1em 0 0 0;
        border-radius: .40em;
        display: flex;
	    flex-direction: column;
	    flex-wrap: nowrap;
	    justify-content: center;
}

/*footer*/
 
footer .contenedora{
    background-color: rgb(221, 52, 80);
    color: white;
    margin: 1em, auto, 1em, auto;
    padding: 1em;
    border-radius: .40em;
    }

    footer p{
        font-weight: 500;
    }


.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;
       font-family:"noto sans display";
    }
    
    .logos img{
        height: 4em;
        width: 100%;
        margin: 1em 0;
        border-radius: 0%;
        border: none;
    }












/* REGLAS PARA DISPOSITIVOS DE ESCRITORIO */

/* ESCRITORIO PEQUEÑO/ TABLET */

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

    .menu{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .menu-btn{
        display: none;
    }
    
    body{
        background-color:  rgb(238, 197, 204);
        display: flex;
	   flex-direction: column;
	   flex-wrap: nowrap;
	   justify-content: center;
     }    


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

    .menu{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    background-color: rgb(221, 52, 80);
    visibility: visible;
    opacity: 100%;
    position: inherit;  
    text-align: center;
    }

    header nav{
        background-color:rgb(221, 52, 80);

    }

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

    header ul li a {
        background-color: rgb(40, 167, 184);
        color: white;
        box-shadow: 1px 1px 1px 1px;
        font-weight: 400;
        font-size: 20px;
        margin: 0;  
        cursor: pointer;
        text-align: center;
        border-radius: 0.40em;
       }
  a{
    font-family: sans-serif;
  
  }



.estudiante {
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	
}


    main{
        background-color:rgb(238, 197, 204);
        margin: auto;
    
    }

    h1{
        margin: 1em, auto, 1em, auto;
        text-align: center;
    }

   .estudiante h2 ul li{
        font-weight: 900;
    }

 footer .contenedora{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    background-color: rgb(221, 52, 80);
    color: white;
    margin: 1em, auto, 1em, auto;
    padding: 1em;
    border-radius: 3em;
 }

 /*datos academicos*/

 .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{
    height: 4em;
    margin: 1em 0;
    border-radius: 0%;
    border: none;
}
.logos div {
    display: block;
}

}