@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");


/* ----------------
   reglas generales
   ---------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  color: #2946a2;
  background-color: #fbfaeb;
  min-height: 100vh;
}

header,
footer {
  background-color: #2946a2;
  color: #fbfaeb;
  padding: 0.5em;
}

img {
  max-width: 100%;
}

.contenedora {
  max-width: 75rem;
  margin-inline: auto;
  padding: 2rem;
}

h2 {
  font-size: 35px;
  margin-bottom: 2.5rem;
}

span {
  color: #ec4a2b;
}



/* -------------------
   componente superior
   y sus contenidos
   ------------------- */

header,
footer {
  background-color: #2946a2;
  color: #fbfaeb;
}


header {
  box-shadow: 0 4px 4px #0000003f;
  position: sticky;
  top: 0;
  width: 100%;
  height: 5.3rem;
}


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

header .contenedora {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 0;
  padding-bottom: 0;
}

header .menu {
  display: flex;
  gap: .25rem;
}

.logo {
  position: absolute;
  top: 1.5rem;
  height: 2.2rem;
}

.menu .navbar ul {
  position: relative;
  float: right;
}

.menu .navbar ul li {
  display: inline-block;
  line-height: 5.3rem;
  margin: 0 1.25rem;
}

.menu .navbar ul li a {
  color: #fbfaeb;
  font-size: 18px;
  padding: 1.25rem;
  font-weight: 600;
}

.menu .navbar ul li a:hover {
  background: #ec4a2b;
  border-radius: 1.5rem;
  transition: .5s;
}

#menu {
  display: none;
}

.menu-icono {
  width: 2rem;
}

.menu label {
  cursor: pointer;
  float: right;
  display: none;
}

@media (max-width: 100vh) {
  .menu {
    padding: 2.5rem;
  }

  .menu label {
    display: initial;
    margin-top: 1.8rem;
  }

  .menu .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #2945a27b;
    display: none;
  }

  .menu .navbar ul li {
    width: 100%;
  }

  #menu:checked ~ .navbar {
    display: initial;
  }
}


/*-----PORTFOLIO-----*/

.portfolio {
  margin-bottom: 2rem;
}

#titulo-portfolio {
  font-size: 45px;
  padding: 0;
  margin: 2.5rem 0 1rem 0;
  color: #ec4a2b;
}

.titulo-portfolio{
  margin: 0 0 1em 0;
  padding: 0em;
}

.portfolio-contenido p{
  margin: 1em 0 1em 0;
  padding: 0;
  font-size: 14px;
}

.portfolio-contenido img {
  width: 320px;
  margin: 0em;
  text-align: center;
}

.portfolio-contenido ul  {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  grid-gap: 2rem;
}

.portfolio-contenido ul li {
  display: block;
  margin: 1em .5em 0em .5em;
  padding: 0em;
  text-align: center;
}

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

.equipo {
    background-color: #2946a2;
    padding-bottom: 3rem;
  }
  
  .contenido-general {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
    grid-gap: 2rem;
  }
  
  #titulo-equipo {
    color: #fbfaeb;
  }
  
  .general-txt {
    border-radius: 2rem;
    box-shadow: 0 0 1.5rem #0000003f;
    padding-bottom: 2rem;
    background-color: #fbfaeb;
  }
  
  .general-txt img {
    border-radius: 2rem 2rem 0 0;
    width: 100%;
  }
  
  .general-txt h3 {
    font-size: 18px;
    color: #ec4a2b;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  }
  
  .general-txt p {
    font-size: 16px;
    padding: 0 1.5rem 0.5rem 1.5rem;
  }
  
  .rotulo {
    padding: 0.2rem 1rem 0.2rem 1rem;
    display: inline-block;
    background-color: #ec4a2b;
    font-weight: 600;
    border-radius: 0.5rem;
    margin: 0 1.5rem;
  }
  
  #rotulo-1 {
    color: #fbfaeb;
    text-decoration: none;
  }
  
  #rotulo-2 {
    color: #fbfaeb;
    text-decoration: none;
  }
  
  #rotulo-3 {
    color: #fbfaeb;
    text-decoration: none;
  }
  
  
  /*-----DATOS ACADÉMICOS-----*/
  
.academicos {
    margin-top: 2rem;
}

  .academicos .titulo {
    margin: 0;
  }
  
  .academicos ul{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
    gap: 0 1rem;
  }
  
  .academicos ul li{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    align-content: flex-start;
    margin: 0;
  }
  
  .academicos img {
    display: block;
    width: 8em;
    aspect-ratio: 1;
    background-color: white;
    padding: .5rem;
    margin-top: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 4px transparent;
    transition: box-shadow .6s ease;
  }
  
  .academicos a:hover img {
    box-shadow: 4px 4px 4px #0000003f;
    transition: box-shadow .3s ease;
  }
  
  
  /*-----FOOTER-----*/
  
  footer .contenedora {
    font-size: 15px;
  }