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

body {
  font-family: 'Arial', sans-serif;
  background-color: #fef6ef;
  color: #1a1a1a;
  line-height: 1.6;
}


.navbar {
  background-color: #a3add2;
  padding: 1rem;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  padding: 6px 12px;
  transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
  background-color: #dce1f5;
  border-radius: 8px;
  color: #333;
}

.logo {
  height: 40px;
}

.h2{
  color: #333;
  text-decoration: none;
  font-weight: bold;

}



.hero {
  text-align: center;
  border: 1px solid #1a1a1a;
  background: linear-gradient(to bottom right, #d48be4, #8d9bd5);
  padding: 2rem;
  border-radius: 0 0 30px 30px;
  gap:40px;
  display: flex;
  align-items: center;
  height: 300px;
  justify-content: center;
  background-image: url(../img/fondo.jpg);
  background-size:cover;
}

.foto-perfil {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1a1a1a;
  margin-bottom: 0.700rem;
}

.nombre-carrera {
  background-color: #f99dcd;
  display: inline-block;
  padding: 2rem 2rem;
  border-radius: 20px;
  border: 2px solid #1a1a1a;
}


.ejercicios {
  text-align: center;
  padding: 3rem 1rem;
  align-items: center;
}

.boton-clase li {
  list-style: none;
  display: flex;
  padding: 0.75rem 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.boton-clase a {
  background-color: #ccd6ff;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  color: #000;
  display: inline-block;
  border: 1px solid #333;
  transition: background-color 0.3s;
}

.boton-clase a:hover {
  background-color: #b4c2f5;
}


.plan-estudios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

.año {
  background-color: #fbb6d6;
  border-radius: 20px;
  padding: 1rem 1.5rem;
  width: 250px;
  border: 1px solid #1a1a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.año:hover {
  transform: scale(1.03);
}

.año h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.año ul {
  list-style: none;
  padding-left: 0;
}

.año li {
  margin-bottom: 0.5rem;
}


.integrantes {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap;
  color: #1a1a1a;
}

.integrante a{
  text-align: center;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: bold;
}


.circulo {
  border: 1px solid #1a1a1a;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #9aa7d9;
  margin: 0 auto 1rem;
  transition: transform 0.3s;
}

.circulo:hover {
  transform: scale(1.1);
}


.footer {
  background-color: #eee;
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #444;
  border-top: 1px solid #ccc;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav ul {

    display: flex;
    justify-content: space-around;
    flex-direction: auto;
    width: 100%;
    align-items: center;
    margin-top: 1rem;
  }

  .plan-estudios {
    flex-direction: column;
    align-items: center;
  }

  .año {
    width: 90%;
  }

  .integrantes {
    flex-direction: column;
    align-items: center;
  }
}
