@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;
  }
}


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

.personal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 5rem 0;
}

.info-img img {
  border-radius: 2rem;
  width: 450px;
  border: solid 10px #2946a2;
}

.info-txt {
  width: 50%;
  margin-left: 3rem;
}

.info-txt h1{
  font-size: 70px;
  line-height: 1.1em;
  padding: 2rem 0 2rem 0;
}

.info-txt span {
  font-size: 90px;
  color: #ec4a2b;
}

.info-txt p {
  font-size: 16px;
  margin-bottom: 1rem;
}

#cumple-cursada {
  font-weight: 700;
}

.botones {
  display: flex;
  align-items: flex-start;
}

.social-media {
  order: 2;
  display: inline-block;
  width: 4rem;
  height: 4rem;
  padding: 1rem 1.5rem 0 0;
}

#portfolio {
  order: 1;
  color: #fbfaeb;
  text-decoration: none;
  padding: 0.2rem 1rem;
  margin: 1.1rem 1.5rem 0 0;
  background-color: #ec4a2b;
  font-size: 18px;
  font-weight: 600;
  border-radius: 0.5rem;
}

.boceto {
  margin-top: 1.5rem;
}

#boceto-webapp {
  order: 3;
  color: #fbfaeb;
  text-decoration: none;
  padding: 0.2rem 1rem;
  background-color: #2946a2;
  font-size: 18px;
  font-weight: 600;
  border-radius: 0.5rem;
}


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

.materias-contenido {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: 3rem 1rem;
  margin-bottom: 3rem;
  border-radius: 2rem;
  box-shadow: 0 0 1.5rem #5151513f;
  padding: 2rem 0;
}

.materia-1 {
  padding: 1.5px;
  border-right: solid 2px #5151513f;
}

.materia-2 {
  padding: 1.5px;
  border-right: solid 2px #5151513f;
}

.materia-3 {
  padding: 1.5px;
  border-right: solid 2px #5151513f;
}

.materia-3 {
  padding: 1.5px;
}


/*-----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;
}