body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff0f5;
    color: #333;
    text-align: center;
    padding: 20px;
  }
  
  header { margin-bottom: 30px; }
  
  h1 {
    color: #81337b;
    font-size: 4.5em;
    font-family: 'MiFuente', sans-serif;
  }
  
  @font-face {
    font-family: 'MiFuente';
    src: url('/fuentes/fuente.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  .frase {
    color: #f34013;
    font-style: italic;
    font-size: 1.5em;
    margin-top: 3px;
  }
  
.carrusel-container {
  position: relative;
  width: 90%;
  max-width: 1000px; 
  padding-right: 80px;
  margin: auto;
  overflow: hidden;
  height: auto;
}
  .carrusel::-webkit-scrollbar { display: none; } 
  
  .carrusel {
    display: flex;
    overflow-x: auto;
    padding-left: 10px;        
    scroll-padding-left: 10px;
    box-sizing: content-box;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    align-items: center; 
  }  
  .imagen {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
  }
  
  .imagen img {
    flex: 0 0 70%; 
    max-height: 80vh; 
    object-fit: cover; 
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  .texto {
    flex: 1;
    padding-left: 15px;
    text-align: left;
    overflow-y: auto;
    max-height: 80vh;
    box-sizing: border-box;
    font-size: 1em;
  }
  .espaciador {
    min-width: 10px; 
    flex-shrink: 0;
  }
  
  .boton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 10;
    transition: background-color 0.3s;
  }
  
  #prev { left: 10px; }
  #next { right: 1px; }
  
  .boton:hover { background-color: #ffe4e1; }
  
  footer {
    margin-top: 40px;
    color: #666;
    font-size: 0.9em;
  }
  
  @media (max-width: 1024px) {
    .imagen {
      flex-direction: column;
      align-items: center;
    }
    .boton{
      display: none;
    }
    .imagen img {
      max-width: 90%;
      max-height: 60vh;
    }
  
    .texto {
      width: 90%;
      margin-top: 15px;
      font-size: 1rem;
    }
  
    #next {
      right: 20px;
    }
  }
  
  @media (max-width: 600px) {
    h1 {
      font-size: 1.8em;
    }
  
    .frase {
      font-size: 1em;
    }
  
    .imagen {
      padding: 0 5px;
      flex-direction: column;
      align-items: center;
    }
  
    .imagen img {
      max-width: 100%;
      max-height: 50vh;
    }
  
    .texto {
      width: 100%;
      font-size: 0.95rem;
      padding: 0 10px;
    }
  
    .boton {
      font-size: 1.5rem;
      padding: 8px 12px;
    }
  
    #next, #prev {
      top: unset;
      bottom: 10px;
      transform: none;
    }
  
    #next {
      right: 60px;
    }
  
    #prev {
      left: 60px;
    }
  
    .carrusel-container {
      padding-bottom: 40px; 
    }
    .boton{
      display: none;
    }
  }
  .slideshow-final {
    display: flex;
    width: 100%;
    overflow: hidden;
    height: 70vh;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .slideshow-final img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease-in-out;
  }
