* {
  margin: 0; padding: 0; box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #f0f0f0;
  background: url('media/fondo.jpg') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(-45deg, #001f3f, #003366, #001a4d, #00264d);
  background-size: 400% 400%;
  animation: backgroundShift 20s ease infinite;
  opacity: 0.4;
  z-index: -1;
}

@keyframes backgroundShift {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

header {
  background-color: rgba(25, 25, 112, 0.8);
  padding: 1rem 2rem;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: #ffeb3b;
  animation: textGlow 3s ease-in-out infinite alternate;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #ffeb3b,
    0 0 20px #ffeb3b,
    0 0 30px #ffeb3b,
    0 0 40px #ffeb3b;
}

@keyframes textGlow {
  0% {
    color: #fff176;
    text-shadow:
      0 0 5px #fff,
      0 0 10px #ffeb3b,
      0 0 20px #ffeb3b,
      0 0 30px #ffeb3b,
      0 0 40px #ffeb3b;
  }
  100% {
    color: #ffeb3b;
    text-shadow:
      0 0 10px #fff,
      0 0 20px #ffeb3b,
      0 0 30px #ffeb3b,
      0 0 40px #ffeb3b,
      0 0 60px #ffeb3b;
  }
}

main {
  max-width: 900px;
  margin: 2rem auto 4rem;
  background-color: rgba(0, 0, 50, 0.7);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(240, 230, 140, 0.6);
  position: relative;
}

#panel-fijo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 250px;
  max-width: 90vw;
  z-index: 5;
  animation: respirar 4s ease-in-out infinite;
}

#panel-fijo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 12px #ffeb3b;
}

@keyframes respirar {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

#integrantes {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 0 12px #ffeb3b;
  animation: slideIn 1.5s ease-out;
  z-index: 10;
}

#integrantes h4 {
  margin-bottom: 0.5rem;
  color: #ffeb3b;
  font-size: 1.3rem;
}

@keyframes slideIn {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

section {
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

section h2 {
  margin-bottom: 1rem;
  color: #ffeb3b;
  border-bottom: 2px solid #ffeb3b;
  padding-bottom: 0.5rem;
}

article.planeta {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px #ffeb3b;
}

article.planeta h3 {
  color: #ffeb3b;
  margin-bottom: 0.5rem;
}
