/*Pantalla de carga*/
    body.loading {
      overflow: hidden;
    }

    /* Pantalla de carga */
    #loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: #f4f4f2;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    } 
    
    @font-face {
        font-family: 'Monte Carlo';
        src: url('font/MonteCarlo.ttf') format('truetype');
    }

    @font-face {
        font-family: 'Libre Baskerville';
        src: url('font/LibreBaskerville.ttf') format('truetype');
    }

/*Cuerpo*/
body{
    font-family: 'Libre Baskerville';
    text-align: center;
   text-align-last: center;
   background-color: #f4f4f2;
   color: #284139;
}

.main{
  width: 75%;
  margin: auto;
}
#portada{
    background-image: linear-gradient(rgba(128, 144, 119, 0.0), rgba(128, 144, 119, 0.5)),
                  url("combg06.webp");
    background-position:center;
    background-size: cover;
    color: #fff4e1;
    text-shadow: 1px 1px 0px rgba(21,21,21,1);
    height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.textoportada{
}

.textoportada h1{
    font-family: 'Monte Carlo';
    font-size: 100px;
}

#frase{
  padding: 100px 40px 60px 40px;
}

#deco img{
  width: 40%;
  height: auto;
  margin: auto;
  margin-bottom: 30px;
}

lord-icon{
    width: 90px;
    height: 90px;
    margin: auto;
}

#timer, .date, .carousel, .textoasistencia{
    width: 60%;
    margin: auto;
    padding: 50px 0px 50px 0px;
}

/*Cuenta regresiva*/

.countdown{
    padding: 25px 0px 50px 0px;
   background-color: #809077;
   color: #f8d793;
   box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.countdown h4{
    font-family: 'Monte Carlo';
    font-size: 45px;
}

.deco img{
   width: 100%;
}

span{
   font-size: 45px;
}

/*Boton*/

.boton{
   width: 250px;
   height: 50px;
   padding: 10px;
   margin: auto;
   border-radius: 20px;
   background-color: #ddddbf;
   box-shadow: rgba(59, 94, 130, 0.4) 0px 5px 15px;
}
.boton:hover{
    transform: scale(1.05);
    transition: all .2s ease-in-out;
}

.boton a{
   text-decoration: none;
   color: #605f4a;
   font-weight: 600;
}

.boton a:hover{
   text-decoration: none;
}

/*Card*/

.card.info{
   margin: 20px;
   padding: 20px;
   background-color: rgba(0, 0, 0, 0);
   color: #72787c;
   border: none;
}

.asistencia{
    padding: 50px 0px 50px 0px;
}

.textoasistencia{
   background-color: #ffffff;
   border-radius: 30px;
   padding: 20px;
   box-shadow: rgba(59, 94, 130, 0.4) 0px 5px 15px;
}

/*Galeria de imagenes*/
.carousel{
   width: 70%;
   margin: auto;
 }

 .scroll-container {
  background-color: rgba(0, 0, 0, 0);
  overflow: auto;
  white-space: nowrap;
}

div.scroll-container img {
   width: 25%;
   height: auto;
   margin: 10px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 20px;
}

/*Scrollbar*/
::-webkit-scrollbar {
  height: 10px;
}


::-webkit-scrollbar-track {
  background: none;
}


::-webkit-scrollbar-thumb {
   border-radius: 8px;
  background: #ce2c50;
  background-color: #72787c;
}


::-webkit-scrollbar-thumb:hover {
  background: #72787c;
}

/*Footer*/
footer{
   margin-top: 30px;
   padding: 35px 15px 35px 15px;
   border-top: 1px solid #ddddbf;
   background-color: #809077;
}

footer a{
   font-family: fisterra-fora, sans-serif;
   font-weight: 700;
   font-style: normal;
   color: #f8d793;
   text-decoration: none;
   font-size: 55px;
}

.redes{
   width: 40%;
   margin: auto;
}

@media screen and (max-width: 1024px){

    .main, #timer, .date, .carousel, .asistencia{
    width: 100%;
}

}

@media screen and (max-width: 768px){

#portada{
    height: 65vh;
    padding: 50px 15px 50px 15px;
}

.textoportada{
    padding: 50px 15px 50px 15px;
}
.textoasistencia{
    width: 100%;
}

.carousel{
      width: 100%;
   }

   div.scroll-container img {
   width: 45%;
   }
}


@media screen and (max-width: 430px){

    #portada{
        height: 95vh;
        padding: 100px 40px 50px 40px;
    }

    div.scroll-container img {
   width: 85%;
   }

   .redes{
    width: 100%;
   }

}

@media screen and (max-width: 376px){

    #portada{
        padding: 50px 40px 50px 40px;
    }

}