.presentacion {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 50px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 800px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  width: 90%;
  height: 400px;
}

.visible {
  opacity: 1;
}

.visible p {
 font-size: 30px;
 text-align: justify;
}
.visible h2 {
  font-size: 40px;
  text-align: center;
 }

.botones {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

button {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

button:hover {
  background-color: #3e8e41;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.media {
  margin-top: 30px;
}

.media_1 {
  display: flex; /* Habilita el uso de flexbox en el contenedor */
  align-items: center; /* Alinea las imágenes verticalmente en el centro */
}

.media_1 img {
  max-width: 12%; /* Asegura que las imágenes no superen el ancho del contenedor */
  height: auto;
  margin-right: 1px; /* Añade un pequeño margen entre las imágenes */
  border: solid black;
}

.media_1 img:last-child {
  margin-right: 0; /* Elimina el margen en la última imagen */
}
.ajustes {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.ajustes label {
  margin-right: 10px;
}

.ajustes input[type=range] {
  width: 200px;
}

.slide {
  font-size: 18px;
}


@media screen and (max-width: 768px) {
  .presentacion {
    padding: 30px;
  }

    .slide {
    font-size: 16px;
  }

  .ajustes input[type=range] {
    width: 150px;
  }
}
