/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    background-color: #f4f4f4; /* Color de fondo */
    color: #333; /* Color de texto */
  }
  
  /* Estilos del encabezado */
  header.header {
    text-align: center;
    background-color: #007bff;
    padding: 20px;
    width: 100%;
    color: white;
  }
  
  header h1 {
    margin: 0;
    font-size: 2rem;
  }
  
  header p {
    font-size: 1.2rem;
    margin-top: 10px;
  }
  
  /* Contenedor del slideshow */
  .slideshow-container {
    width: 80%;
    margin: 20px auto;
    height: auto;
    overflow: hidden;
    position: relative;
  }

  
  
  .slideshow-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  
  audio {
    width: 100%;
    margin-top: 10px;
  }
  
  /* Estilo para el botón */
  .next-button {
    display: block;
    text-align: center;
    margin: 20px auto;
    padding: 15px 30px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
  }
  
  .next-button:hover {
    background-color: #0056b3;
  }
  
  /* Estilos del pie de página */
  footer.footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    width: 100%;
    color: white;
  }
  
  /* Media Queries para hacerlo responsive */
  
  /* Para pantallas de 768px o menos */
  @media (max-width: 768px) {
    header h1 {
      font-size: 1.8rem;
    }
  
    header p {
      font-size: 1rem;
    }
  
    .slideshow-container {
      width: 90%;  /* Hacer que el contenedor de la imagen ocupe el 90% del ancho */
      height: auto;
    }
  
    .next-button {
      font-size: 1rem;
      padding: 10px 20px;
    }
  }
  
  /* Para pantallas de 480px o menos */
  @media (max-width: 480px) {
    header h1 {
      font-size: 1.5rem;
    }
  
    header p {
      font-size: 0.9rem;
    }
  
    .slideshow-container {
      width: 100%; /* Ocupa todo el ancho */
      height: auto;
    }
  
    .next-button {
      font-size: 0.9rem;
      padding: 8px 16px;
    }
  }
  