        /* Estilos para la portada (inicialmente visible) */
        #portada {
          text-align: center;
          display: flex;
          padding: 50px;
          align-items: center;
          cursor: pointer;
          transition: opacity 1s ease-in-out;
          left: 0;
          right: 0;
          top: 0;
          bottom: 0;
          position: fixed;
          z-index: 1;
          flex-direction: column;
          justify-content: center;
        }

        /* Estilos para el contenido principal (inicialmente oculto) */
        #contenido-principal {
          opacity: 0;
            /* Oculto por defecto */



        }

        /* Clase para mostrar el contenido */
        .mostrar {
          opacity: 1 !important;
            /* Asegura que se muestre */
        }

        /* Clase para ocultar la portada suavemente */
        .ocultar-portada {
            opacity: 0;
            pointer-events: none;
            /* Evita clics una vez oculta */
        }

#portada {
    background-image: url('../img/fotos/fondo.webp');
    background-size: cover; /* Cubre todo el espacio */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* No repite la imagen */
  /* Opcional: Si la imagen no carga, muestra un color */
  background-color: #000000;
    
}




@keyframes moverFondo {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 50%; }
}
#contenido-principal {
  background-image: url('../img/fotos/fondo.webp');
  background-attachment: fixed;
  background-size: cover;
  animation-name: moverFondo;
  animation-timing-function: linear;
  animation-timeline: scroll(root); /* Se anima con el scroll de la página */
 
      /* Animación continua */
}
@media (max-width: 767px) {
  #contenido-principal{
    background-image: url('../img/fotos/fondo.webp');
  background-attachment: fixed;
  background-size: auto;
  animation-name: moverFondo;
  animation-timing-function: linear;
  animation-timeline: scroll(root); 
  }
}

.anchop {
  display: flex;
}
@media(max-width:1024px) {
  .anchop {
      display: block;
      max-width: 1024px;
  }
}
.triangulo svg {
  height: 46px;
  width: 100%;
  
}
.triangulo-invertido svg {
  height: 46px;
  width: 100%;
  transform: rotate(180deg);
}
.olas-negras {
    transform: rotate(180deg);
    top: -1px;
  
}

@keyframes moverimg-portada {
  100% { background-position: 0% 0%; }
  0% { background-position: 0% 450%; }
}
.img-portada { 
    background-image: url('../img/fotos/portada.webp');
    align-content:flex-end;
    background-position: center center;
    
    background-size: cover;
  animation-name: moverimg-portada;
  animation-timing-function: linear;
  animation-timeline: scroll(root);
    height: 800px;
    width: 100%;
}

@keyframes moverimg-portada2 {
  30% { background-position: 0%  0%; }
  0% { background-position: 0% 250%; }
}
@media (max-width: 767px) {
  .img-portada {
    align-content:flex-end;
    
    background-position: center center;
    background-size: cover;
  animation-name: moverimg-portada2;
  animation-timing-function: linear;
  animation-timeline: scroll(root);
    height: 600px;
    width: 100%;
  }
}
@keyframes moverimg-portada2 {
  10% { background-position: 0%  0%; }
  0% { background-position: 0% 285%; }
}
@media (max-width: 576px) {
  .img-portada {
    align-content:flex-end;
    
    background-position: center center;
    background-size: cover;
  animation-name: moverimg-portada2;
  animation-timing-function: linear;
  animation-timeline: scroll(root);
    height: 400px;
    width: 100%;
  }
}
  .fondo-p {
    width: 100%;
    background-color: transparent;
    background-image: linear-gradient(180deg, #00000000 0%, #000000 100%);
  }
  @media (max-width: 767px) {
    .fondo-p {
      width: 100%;
      max-width: 767px;
      background-color: transparent;
      background-image: linear-gradient(360deg, #00000000 50%, #000000 100%);
  background-size: cover; /* Cubre todo el espacio */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* No repite la imagen */
  /* Opcional: Si la imagen no carga, muestra un color */
    }
  }
  .img-hoja-p {
    width: 150px;
    position: absolute;
    right: 0px;
    bottom: 0px;
    transform: scaleX(-1);
}
@media (max-width: 767px) {
  .img-hoja-p {
    width: 65px;
    position: absolute;
    right: 0px;
    bottom: 0px;
    transform: scaleX(-1);
  }
}
  .img-hoja-d {
      width: 180px;
      position: absolute;
      right: 0px;
      bottom: 0px;
      transform: scaleX(-1);
  }
  @media (max-width: 767px) {
    .img-hoja-d {
      width: 77px;
      position: absolute;
      right: 0px;
      bottom: 0px;
      transform: scaleX(-1);
    }
  }
  .img-hoja-d2 {
    width: 100px;
    position: absolute;
    right: 0px;
    top: 1000px;
    transform: scaleX(-1);
}
@media (max-width: 767px) {
  .img-hoja-d2 {
    width: 50px;
    position: absolute;
    right: 0px;
    top: 1000px;
    transform: scaleX(-1);
  }
}
  .img-hoja-i {
    width: 180px;
    position: absolute;
    left: 0px;
    top: 0px;
    transform: scaleX(1);
}
@media (max-width: 767px) {
  .img-hoja-i {
    width: 90px;
    position: absolute;
    left: 0px;
    top: 0px;
    transform: scaleX(1);
  }
}
.img-hoja-i2 {
  width: 100px;
  position: absolute;
  left: 0px;
  top: 300px;
  transform: scaleX(1);
}
@media (max-width: 767px) {
.img-hoja-i2 {
  width: 50px;
  position: absolute;
  left: 0px;
  top: 300px;
  transform: scaleX(1);
}
}
  .testi__items{
    position: relative;
    padding: 25px 15px;
    width: 85%;
    margin: 70px;
    
    &::before{
        position: absolute;
        top: 25px;
        left: 0px;
        border: 1px solid #F7E0A5;
        content: "";
        width: 100%;
        height: 100%;
        display: inline-block;
       
        transform: rotate(-3deg);
    }
    &::after{
        position: absolute;
        top: 15px;
        left: 0;
        border-style: double;
        border-width: 3px;
        border-color: #F7E0A5;
        content: "";
        width: 100%;
        height: 100%;
    }
   .testi__content{
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    padding-top: 70px;
        
   }
  }
@media (max-width: 767px) {
  .testi__items {
    max-width: 767px;
    width: 85%;
    margin: 20px;
  }
}


.c-cuadrado {
  display: flex;
  min-height: 92px;
  justify-content: center;
  gap: 0px 0px;
  row-gap: 0px;
  column-gap: 0px;
  /*border-style: double; esto saca doble raya con border-style*/
  border: solid 2px #F7E0A5;
  border-radius: 15px;
  }

  .c-cuadrado-2 {
    background-color: #333A1C;
    /*border-style: double; esto saca doble raya con border-style*/
    border: solid 2px #F7E0A5;
    border-radius: 15px;
    
    }

  .c-cuadrado-doble {
    display: flex;
    min-height: 92px;
    justify-content: center;
    gap: 0px 0px;
    row-gap: 0px;
    column-gap: 0px;
    border-style: double;
    border-width: 3px;
    /*border-style: double; esto saca doble raya con border-style*/
    border-color: #F7E0A5;
    border-radius: 15px;
    }


  @keyframes girarYMover {
    from {
      transform: rotate(10deg) translateY(0);
      opacity: 1;
    }
    to {
      transform: rotate(-10deg) translateY(0);
      opacity: 1;
    }
  }
  
  .rotar-i {
    animation-name: girarYMover;
    padding-bottom: 10px;
    animation-timing-function: linear;
    animation-timeline: scroll(root); /* Se anima con el scroll de la página */
    animation-range: entry 50% cover 100%; /* Animación del 0% al 40% del scroll */
  }
  @media (max-width: 767px) {
    .rotar-i {
      animation-name: girarYMover;
    padding-bottom: 10px;
    animation-timing-function: linear;
    animation-timeline: scroll(root); /* Se anima con el scroll de la página */
    animation-range: entry 60% cover 100%; /* Animación del 0% al 40% del scroll */
    }
  }
  
  @keyframes girarYMover2 {
    from {
      transform: rotate(-10deg) translateY(0);
      opacity: 1;
    }
    to {
      transform: rotate(10deg) translateY(0);
      opacity: 1;
    }
  }
  .rotar-d {
    animation-name: girarYMover2;
    padding-bottom: 10px;
    animation-timing-function: linear;
    animation-timeline: scroll(root); /* Se anima con el scroll de la página */
    animation-range: entry 50% cover 100%; /* Animación del 0% al 40% del scroll */
  }
  @media (max-width: 767px) {
    .rotar-d {
      animation-name: girarYMover2;
    padding-bottom: 10px;
    animation-timing-function: linear;
    animation-timeline: scroll(root); /* Se anima con el scroll de la página */
    animation-range: entry 60% cover 100%; /* Animación del 0% al 40% del scroll */
    }
  }

.img-pading {
  padding: 10px !important;
}
.img-pading img {
  border-radius: 20px;
}
@media (max-width: 767px) {
  .img-pading img {
    border-radius: 10px;
  }
}

footer {
  background-color: #141414;
}



/* Estilos básicos para el botón */
.boton-audio {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: none;
  border: none;
  cursor: pointer;
  width: 50px; /* Ajusta el tamaño del icono */
  height: 50px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.boton-audio:hover {
  transform: scale(1.1);
}
/* Estilos para el SVG, si es inline */
.boton-audio svg {
  width: 100%;
  height: 100%;
  fill: #333; /* Color del icono */
}



/*estilo del boton de musica */
#btnPlayPausa {
  /* Tamaño y forma */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  
  /* Colores */
  background-color: #808f4e57; /* Un rojo vibrante */
  color: #c4b389be;              /* El color del SVG */
  
  /* Alineación del icono */
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* Quitar bordes por defecto */
  border: none;
  cursor: pointer;
  outline: none;
  box-shadow: 0px 0px 0 10px #808f4e0e ;
  transition: all 0.3s ease;
  position: fixed;
  bottom: 20px;
  z-index: 3;
  right: 20px;
}





/* zoom imagenes de galeria*/
        /* Estilo de la imagen miniatura */
        .miniatura {
            width: 200px;
            cursor: pointer;
            transition: 0.3s;
            border-radius: 8px;
        }

        .miniatura:hover {
            opacity: 0.8;
        }

        /* El contenedor del fondo (Overlay) */
        .overlay {
            display: none; /* Oculto por defecto */
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.9); /* Fondo negro traslúcido */
            justify-content: center;
            align-items: center;
        }

        /* La imagen expandida al 90% (dejando el 10% de margen) */
        .imagen-expandida {
            max-width: 95%;
            max-height: 95%;
            box-shadow: 0 0 20px rgba(255,255,255,0.2);
        }

        /* Botón de salir */
        .boton-cerrar {
            position: absolute;
            top: 20px;
            right: 35px;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            background: none;
            border: none;
        }

        .boton-cerrar:hover {
            color: #bbb;
        }
  

























#foto1 {
    width: 80%; /* Tamaño inicial */
    max-width: 600px;
    height: auto;
    cursor: pointer; /* Indica que es clickeable */
    display: block;
    margin: 20px auto;
    border: 3px solid #333;
    transition: all 0.3s ease;
}

#btnSalir {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #ff4500;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
     /* Oculto por defecto */
    z-index: 1000;
}

/* Estilo para cuando la imagen está en pantalla completa */
:fullscreen #foto1 {
    width: 100vw; /* 100% del ancho del viewport */
    height: 100vh; /* 100% del alto del viewport */
    object-fit: contain; /* Ajusta la imagen sin recortar */
    background-color: black;
    margin: 0;
    border: none;
}

/* Para navegadores que aún usan prefijos (raro hoy en día, pero buena práctica) */
:-webkit-full-screen #foto1 {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background-color: black;
    margin: 0;
    border: none;
}

:fullscreen #btnSalir {
    display: block; /* Muestra el botón en pantalla completa */
}


