.slider-container {
      position: relative;
      max-width: 80%;
      margin: auto;
      overflow: hidden;
    }

    /* Estilos de las imágenes */
    .slider {
      display: flex;
      transition: transform 0.5s ease;
    }

    .slider img {
      width: 100%;
      cursor: pointer;
    }

    /* Estilos de la imagen expandida */
    .modal {
      display: none;
      position: fixed;
      z-index: 10;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      justify-content: center;
      align-items: center;
    }

    .modal img {
      max-width: 90%;
      max-height: 90%;
    }

    /* Botones de navegación */
    .prev, .next {
      cursor: pointer;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      padding: 10px;
      border: none;
      font-size: 18px;
      border-radius: 5px;
    }

    .prev { left: 10px; }
    .next { right: 10px; }