body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom right, rgb(255, 105, 180), rgb(0, 191, 255));
  color: white;
  min-height: 100vh;
}

section {
  background: linear-gradient(to bottom, rgb(255, 105, 180), rgb(0, 191, 255));
  padding: 40px 20px;
  color: white;
  border-radius: 10px;
  margin: 20px auto;
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.6s ease-out;
}

/* Animación al entrar desde la izquierda */
section.visible {
  animation: slideInRight 0.8s ease-out forwards;
}

/* Animación al entrar desde la derecha */
section.visible-from-top {
  animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(to right, rgb(255, 105, 180), rgb(0, 191, 255));
  color: white;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1100;
}

.logo {
  height: 100px;
  margin-left: 50px;
  position: relative;
  z-index: 1101;
}

.Logo-Title {
  font-family: Arial, sans-serif;
}

.menu-lateral {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background: linear-gradient(to bottom, rgb(255, 105, 180), rgb(0, 191, 255));
  padding-top: 60px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.menu-lateral a {
  display: block;
  color: white;
  padding: 16px;
  text-decoration: none;
}

.menu-visible {
  transform: translateX(0);
}

.menu-btn,
.close-btn {
  font-size: 30px;
  cursor: pointer;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1100;
  background-color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
}

.close-btn {
  display: none;
}

/* Contenedor del contenido principal */
.contenido {
  transition: transform 0.3s ease;
  position: relative;
  z-index: 900;
}

.contenido.shifted {
  transform: translateX(250px);
}

/* Tamaño grande solo para las imágenes/video con la clase .img-grande */
.img-grande {
  max-width: 100%;
  height: 80%;
  transition: all 0.3s ease-in-out;
}

/* Imágenes normales para las demás secciones */
section:not(#inicio) img,
section:not(#inicio) video {
  max-width: 100%;
  height: auto;
  transition: all 0.3s ease-in-out;
}

/* Tablas */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

td {
  text-align: center;
  padding: 10px;
}

.verde {
  background-color: rgba(0, 255, 127, 0.2);
}

.azul {
  background-color: rgba(70, 130, 180, 0.2);
}

/* Estilos para galería de activaciones */
.gallery-container {
  position: relative;
  width: 600px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  background-color: white;
}

.gallery-container img {
  width: 100%;
  height: auto;
  transition: 0.5s ease;
  display: block;
  margin: auto;
}

.nav-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.nav-buttons button {
  background-color: rgba(0,0,0,0.5);
  border: none;
  font-size: 24px;
  padding: 10px 20px;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 5px;
}

/* Responsive para galería en móviles */
@media (max-width: 768px) {
  .gallery-container {
    width: 90%;
    max-width: 100%;
  }

  .nav-buttons button {
    font-size: 18px;
    padding: 8px 15px;
  }
}
