@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');


body {
    font-family: "Poppins", sans-serif;
    background: url(../img/body-bg.png);
    background-size: repeat;
    background-attachment: fixed;
   
}

html, body {
    margin: 0;

    overflow-x: hidden; 
}

.contenedor-cabecera{
    background-image:url(../img/navbar_bg.png) ;
    height: 100px;
    position:fixed;
    z-index: 1001;

    padding: 0 10px;

}

.contenedor-logo{
    height: 100px;
}
.logo{
    width: 100%;
    max-height: 98px;
}


.barraNavegacion{
 
    font-size: 0.93rem;
    border: #0097b2 3px solid;
    width: 100%;
    position: absolute; 
    top: 77px;
    left:10px; 
    background-color: #3f5965;

    
}


.nav-link{
    color: white !important;
    
}
.nav-item{
    color: white;
    margin: 0;
}



.nav-item :hover {
    background-color: orange;
    
}

.bx{
    display: none;
    color: rgb(194, 218, 72);
}
.navbar-toggler{
    background-color: #0097b2;
    border: none;
}



.contenedor-carrusel{
    
    
    background-image: url(../img/c-bg.png);
    background-size: cover;
    margin-top: 100px;
    padding: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.carousel{
    max-width: 900px;
}
.carousel-item img {
   
    object-fit: cover;
}

.titulo-h1 {
    margin: 40px auto;
    width: 80%;
    background: rgba(118, 87, 29, 0.468); 
    border-radius: 15px; 
    padding: 20px; 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    color: white; 
    font-size: 2em; 
    text-align: center; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.486); 

    max-width: 1000px;
  }



.section{
    background-color: rgba(46, 42, 42, 0.825);
    color: white;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan si no caben */
    width: 90%;
    margin-left: 5%;
    margin-bottom: 20px;
    padding: 20px;
    font-size: 1.5rem;
    border-radius: 50px;

}

.img-section{

    width: 90%;
    max-width: 300px;

}


.section h2
{

    margin: 10px 0;
    color: yellowgreen;
    
}




.info-card{

    transform-origin: top left;
    opacity: 0; 
    transform: translateX(-100px); 
    transition: opacity 1s ease-out, transform 1s ease-out; 
    transition-delay: 0.2s; 
     
}

.content-info-card{
    aspect-ratio:4/5 ;
    height: 70%;
    width:55%; /* Ancho adecuado para pantallas móviles */
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    
    border: #f04848 1px solid;
}

.content-info-card h3, .content-info-card p {
    font-size: 0.6rem;
}

#info-card-site{
    background-image: url(../img/info-card-test.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#info-card-how-to-play{
    background-image: url(../img/info-card-about2.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}



.info-card.derecha {
   
    transform: translateX(100px);
}




/*inicialmente no tiene la clase visible, se la añade el js*/
.info-card.visible {
    opacity: 1;
    transform: translateX(0);
}



.contenedor-titulo-principal{
    margin-top: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contenedor-encuestas{
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    align-items: center;

}
.encuesta-card{
    margin: 70px 30px;
    height: 550px;
    width: 450px;
    font-family: Poppins;
    border-radius: 18px;
    background : white;
    color:white;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.9);
    text-align:center;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;   
}

.encuesta-card-image img{
    width: 100%;
    height: 300px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    background-size: cover;
    transform:translateZ(30px);
    
}


.encuesta-card-text {
    grid-area: text;
    margin: 10px;
    transform: translateZ(30px); 
    transform-style: preserve-3d; 
}


.encuesta-card-text .encuesta-card-date{
    color: rgb(255, 7, 110);
    font-size: 13px;
}

.encuesta-card-text h2{
    margin-top: 0px;
    font-size:28px;
    transform: translateZ(30px); 
    transform-style: preserve-3d; 
    color:#f04848
}
.encuesta-card-text p{
    color: grey;
    font-size: 15px;
    font-weight: 300;
    transform: translateZ(30px); 
    transform-style: preserve-3d; 
}

footer {
    margin-top: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;

    width: 100%;
    
}

.currentPage{
    color: #e1b815 !important;
    font-weight: bold !important;
    font-size: 1.4rem !important;
}








/*************************************************************************************/





  .noticiasContainer {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    margin-top: 200px;
  }
  
  .noticia {
    background-color: #fdf6e3;
    border: 3px solid #a67c52;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    
  }
  
  
  .tituloNoticia {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 2rem;
    margin: 0;
    color: #4b2600;
    text-shadow: 1px 1px 0 #d8b97a;
  }
  
  .fecha {
    font-size: 0.9rem;
    color: #6d5e48;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-style: italic;
  }
  
  .contenido {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #3b2b1a;
  }
  
  .autor {
    margin-top: 1.5rem;
    font-style: italic;
    color: #5c4421;
    border-top: 1px solid #c8b48a;
    padding-top: 0.5rem;
  }
  

  .migas{
    background-color: rgb(32, 31, 30);
    margin-top: 100px;
    color:rgb(206, 206, 206)
  }
  
  
.respuestaReset{
    
    text-align: center;
}

/********************/

@media (min-width: 480px) {
    .tituloNoticia {
      font-size: 1.6rem;
    }
  
    .contenido {
      font-size: 1rem;
    }
  
    .noticia {
      padding: 1.5rem;
    }
  }

/* w-md */
@media (min-width: 768px) {
    .barraNavegacion{
        position: inherit;
        font-size: 1rem;
        flex-wrap: wrap;
        font-size: 1.2rem;          
    }

    .navbar-nav {
        display: flex;
        flex-wrap: wrap;
        max-height: 80px;;
    }

    .nav-item {
        flex:auto;
        
    }   
    .bx{
        display:inline;
        
    }

    .tituloNoticia {
        font-size: 2rem;
      }
    
      .contenido {
        font-size: 1.05rem;
      }
    
      .noticia {
        padding: 2rem;
      }
   
}

/* w-lg */
@media (min-width: 992px) {
    .navbar-nav {
        width:100%; /* Ajusta este tamaño según necesites */
    }

    .img-section{
        max-width: 400px;
    }
    .section-col{
        width: 40%;
    }

}

/* w-xl */
@media (min-width: 1200px) {
    
    .section{
        font-size: 2.5rem;
    }
    .img-section{
        max-width: 600px;
    }
    
   

}

/* w-xxl */
@media (min-width: 1400px) {
    .section-col, .section-col2{
        width: 25%;
        margin: 100px 10px;
        font-size: 1.5rem;

    }
}










