@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Carattere&display=swap');

:root{
    --main-color:#585858;
    --primary-color: #86b399;
    --secunday-color: #9c770f;
    --tercer-color: #ffffe2;
    --cuarto-color: #304428;
}

*{
   font-family: "PT Serif", serif;

   margin:0; padding:0;
   box-sizing: border-box;
   outline: none; border:none;
   text-decoration: none;
   transition: .2s linear;
   overflow-x: hidden;
   text-decoration: none;


}



/*OTRO*/

.logo img{
  width: 180px;
}

#splash-screen, #main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(images/home2.jpg);
    background-size: cover;
    background-position: center;
    height: 100vh;
    transition: opacity 3.5s ease-out, visibility 3.5s ease-out; 
}

/* Estilo para la pantalla inicial */
#splash-screen {
    
     overflow-x: hidden;
  position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1009; 
}

/* Estilo para el contenido principal */
#main-content {
    
    opacity: 0;
    visibility: hidden;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
}

/* Clase para ocultar suavemente (opacidad 0 y visibilidad oculta) */
.fade-out {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Clase para mostrar suavemente (opacidad 1 y visibilidad visible) */
.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.ta{
  color: #fff;
  background-color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 400;
  padding: 15px;
  cursor: pointer;
  
}

.ta a{
  text-decoration: none;
  color: #fff;
}



.principal h3{
  color: black;
  font-weight: 400;
  
}

.principal h4{
   font-family: "Carattere";
   font-size: 1.9rem;
   padding: 10px;
}

.principal h5{
  font-size: 2.2rem;
  text-align: center;
}

button{
  margin: 10px;
  padding: 10px;
  background-color: var(--primary-color);
  border-radius: 10px;
  font-weight: 600;
}


  

body{
  background-image: url(images/fondo9.jpg);

}

.fondo{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-image: url(images/home.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-attachment: fixed; Removed for better mobile performance */
    border-bottom-left-radius: 40vw;
    border-bottom-right-radius: 40vw;
    position: relative;
    
}

@media (max-width: 768px){
    .fondo{
        height: 60vh;
        background-attachment: scroll; /* Ensure smooth scrolling on mobile */
    }
}

/*CONTENEDOR BLANCO*/

.containerblank{
    background-image: url(images/fondo.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    flex-flow: column;
    padding: 30px;
    position: relative;
    
    z-index: 1000;
}
@media (max-width: 748px){
    .containerblank{
        padding: 10px;
        background-image: url(images/fondov.jpg);
    }
}

.containerblank h1{
   
    font-size: 1.2rem;
    color: var(--main-color);
    text-align: center;
    
}

.containerblank .text{
    text-align: center;
    padding: 30px;
}

.containerblank .text h3{
    font-family: "PT Serif", serif;
    color: var(--main-color);
}

.containerblank .logo img{
    width: 250px;
}

@media (max-width: 768px){
    .containerblank .logo img{
    width: 150px;
}
}

/*audio*/
  .audio {
  width: 100%;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  user-select: none;
  margin-top: -40px;
  }

  .audio p{
    font-size: 1.5rem;
    font-weight: 400;
  }
  .audio p i{
    color: var(--secunday-color);
  }

  @media (max-width: 768px){
    .audio p{
    font-size: 1.1rem;
    
  }
  }
  
  .containeraudio {

  width: 400px;
  height: 115px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  color: var(--primary-color);
}
.containeraudio h1 {
  position: absolute;
  color: black;
  top: -21px;
  text-align: center;
  font-size: 2rem;
  margin: 10px;
}
.containeraudio .progress_container {
  position: absolute;
  bottom: 14px;
  width: 100%;
  max-width: 350px;
  height: 5px;
  background-color: var(--primary-color);
  border-radius: 6px;
  cursor: pointer;
  
}
.containeraudio #progress {
  background-color: #286b1a;
  width: 0;
  height: 100%;
  
}
.containeraudio #current_time {
  font-size: 12px;
  position: absolute;
  top: 60%;
  left: 10%;
}
.containeraudio #current_audio {
  position: absolute;
  top: 60%;
  right: 10%;
   font-size: 12px;
}
.containeraudio .buttons button {
  cursor: pointer;
}




button i{
  color: #fff
  ;
}
.prev, .next{
  display: none;
}

/*BARRA COLOR*/

.containercolor{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 15vh;
    background-color:var(--primary-color) ;
    font-family: "PT Serif", serif;
}

.containercolor h1{
    padding-top: 25px;
    font-family: "Carattere", cursive;
    text-align: center;
    font-size: 4rem;
    color: var(--tercer-color);
}

@media (max-width: 768px){
    .containercolor h1{
    padding-top: 10px;
    font-size: 2rem;
    
}
}

.top{
    aspect-ratio: 900/100;
    
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    top: -200px;

}

.wave-1{
    background-image: url(images/wave.svg);
    position: relative;
    top:5px ;
    z-index: 0   ;
}

.wave-2{
    background-image: url(images/waveb.svg);
}

/*COUNTDOWN*/

/* countdown*/

.crono{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  
}

.reloj {
display: grid;

place-items: center;
grid-template-columns: repeat(7, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
justify-content: center;
font-size: 1.3rem;
padding-top: 20px;
padding-bottom: 40px;
text-align: center;
}



.reloj span{
  font-size: 4rem;
}


.dias { grid-area: 1 / 1 / 2 / 2; 
        width: 100px;
        
}
.horas { grid-area: 1 / 3 / 2 / 4; }
.min { grid-area: 1 / 5 / 2 / 6; }
.seg { grid-area: 1 / 7 / 2 / 8; }
.sep { grid-area: 1 / 2 / 2 / 3; }
.sep { grid-area: 1 / 4 / 2 / 5; }
.sep { grid-area: 1 / 6 / 2 / 7; }



.reloj .sep{
  width: 10px;
}

.reloj .caja{
  width: 100px;
}

@media (max-width: 768px){
  .reloj{
    font-size: .8rem;
    text-align: center;
    justify-content: center;
  }
  .reloj span{
    padding: -30px;
    font-size: 2rem;
    text-align: center;
  }

  .reloj .caja{
    
  padding: -50px;
  width: 90px;
  height: auto;
  overflow-y: hidden;
}
.reloj .caja h3{
  text-align: center;
}
}
/*FECHA*/

.fecha {
display: grid;
max-width: 70vh;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
grid-column-gap: 100px;
grid-row-gap: 0px;
gap: 1px;
place-items: center;
text-align: center;
padding: 50px;
}

.date{
    width: 100%;  
}
.div1 { 
    grid-area: 2 / 1 / 3 / 2; 
    margin-right: 30px;
    place-items: center;
    border-top: solid #9c770f;
    border-bottom:solid #9c770f;
}

.div2 { 
    grid-area: 2 / 3 / 3 / 4;
    margin-left: 30px;
    border-top: solid #9c770f;
    border-bottom:solid #9c770f;
}
.div3 { grid-area: 1 / 2 / 4 / 3; }

.div3 {
    padding: 15px;
    border: solid #9c770f;
    border-radius: 35px;
}

.div1 h1{
    font-size: 3rem; 
    color: var(--main-color);
}

.div2 h1{
    font-size: 3rem;  
    color: var(--main-color);
}

.div3 h1{
    font-size: 7rem;
    color:var(--primary-color) ;
}

.div3 h3{
    font-size: 2rem;
    color: var(--main-color);
}



@media (max-width: 738px){
    .fecha{
        min-width: 50vh;
    }
   
    .div1 h1{
    font-size: 1.6rem; 
    }

    .div2 h1{
    font-size: 1.6rem;  
    }

    .div3 h1{
    font-size: 3.9rem;
    }

    .div3 h3{
    font-size: 1rem;
    }
}

@media (max-width: 361px){
    .fecha{
        width: 55vh;
    }
    .div1 h1{
    font-size: 1.5rem; 
    }

    .div2 h1{
    font-size: 1.5rem;  
    }
}

/*CRONO*/

.containergrid{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-image: url(images/fondo2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10px;
    padding-bottom: 60px;
}

.containergrid h2{
    font-family: "Carattere", cursive;
    font-size: 4rem;
    color: var(--primary-color);
    margin-top: 20px;
    padding: 20px;
}

@media (max-width: 748px){
    .containergrid{
        padding: 10px;
        background-image: url(images/fondov.jpg);
    }
}

.parent .separador{
  width: 2px;
  height: 800px;
}

.parent {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(6, 1fr);
grid-column-gap: 10px;
grid-row-gap: 0px;
gap: 10px;
place-items: center;
justify-items: center;
width: 490px;
margin-top: 30px;
}



@media (max-width: 748px){
    .parent{
       width: 70%;
       
       position: relative;
       
    }
    .content h3{
      
      font-size: .9rem;
    }

}

.crono1 { 
    grid-area: 1 / 1 / 2 / 2; 
    
    
}

.content{
    display: flex;
    align-items: center;
    justify-content: center;   
    flex-direction: column;
    width: 150px;
    height: 150px;
    
}
.content img{
    width: 60px;
}

.parent .content h3{
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    text-align: center;
    margin: 0;
   
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -1px;
    padding: 10px;
    
    
}
.parent .content h1{
    font-size: 1.5rem;
    text-align: center;
    justify-content: center;
    padding: 10px;
}
.crono2{
  
}
.crono3 { 
    grid-area: 3 / 1 / 4 / 2; 
    
}
.crono4 { 
    grid-area: 4 / 1 / 5 / 2; 
    
}
.crono5 { 
    grid-area: 5 / 1 / 6 / 2;
    
 }
.crono6 { 
    grid-area: 6 / 1 / 7 / 2;
    
 }
.crono7 { 
    grid-area: 1 / 3 / 2 / 4; 
    

}
.crono8 { 
    grid-area: 2 / 3 / 3 / 4; 
    
}
.crono9 { 
    grid-area: 3 / 3 / 4 / 4;
    
}
.crono10 { 
    grid-area: 4 / 3 / 5 / 4;
    
}
.crono11 { 
    grid-area: 5 / 3 / 6 / 4; 
    
}
.crono12 { 
    grid-area: 6 / 3 / 7 / 4; 
    
}
.separador {
    grid-area: 1 / 2 / 7 / 3; 
    background-color: var(--cuarto-color);
    height: 800px;
    width: 2px;
}

/* UBICACIONES*/

.containerubi {
 
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 30px;
  padding-top: 40px;

  background-color: var(--primary-color);
}



.containerubi h3{
  color: var(--cuarto-color);
  font-size: 2rem;
  font-weight: 800;
}

.containerubi h1{
  color: var(--tercer-color);
 font-family: "Carattere", cursive;
  font-size: 3rem;
  font-weight: 200;
  max-width: 600px;
  padding: 10px;
}

.containerubi h4{
  color: var(--tercer-color);
  font-weight: 300;
  font-size: 1.1rem;

}

.containerubi .ico img{
   width: 100px;
}

.containerubi .btn{
  
  background-color: var(--cuarto-color);
  padding: 15px;
  margin: 10px;
  border-radius: 30px;
  color: var(--tercer-color);

  
}

.containerubi .btn a{
  text-decoration: none;
  color: #fff;
  font-weight: 800;
}


/*¨REGALOS*/

.containerregalo {
  background-image: url(images/fondo2.jpg);
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 30px;
  padding-top: 40px;
}

@media (max-width: 748px){
    .containerregalo{
        padding: 10px;
        background-image: url(images/fondov.jpg);
    }
}

.containerregalo h3{
  color: var(--cuarto-color);
  font-size: 1rem;
  font-weight: 800;
}

.containerregalo span h1{
  font-size: 5rem;
  font-weight: 400;
  padding-bottom: 50px;
  letter-spacing: -2px;
}

.containerregalo h1{
  color: var(--cuarto-color);
 font-family: "Carattere", cursive;
  font-size: 3rem;
  font-weight: 200;
  max-width: 600px;
  padding: 10px;
  text-align: center;
}

.containerregalo h4{
  color: var(--cuarto-color);
  font-weight: 300;
  font-size: 1.1rem;
  padding: 10px;
  text-align: center;

}

.containerregalo .ico img{
   width: 130px;
}

.containerregalo .btn{
  
  background-color: var(--cuarto-color);
  padding: 15px;
  margin: 10px;
  border-radius: 30px;
  color: var(--tercer-color);

  
}

.containerregalo .btn a{
  text-decoration: none;
  color: #fff;
  font-weight: 800;
}

/*CODIGO*/



.codigo {
  background-color: var(--primary-color);
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 30px;
  padding-top: 40px;
}

.codigo h3{
  color: var(--cuarto-color);
  font-size: 2rem;
  font-weight: 800;
}

.codigo span h1{
  font-size: 5rem;
  font-weight: 400;
  padding-bottom: 50px;
}

.codigo h1{
  color: var(--cuarto-color);
 font-family: "Carattere", cursive;
  font-size: 4rem;
  font-weight: 200;
  max-width: 600px;
  padding: 10px;
  text-align: center;
}

.codigo h4{
  color: var(--cuarto-color);
  font-weight: 300;
  font-size: 1.3rem;
  padding: 10px;
  text-align: center;

}

.codigo .ico img{
   width: 130px;
}

.codigo .btn{
  
  background-color: var(--cuarto-color);
  padding: 15px;
  margin: 10px;
  border-radius: 30px;
  color: var(--tercer-color);
  

  
}

.codigo .btn a{
  
  text-decoration: none;
  color: #fff;
}

.codigo h2{
  color: var(--tercer-color);
  font-weight: 300;
  font-size: 1.3rem;
  padding: 10px;
  text-align: center;
}

.send .ico img{
  width: 120px;
}

/**CONFIURMACIÓN*/

.send{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.send h1{
  color: var(--cuarto-color);
 font-family: "Carattere", cursive;
  font-size: 4rem;
  font-weight: 200;
  max-width: 600px;
  padding: 10px;
  text-align: center;
}
.send h4{
  color: var(--cuarto-color);
  font-size: 1.4rem;
  font-weight: 400;
  text-align: center;
  padding: 20px;
}

.send h3{
  color: var(--cuarto-color);
  font-size: 1.4rem;
}
.send h2{
  font-size: 2rem;
  color: var(--cuarto-color);
}

.send .btn{
  background-color: var(--cuarto-color);
  padding: 20px;
  border-radius: 30px;
  margin: 20px;
  margin-bottom: 30px;
  
}

.send .btn a{
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
}

/* footer */

.footer{
   background: #000000;
  display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   padding: 20px;
 }

 .footer .icof{
   display: flex;
   justify-content: center;
   align-items: center;
   width: 100%;
   
 }

 .footer .icof img{
   width: 190px;
 }

 @media(min-width: 29px){
   .footer .icof img{
   width: 60px;
 }
 }
 .footer .logon{
display: flex;
   justify-content: center;
   align-items: center;
   width: 100%;
 }

 .footer .logon img{

   width: 130px;
 }

 .footer .text h1{
    font-family: "Poppins", sans-serif;
   color: white;
   font-size: 1rem;
   text-align: center;
   font-weight: 400;
   
 }

 .footer .text h3{
   font-family: "Poppins", sans-serif;
   font-size: .5rem;
   text-align: center;
   color: white;
   font-weight: 400;
   letter-spacing: 4px;
 }

/* end */

/* Estilos para botón flotante de audio */
.floating-audio-btn{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 1008;
  cursor: pointer;
  border: 3px solid rgba(255,255,255,0.08);
}
.floating-audio-btn i{
  color: #fff;
  font-size: 20px;
}

@media (max-width: 480px){
  .floating-audio-btn{ right: 14px; bottom: 14px; width: 48px; height: 48px; }
  .floating-audio-btn i{ font-size: 18px; }
}

/* Pequeña indicación para cuando esté reproduciendo */
.floating-audio-btn.playing{
  animation: pulse 1.6s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
  50%{ box-shadow: 0 12px 28px rgba(0,0,0,0.35); }
  100%{ box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
}
