/* General */
body {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  height: 1.6;
  text-align: center;
  background-color: #FFF5E6;
  color: #333;
  margin: 0;
  padding: 0;
  min-height: 10rem;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-weight: 700;
  margin-bottom: 20px;
}

h1 {
  color: #b77cee;
  font-size: 2.5rem;
  margin: 3rem;
  margin-bottom: 0.5rem;
}

h2 {
  color: #333;
  font-size: 2rem;
}

h4 {
  color: #8A2Be2;
  font-size: 1rem;
}

/* Para sacar bullets */
ul, ol {
  list-style-type: none;
  padding-left: 0;
}

/* Panel navegacion */
.top-right-nav {
  position: fixed;
  top: 0;
  right: 0;
  background-color: rgba(255, 245, 230, 0.9);
  padding: 10px;
  width: 100%;
  text-align: right;
}

.top-right-nav ul {
  display: inline-flex;
  margin: 0;
}

.top-right-nav li {
  margin-left: 20px;
}

.nav-link {
  color: #8A2BE2;
  text-decoration: none;
  font-weight: bold;
}

.nav-link:hover {
  text-decoration: underline;
}

/* Foto*/
.image-profile img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
}

/* Materias aprobadas */
.rotulo-materias {
  margin-top: 40px;
}

.materias {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nivel {
  width: 30%;
  margin-bottom: 20px;
}

.nivel-titulo {
  color: #8A2BE2;
  font-size: 1.5em;
}

.nivel li {
  margin-bottom: 10px;
}

/* Integrantes del equipo */
.integrantes ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.integrantes h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.integrantes li {
  margin: 0 10px;
}

.integrantes a {
  text-decoration: none;
  color: #b77cee;
  transition: color 0.3s ease;
}

.integrantes a:hover {
  color: #9b4fe0;
}

/* Datos académicos */
.rotulo-datos {
  margin-top: 40px;
}

.datos-academicos {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.columna {
  width: 48%;
}

.columna p {
  margin-bottom: 10px;
}

/* Footer */
footer {
  background-color: #f4f4f4;
  padding: 20px;
  text-align: center;
  width: 100%;
  height:8rem;
  margin-top: 5rem;
}

.copyright {
  font-size: 0.9em;
  color: #666;
  margin: 25px auto;
}

.logo {
  width: 20cm;
  height: 10cm;
}

/* Media queries */
@media (max-width: 768px) {
  .image-profile img {
      width: 150px;
      height: 150px;
  }

  .materias, .datos-academicos {
      flex-direction: column;
  }

  .nivel, .columna {
      width: 100%;
  }

  .top-right-nav {
      text-align: center;
  }

  .top-right-nav ul {
      flex-direction: column;
  }

  .top-right-nav li {
      margin: 5px 0;
  }
}