/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  background: #fff0f5;
  color: #3b3b3b;
  line-height: 1.6;
  padding: 1rem;
}

header {
  background-color: #ffb6c1;
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

#logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
}

#logos img {
  max-width: 100px;
  height: auto;
}

/* Navegación */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

nav a {
  text-decoration: none;
  color: white;
  background-color: #db7093;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: #c94f77;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* Avatar y presentación */
#avatar img {
  width: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

#presentación {
  max-width: 600px;
  margin: 1rem auto;
  background-color: #ffe4e1;
  padding: 1rem;
  border-radius: 1rem;
}

/* Materias */
.grid-contenedora {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.materia, .lista-2 {
  background-color: #ffc0cb;
  padding: 1rem;
  border-radius: 1rem;
}

.materia ul, .lista-2 ul {
  margin-left: 1rem;
}

/* Integrantes */
.equipo {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 1rem 0;

}
img{
  width: 20px;
  border-radius: 10px;
  display: block;
  margin-bottom: 20px;
  -ms-flex-align: center;
}

.int {
  background-color: #fff0f5;
  padding: 1rem;
  border-radius: 1rem;
  width: 200px;
  text-align: center;
  transition: transform 0.3s ease;
}

.int:hover {
  transform: scale(1.05);
}

.img-int img {
  width: 100%;
  border-radius: 1rem;
  margin-top: 1rem;
}

/* Subrayado */
#subrayado {
  list-style: none;
  padding: 1rem;
  text-align: center;
}

#subrayado a {
  color: #d63384;
  text-decoration: underline;
  font-weight: bold;
}

/* Datos Académicos */
.datosac-1 {
  background-color: #ffe4e1;
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.datosac ul {
  margin-left: 1rem;
}

h1, h2, h3 {
  color: #8b008b;
  margin-bottom: 0.5rem;
}

/* Responsivo */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
  }

  #logos {
    justify-content: center;
  }

 .información {
  padding: 1rem;
  text-align: center;
}

.equipo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.int {
  background-color: #ffb6c1;
  border-radius: 8px;
  padding: 1rem;
  width: 200px;
  text-align: center;
  box-shadow: 0 0 10px rgba(129, 2, 59, 0.868);
}

.int a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.img-int img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}
figure.img-int {
    background-color: hsl(304, 59%, 84%);
    aspect-ratio: 1;
    padding: .3rem;
    display: block;
    border: 2px solid hsl(329, 84%, 48%);
    margin-left: auto;
}
figure {
    width: 100%;
}
user agent stylesheet
figure {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start
Logical 'margin-left'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
Learn more

Don't show
: 40px;
    margin-inline-end: 40px;
    unicode-bidi: isolate;
}

/* Responsividad para celulares */
@media (max-width: 600px) {
  .equipo {
    flex-direction: column;
    align-items: center;
  }

  .int {
    width: 80%;
  }
}

}