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

body {
  background-color: #fbe3e3;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #ff99b3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.8rem 1rem;
}

#logo_dgpc{
    padding: 0%;
    width: 100px;
}

.logo:hover {
  background-color: #ffd6a5;
  color: #ff99b3;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  width: 100%;
}

.boton_header {
  border: 1.5px solid #ffd6a5;
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-btn:hover {
  background-color: #ffe082;
  color: #ff99b3;
}

@media (min-width: 769px) {
  .header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 0.6rem 1.5rem;
  }

  .nav {
    justify-content: flex-end;
    width: auto;
  }

  .logo {
    margin-bottom: 0;
  }
}

h1 {
  text-align: center;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: #ff7477;
  margin: 1.5rem 0;
}

h2 {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: #ff94a2;
  margin-bottom: 0.5rem;
  text-align: center;
}

h3 {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: #00aae4;
  margin-top: 1.5rem;
  text-align: center;
}

#avatarcamila {
  display: block;
  margin: 1rem auto 2rem auto;
  border-radius: 10px;
  border: 2px solid #ff7477;
  width: 100%;
  max-width: 250px;
}

.materias article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: center;
  margin: 0 auto 2rem auto;
  max-width: 500px;
}

.texto-materias {
  margin-top: 0.3rem;
}

.integrantes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 600px;
}

.integrantes article {
  background-color: #ff7477;
  padding: 1rem;
  border-radius: 10px;
  width: 160px;
  text-align: center;
  color: white;
}

.p-integrantes {
  color: #fff;
  font-size: medium;
  margin-bottom: 0.5rem;
}

.integrantes a {
  background: #ff94a2;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.integrantes a:hover {
  color: #ffe180;
  border: 1px solid #ffe180;
}

.contenedor_prototipo {
  width: 100%;
  max-width: 900px; /* limita el ancho en pantallas grandes */
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.prototipo {
  display: block;
  max-width: 90%;
  margin: 1rem auto;
  height: auto;
  object-fit: contain;
}

section {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  padding: 0 1rem;
}

section h2,
section h3 {
  text-align: left;
  margin-left: 0.5rem;
}

section ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

footer {
  background-color: #f9d6d5;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: black;
  margin-top: 2rem;
  width: 100%;
}

#FooterFadu {
  margin-top: 0.5rem;
  width: 100px;
}

@media (min-width: 600px) {
  .materias article {
    grid-template-columns: repeat(2, 1fr);
  }
}