/* ESTILOS GENERALES */ 
/* ==================*/

*,*::before,*::after{
 	margin: 0;
 	padding: 0;
 	-webkit-box-sizing:border-box;
 	-moz-box-sizing:border-box;
 	box-sizing:border-box;
}

html{
	scroll-behavior: smooth;
  font-size: 62.5%;
}

body{
	font-family: "Noto Serif", serif;
  display:flex;
	flex-direction:column;
	min-height:100vh;
	background: #fff;
  font-size: 16px;
}

/* ENCABEZADO (HEADER) */
.encabezado{
    background-image: url(../sources/Encabezado.jpg);
    background-repeat:no-repeat;
    background-size:cover;
    background-position: center top;
    padding: 25px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-encabezado-img{
  flex:1;
}

.item-encabezado-text{
  flex:4;
  text-align: center;
}

.item-encabezado-img img{
    max-width: 45%;
}

.item-encabezado-text h1{
  display:inline;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-style: normal;
  font-weight: 500;
  color:white;
  text-shadow: 2px 2px 4px #000000;
}

.item-encabezado-text span{
  display: block;
  font-style: normal;  
  font-weight: 400;  
 }

/* NAV BAR */
.navbar{
  background-color:#255cbb!important;
  padding: 20px 0;
}

.nav-link {
  color:rgb(255,255,255)!important;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  margin:0 1rem
}

.navbar-toggler{
  border:2px solid white!important;
  font-size: 2rem!important;
}

.navbar-toggler-icon{
  background-color: white;
}

/* ESTILOS HERO VIDEO */
.herovideo{
    width:100%;
    height:500px;
    overflow: hidden;
    background-color: #fff;
    color:#fff;
    position:relative;
    z-index: 1;
}

.herovideo::before{
    content: "";
    width:100%;
    height: 100%;
    top:0;
    left: 0;
    position: absolute;
    background:rgb(37,92,187,0.5);
    z-index: 2;
}

.herovideo video{
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.herovideo_text{
    width: 95%;
    padding: 1rem;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    z-index: 3;
}

.item_herovideo_text h1{
  font-size: clamp(2.5rem, 4vw, 6rem); 
  color:rgb(255,178,2);
  text-shadow: 2px 2px 4px #000000; 
  line-height:1;
  margin-top: 1em;
}

.item_herovideo_text h3,.item_herovideo_text span{
  font-size: clamp(1.8rem, 4vw, 4rem);
  color:rgb(255,255,255); 
  text-shadow: 2px 2px 4px #000000;
  line-height: 1;
}

.item_herovideo_text p{
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 5vw, 4rem);
  color:rgb(255,255,255); 
  text-shadow: 2px 2px 4px #000000;
  line-height: 1;
}

.item_herovideo_text span{
  font-weight: 400;
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-style: italic;
}

.item_herovideo_img{
  text-align: right;
  margin-bottom: 1em;
}

.item_herovideo_img img{
  margin: 10px;
}

.img-1{
  width: 12%;
}

.img-2{
  width: 9.5%;
}

/* ESTILOS DEL CRONOMETRO */
.content_cronometro{
  background-color:#F8FAFC;
  padding: 2rem 1rem;
  font-family: "Lato", sans-serif;
  text-align: center;
  color: #000;
}

.content_cronometro h3{
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight:bold;
  color:#255cbb;
}

.content_cronometro h4{
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight:bold;
  color:rgb(36, 130,140);
}

.content_cronometro iframe{
  background-color:#08457e;
  margin: 1rem 0;
}

/* CONTENIDO PRINCIPAL MAIN */
main{
  padding: 2rem;
}

section{
  margin:1rem;
  padding:1rem;
}

article h2{
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: #08457e;
  margin-bottom: 1.2rem;
}

article h3{
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  font-weight: 600;
  color: #08457e;
  margin-bottom: 1.2rem;
}

article p{
  font-family: "Lato", sans-serif;
  font-size: clamp(1rem, 5vw, 1.8rem);
  line-height: 1.6;
  color:#000;
  text-align: justify; 
  margin-bottom: 1.2rem;
}

article span{
  font-weight:bold;
  color:#08457e;
}

/* QUE ES LA CONVENCION */
.item_informacion-img{
  text-align: center;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.item_informacion-img img{
  width: 50%;
}  

/* VIDEO PROMOCIONAL */
.video_promocional{
  border:1px solid rgb(218, 211, 211);
  border-radius: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.video_promocional-item{
  color:rgb(38,127,137);
  text-align:center;
}  

.video_promocional-item h5{
  font-size: 3rem;
  font-weight: 600;
}

.video_promocional-item h4{
  font-family: "Lato", sans-serif;
  color:rgb(247, 60, 14);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight:500;
}

.video_promocional-item-video{
  margin:0 auto;
}

.video_promocional-item-video video{
  width: 40%;
  height: auto;
  margin-top: 10px;
}

/* ESTILOS SLIDER CARROUSEL HISTORIA */
.historia h2{
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: #08457e;
  margin-bottom: 1.2rem;
}
.carousel-inner{
  border: 2px solid rgb(17,83,108);
  border-radius: 20px;
  background-color: #095ea3;;
  text-align: center;
}

.contenedor-slider{
  width: 80%;
  padding: 10px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
}

.contenedor-slider-img{
  flex: 20%;
}

.contenedor-slider-text{
  background-color: #fff;
  border-radius:1rem;
  padding: 20px;
  flex: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contenedor-slider-text h4{
  color:rgb(17,83,108);
  font-size: clamp(1.8rem, 4vw, 4rem);
  font-weight: bold;
}

.contenedor-slider-text h5{
  color:rgb(228,59,18);
  font-size: clamp(1.2rem, 4vw, 2.8rem);
  font-weight: bold;
}

.contenedor-slider-text p{
  font-size: clamp(0.6rem, 3vw, 1.8rem);
}

.contenedor-slider-img img{
  background-color: #fff;
  border-radius:1rem;
  box-shadow: 7px 7px 12px 0 rgba(255,255,255, 0);
  margin: 0 auto;
  padding: 10px;
  width: 90%;
}


/* BANNER FOOTER */
.banner-footer{
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.banner-footer img{
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen para cubrir el espacio sin estirarse */
    object-position:left;
}

/* FOOTER PIE PAGINA */

.pie_pagina{
	background: rgb(20, 43,85);
	width: 100%;
	padding:2rem 1rem;
	text-align: center;
	font-size: 16px;
	color: white;

  display:flex;
  flex-direction: row;
  justify-content:space-between;
  align-items:center;
  gap: 1rem; 
}

.item_footer-redes, .item_footer-app, .item_footer-contacto{
  flex:25%;
}

/* FOOTER REDES SOCIALES */
.item_footer-redes{
  font-family: "Lato", sans-serif;
  font-size: 1.2rem;
  text-align: center;
}

.item_footer-redes-1 a{
  display:inline-block;
  border-radius:50%;
  padding: 10px;
  margin: 5px;
  width: 40px;
  height: 40px;
  text-align: center;
}

.item_footer-redes-1 i{
  font-size: 20px;
  width: 100%;
}

.twitter{background-color: #000;}
.fa-x-twitter{color:#fff;}

.facebook{background-color:rgb(56,83,152);}
.fa-facebook-f{color: #fff !important;}

.youtube{background-color:rgb(247,0,0);}
.fa-youtube{color: #e6e0e0 !important;}

.instagram{background-color:rgb(208,39,148);}
.fa-instagram{color: #fff !important;}

.tiktok{background-color:rgb(0,0,0);}
.fa-tiktok{color: #fff !important;}

.spotify{background-color:rgb(26,217,95);}
.fa-spotify{color: #fff !important;}

/* FOOTER APP MEXICO */
.item_footer-app{
  font-family: "Lato", sans-serif;
  font-size: 1.2rem;
  text-align: center;
}

.item_footer-app-img{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.item_footer-app-img-1, .item_footer-app-img-2{
  flex:25%;
}

.item_footer-app-img-1 img{
  width: 30%;
}

.item_footer-app-img-2 img{
  width: 80%;
}

/* FOOTER CONTACTO */
.item_footer-contacto{
  font-family: "Lato", sans-serif;
  font-size: 1.4rem;
  text-align:right;
}


/* MEDIA QUERYS */
@media(max-width:992px){

}

@media(max-width:768px){
    .item-encabezado-img img{
    max-width: 90%;
  } 
  
  .herovideo{
     height:250px;
   }  
  
  .item_hero-info{
      align-items: center;      
    }

    .item_hero-info-text{
      flex:3;
    }

    .item_hero-info-img-1, .item_hero-info-img-2{
      flex:1;
    }

    .item_hero-info-text h1{
      font-size: 2.2rem;
    }

    .item_hero-info-text h3{
      font-size: 2.1rem;
    }

    .item_hero-info-text p{
      font-size: 1.8rem;
    }

    .item_hero-info-text p span{
      font-size: 2.1rem;
    }

     .img-1{
      width: 20%;
    }

    .img-2{
      width: 15%;
    }

    .video_promocional-item-video video{
      width: 100%;
    }

       .contenedor-slider{
      width: 95%;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .contenedor-slider-img{
        width: 30%;
        margin-bottom: 10px;
    }

    .contenedor-slider-text{
       width: 80%;
    }

     .pie_pagina{
	    display:flex;
      flex-direction: column;
      justify-content:space-between;
      align-items:center;
    }

    .item_footer-contacto{
      flex:100%;
      order: 1;
      text-align: center;
      padding-bottom: 2rem;
      margin-bottom: 2rem;
      border-bottom: 1px solid white;
      width: 100%;
    }

    .item_footer-app{
      flex:100%;
      order:2;
      padding-bottom: 2rem;
      margin-bottom: 2rem;
      border-bottom: 1px solid white;
    }

     .item_footer-redes{
      flex:100%;
      order:3;
    }


}
  
@media(max-width:576px){
  .item-encabezado-img img{
    max-width: 90%;
  }
  
  .herovideo{
     height:250px;
   }  
  
  .item_hero-info{
      align-items: center;      
    }

    .item_hero-info-text{
      flex:3;
    }

    .item_hero-info-img-1, .item_hero-info-img-2{
      flex:1;
    }

    .item_hero-info-text h1{
      font-size: 2.2rem;
    }

    .item_hero-info-text h3{
      font-size: 2.1rem;
    }

    .item_hero-info-text p{
      font-size: 1.8rem;
    }

    .item_hero-info-text p span{
      font-size: 2.1rem;
    }

   .img-1{
      width: 20%;
    }

    .img-2{
      width: 15%;
    }

    .video_promocional-item-video video{
      width: 100%;
    }

    .contenedor-slider{
      width: 95%;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .contenedor-slider-img{
        width: 30%;
        margin-bottom: 10px;
    }

    .contenedor-slider-text{
       width: 80%;
    }

    .pie_pagina{
	    display:flex;
      flex-direction: column;
      justify-content:space-between;
      align-items:center;
    }

    .item_footer-contacto{
      flex:100%;
      order: 1;
      text-align: center;
      padding-bottom: 2rem;
      margin-bottom: 2rem;
      border-bottom: 1px solid white;
      width: 100%;
    }

    .item_footer-app{
      flex:100%;
      order:2;
      padding-bottom: 2rem;
      margin-bottom: 2rem;
      border-bottom: 1px solid white;
    }

     .item_footer-redes{
      flex:100%;
      order:3;
    }


}