/* Tipográfía desde Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;700&display=swap');

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

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: sans-serif;
  min-height: 100vh;
}

header,
footer {
  background-color: hsl(0, 28%, 66%);
  color: hsl(0, 0%, 100%);
  padding: 0.5em;
}

header {
  box-shadow: 0 4px 2px #0000003f;
  position: sticky;
  top: 0;
  z-index: 8000;
}

main {
  background-color: hsl(0, 75%, 94%);
}

img {
  max-width: 100%;
  margin: 0 0 0 0;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contenedora {
  max-width: 75em;
  margin: 0 auto;
}

.rotulos_individuales {
  max-width: 75em;
  margin: 0 auto;
}

.academicos {
  max-width: 75em;
  margin: 0 auto;
}



/*HEADER---------------------------*/

header .contenedora {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1em auto 1em auto;
  max-width: 90%;
}

#boton-nav {
  background-color: transparent;
  border: none;
}

#botonNav img {
  width: 100%;
}


nav ul li a:hover {
  background-color: hsl(1, 72%, 87%);
  border: solid 3px hsl(0, 75%, 94%);
  color: hsl(0, 28%, 66%);
}


.titulos {
  display: block;
  margin: 2em auto 2em auto;
  padding: 1em;
  border-left: solid 10px hsl(348, 51%, 61%);
  background-color: hsl(1, 33%, 70%);
  color: hsl(0, 75%, 94%);
  font-weight: bold;
  font-size: 18px;
  border-radius: 0.25em;
  box-shadow: 4px 3px 6px hsl(1, 33%, 70%);
  max-width: 90%;
  text-align: left;
}

.img-logo {
  height: 4em;
  margin: 0.5em;
  background-color: hsl(0, 75%, 94%);
  padding: 0.5rem;
  border-radius: 0.5rem;
  box-shadow: 4px 3px 6px hsla(0, 48%, 79%, 0.89);
}

/*MENU ----------------------------------*/

nav {
  position: relative;
}

.menu-btn,
.menu-fondo {
  border-radius: 0.5em;
  padding: 1em;
  width: 3.5em;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all 0.3s ease-out;
  position: fixed;
  top: 1em;
  right: 1em;
  z-index: 9000;
}

.menu-fondo {
  background: #cc9a99ce;
  z-index: 8000;
}

.menuVisible .menu-fondo {
  background: #cc9a99ce;
  width: 45vw;
  height: 200vw;
  inset: 0vw 0 auto auto;
  border-radius: 0em;
}

.menu-btn .btn-linea {
  width: 25px;
  height: 3px;
  margin: 4px 0 4px 0;
  background: #ffffff;
  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);
}

nav ul {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  right: 0.25em;
  top: calc(100% + 4rem);
  z-index: 9999;
  transition: all .5s ease;
}

.menuVisible ul {
  visibility: visible;
  opacity: 100%;
  transition: all .5s .2s ease;
}

nav ul li a {
  display: block;
  color: #ffffff;
  margin-block-end: .5em;
  width: min(40vw, 15rem);
  text-align: center;
  padding: 1em 0.5em 1em 2em;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

nav ul li a:hover {
  background-color: #ffffff;
  transition: all .3s;
}

/*PERFIL -----------------------------------*/

.parrafos {
  max-width: 90%;
  margin: 1em auto 0em auto;
  padding: 1em;
  box-shadow: 5px 5px 5px #cc9a99;
  background-color: #fad7d6;
  border-radius: 0.25em;   
}

.parrafos p {
  margin: 0.5em auto 0em auto;
}

.foto_mica {
  max-width: 90%;
  margin: auto;
  padding: 1em;
  background-color: #ce697d;
  border-radius: 0.25em;   
  box-shadow: 5px 5px 5px #cc9a99;
}

.saludo {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight:800;
}

.nombre {
  font-size: 80px;
  margin-bottom: 5px;
  color: #ce697d;
}

/*BOCETO
---------------------------------------------*/

.comitente1 {
  text-align: center;
  border: solid 3px hsl(0, 28%, 66%);
  max-width: 90%;
  margin: 2em auto 0em auto;
  padding: 0.5em;
  background-color: hsl(2, 75%, 91%);
  border-radius: 0.25em;
  box-shadow: 5px 5px 5px #cc9a99;
}

a {color: hsl(0, 28%, 66%);
  font-weight: bold;
}

a:hover {color: hsl(348, 51%, 61%);
text-decoration: solid;}

.comitente1:hover {
  background-color: hsl(1, 72%, 87%);
  border: solid 3px hsl(348, 51%, 61%);
}

/*HISTORIA ACADÉMICA
----------------------------------------------*/

.materias_cursadas {
  max-width: 90%;
  margin: 2em auto 2em auto;
  padding: 0em 0em 2em 0em;
  background-color: hsl(1, 72%, 87%);
  border-radius: 0.25em;
  box-shadow: 5px 5px 5px hsla(1, 33%, 70%);
}

section h2 {
  text-align: center;
  padding: 0.5em;
  margin: 0em auto 0em auto;
  color: hsl(2, 74%, 91%);
  background-color:hsl(348, 51%, 61%);
  border-radius: 0.25em
}

h4 {
  padding: 1em 0em 0em 0em;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  color: hsl(1, 33%, 70%);
  
}


section div div ul{
  margin: 1em auto 0em 3em;
  padding: 0 0 0 1em;
  border-left: solid 10px hsl(348, 51%, 61%);
}

.materias_cursando {
  max-width: 90%;
  margin: 2em auto 2em auto;
  padding: 0em 0em 2em 0em;
  background-color: hsl(1, 72%, 87%);
  border-radius: 0.25em;
  box-shadow: 5px 5px 5px hsla(1, 33%, 70%);
}

section section ul{
  margin: 2em auto 0em 3em;
  padding: 0 0 0 1em;
  border-left: solid 10px hsl(348, 51%, 61%);
}



/*EQUIPO JT41 -------------------------------------------*/

.contenedora_3 ul li {
  display: block;
  max-width: 90%;
  margin: 2em auto 0em auto;  
  box-shadow: 5px 5px 5px hsla(1, 33%, 70%);
  padding: 1em;
  text-align: center;
  border-radius: 0.25em;  
  background-color: hsl(0, 60%, 83%);
}

.rotulos_individuales img {
  width: 100px;
  margin: 1em;
  border-radius: 0.25em;
  border: solid 5px hsl(348, 51%, 61%); 
  box-shadow: 5px 5px 5px hsla(1, 33%, 70%);
  text-align: center;
}

.rotulos_individuales h3 {
  padding: 1em;
  text-align: center;
  text-decoration: underline;
}

.rotulos_individuales img:hover {
  border: solid 5px hsl(0, 28%, 66%); 
}

/* DATOS ACADEMICOS ---------------------------------------------*/

.logos ul {
  margin: 0em auto 0em 1em;
}

.logos img {
  text-align: center;
  height: 5em;
  margin: 1em 1em 1em 0;
}

.logos ul li {
  margin: 0em 1em 2em auto;
  padding: 0 0 0 1em;
  border-left: solid 10px hsl(348, 51%, 61%);
  border-radius: 0.25em;
}

.textos {
  font-size: 0.8em;
}

/*FOOTER
--------------------------------------*/

footer p{
  margin: 1em 1em 1em 1em;
}

/*RESPONSIVE-TABLET*/

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

  /*NAV---------------------------*/
  #nav-desplegable ul {
   display: flex;
   justify-content: space-between;
    gap: 0.5em;
  }

  #boton-nav {
   display: none;
  }

  .img-logo {
    margin: 0;
  }

  nav ul li a {
    margin: 0;
  }

  .contenedora {
    max-width: 80em;
   width: 100%;
  }

  .titulos {
   font-size: 20px;
  }

  /* PERFIL
  -----------------------------------------*/

  
.foto_mica {
  max-width: 50%;
  margin: auto;
  padding: 1em;
  background-color: hsl(348, 51%, 61%);
  border-radius: 0.25em;   
  box-shadow: 5px 5px 5px hsla(1, 33%, 70%);
}

  .info_2 {
   display: flex;
   flex-wrap: nowrap;
   justify-content: space-around;
   max-width: 90%;
   margin: 1em auto 1em auto;
  }
    
  .parrafos {
   max-width: 50%;
   margin: 0em 0em 0em 1em;
   padding: 3em;
  }


  /*MATERIAS
  -----------------------------------------*/

  .cursadas {
    display:flex;
  }

  .primero{
    margin: 0em 8em 0em 0em;
  }

  h4 {
    text-align: left;
    margin: 0em 0em 0em 3em;
  }
    

  /*EQUIPO JT14 -------------------------------------------*/

  .contenedora_3 ul {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    gap: 1em;
  }
 
  .rotulos_individuales ul li {
    width: 100%;
    max-width: 12em;
    margin: 0em 0em 0em 0em;  
   }
 
  .rotulos_individuales img {
    width: 120px;
  }
  
  /*DATOS ACADEMICOS---------------*/
  .logos ul {
    display: flex;
    margin: 0 2.5em;
  }

  /*FOOTER
 --------------------------------------*/

 footer p{
  margin: 1em 2em 1em 2em;
 }

}

/*RESPONSIVE-DESKTOP*/

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

  /*HEADER----------------------------*/

  header nav {
    margin-bottom: 0.5em;
    width: 100%;
}

.menu-btn {
    display: none;
}

header nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    align-items: center;
    margin-top: .5em;
    position: inherit;
    padding-top: 0;
    width: 100%;
    transition: none;
    visibility: visible;
    opacity: 1;
}

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

header nav ul li a {
    border: solid 3px hsl(0, 75%, 94%);
    border-radius: .25em;
    font-size: 1rem;
    width: auto;
    padding: .35em 1em;
    box-shadow: 4px 3px 6px hsl(0deg 48% 79% / 89%);
}
  
  /*NAV
  -------------------------------------*/

  .img-logo {
    margin: 0 0 0 2em;
  }

  #nav-desplegable ul {
    margin: 0 2em;
  }

  header .contenedora{
    margin: 2em auto 2em auto

  }

  /*MATERIAS
  -----------------------------------------*/

  .primero{
    margin: 0em 15em 0em 0em;
  }


  /*EQUIPO JT14 -------------------------------------------*/

  .contenedora_3 ul {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    gap: 1.5em;
  }

  .rotulos_individuales {
    max-width: 80em;
    width: 100%;
  }
 
  .rotulos_individuales ul li {
    width: 100%;
    max-width: 20em;
    margin: 0em 0em 0em 0em;  
   }
 
  .rotulos_individuales img {
    width: 120px;
  }
  
  /*DATOS ACADEMICOS---------------*/
  .logos ul {
    display: flex;
    justify-content: space-between;
    margin: 0 4em;
  }

  .academicos {
    max-width: 80em;
    width: 100%;
  }

  /*FOOTER
 --------------------------------------*/

 footer p{
  margin: 1em 4em 1em 4em;
 }

}