
h1{
  font-size: 3.2rem;
  font-weight: bolder;
  font-family: 'Barlow Semi Condensed';

}
h2{
  font-size: 2.6rem;
  font-weight: 600;
  font-family: 'Barlow Semi Condensed';

}
h3{
  font-size: 2rem;
  font-weight: 600;
  font-family: 'Barlow Semi Condensed';

}
h4{
  font-size: 1.8rem;
  font-weight: 600;
  font-family: 'Barlow Semi Condensed';

}
h5{
  font-size: 1.6rem;
  font-weight: 600;
  font-family: 'Barlow Semi Condensed';

}
h6{
  font-size: 1.4rem;
  font-weight: 600;
  font-family: 'Barlow Semi Condensed';
  color: var(--blue);

}
P{
  font-family: 'Roboto';
}
h6 span{
color: #000;
}
:root {
  --blue: #009FDA;
  --green: #00A535;
  --gray1: #BDBDBD;
  --gray2: #6D6E71;
}

/*top bar*/
section.slider{
  background: linear-gradient(0deg, rgba(240,240,240,1) 0%, rgba(255,255,255,1) 100%); 
  margin-bottom: 0;
  padding-bottom: 0;
}
.navbar-end {
  justify-content: flex-end;
  margin-left: auto;
}
.navbar, .navbar-end, .navbar-menu, .navbar-start {
  align-items: stretch;
  display: flex;
}
.navbar .logo img{
  width:auto;
  height: 2.5vw;
  max-height: 100px;
  min-height: 40px;
}

.navbar .button {
  color: #fff;
  background-color: var(--blue);
  border-radius: 5px;
  padding: 5px 30px;
  font-size: 1.1rem;
  font-weight: 400;
  font-family: 'Roboto';
  border: none;
}
.button.green{
  background-color: var(--green);
}
.button:hover{
  filter: saturate(150%);
}
.swiper {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-wrapper a img:hover {
  filter: saturate(150%);
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper-slide > img {
  margin-bottom: 0;
}
.swiper-slide > a {
  width: 80%;
  min-width: 300px;
  padding: 0 5% 0 0;
}
.swiper-slide > a > img{
  width: 100%;
}
.swiper {
  width: 100%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
}
.mySwiper2 .swiper-slide {
  opacity:0 !important;
}
.mySwiper2 .swiper-slide-active{
  opacity:1 !important;
}
.slider h6 {
  margin-bottom: -20px;
  font-size: 1.2rem;
}
.mySwiper2 {
  height: 80%;
  width: 100%;
}

.mySwiper {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}

.mySwiper .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.5;
}

.mySwiper .swiper-slide-thumb-active {
  animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
.mySwiper .swiper-slide.swiper-slide-visible {
	-webkit-animation: scale-down-center 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  animation: scale-down-center 0.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
.mySwiper .swiper-slide.swiper-slide-visible:hover {
	-webkit-animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbs .swiper-wrapper{
  -webkit-animation: scale-down 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  justify-content: center;
  padding: 30px 0;
}
.thumbs .swiper-slide {
  background-size: cover;
  background-position: center;
  border: 1px solid #C2C2C2;
  flex-direction: column;
  max-width: 200px;
}
.thumbs .swiper-wrapper:hover{
  -webkit-animation: scale-up 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
.thumbs .swiper-slide p{
  color: #fff;
  background-color: var(--blue);
  width: 100%;
  margin-top: -20px;
  font-size: 1.2rem;
  font-weight: 500;
  padding:2px 0;
  font-family: 'Barlow Semi Condensed';
}
.swiper-button-next, .swiper-button-prev {
  position: absolute;
  top: var(--swiper-navigation-top-offset,50%);
  width: 40px;
  height: auto;
  margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}
.swiper-button-next::after, .swiper-button-prev::after {
  font-family: swiper-icons;
  font-size: 24px;
  font-weight: bolder;
  text-transform: none !important;
  letter-spacing: 0;
  font-variant: initial;
  line-height: 1;
}
.swiper-pagination{
  display: none;
}
/* logos-patrocinio */
.logos-patrocinio{
  background-color: #F8F8F8;
  position: absolute;
  width: 100%;
  padding: 10px 0;
  margin-left: -1.5rem;
}
.logos-patrocinio h3{
  font-family: 'Barlow Semi Condensed';
  color:var(--gray2);
  font-weight: 500;
  font-size: 1.8rem;
}
.section.betcris{
  padding-top: 100px;
}
h2 {
  text-transform: uppercase;
  color: var(--gray2);
}
.logo:nth-child(2) {
  margin-left: 15px; /* Margen a la izquierda del segundo logo */
}
.is-narrow{
  display:flex;
  justify-content: center;
}
/*box hovers*/
.blue-line{
  width: 50%;
  margin: 40px auto;
  border-top: 0px solid var(--blue);
}
.box {
  position: relative;
  width: 220px;
  height: 200px;
  overflow: hidden;
  padding:20px 5px 5px 5px;
  margin: 5px;
  box-shadow: 0 5px 5px -.125em rgba(10,10,10,.01),0 0 0 1px rgba(10,10,10,.02);
  border: 1px solid var(--gray1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.front-box h3	{
  font-family: 'Roboto';
  color: var(--gray2);
  text-transform: uppercase;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top:10px;
}	
.front-box {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 150px;
  transition: opacity 0.4s;
  text-align: center;
  padding: 10px;
}
.box .front-box img {
  width: 30%;
  height: auto;
  object-fit: cover;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--blue);
  color: white;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s, transform 0.2s;
}

.box:hover .front-box {
  opacity: 0;
}

.box:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

/*PAGOS*/
.pagos{
  width: 90%;
  max-width: 1180px;
  margin: 60px auto 0;
  border: 1px solid var(--gray1);
  border-radius: 20px;
}
.pagos .columns.logos {
  margin: 40px 0;
}
.pagos .half-logos {
  width: 50%;
}
.pagos .half-logos:first-child {
  border-right: 1px solid var(--gray1);
}
.pagos .half-logos:last-child .column {
  width: 22%;
  min-width: 120px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pagos .half-logos:last-child .column:nth-child(3) img {
   /*margin-top: 20px;*/
}
.pagos .logos p{
  font-size: 0.8rem;
  text-align: center;
}
.pagos .columns {
  margin: 0;
}
.pagos .logos .columns .column{
  display: flex;
  align-items: center;
  justify-content: start;
}
.pagos h2{
  font-family: 'Barlow Semi Condensed';
  font-weight: bold;
  font-size: 2.6rem;
  color: var(--blue);
  margin: 0 20px 0;
}
.pagos img{
  width: 100%;
  min-width: 100px;
  max-height: 60px;
  height: auto;
  min-height: 30px;
}
.pagos .marcas img{
  width: 100%;
  max-height: 40px;
  filter: grayscale(100%);
}
.pagos .button {
  color: #fff;
  background-color: var(--blue);
  border-radius: 5px;
  padding: 0px 15%;
  max-width: 440px;
  font-size: 1.4rem;
  font-weight: medium;
  font-family: 'Roboto';
  background-color: var(--green);
  text-transform: uppercase;
  border: none;
}
#scrollRight, #scrollLeft{
  display: none;
}
/*footer*/
.footer{
  background-color:#E2E2E2 ;
  color: #9C9C9C;
}
footer p{
  padding: 10px 0;
  font-size: 0.8rem;
  margin: auto;
}
footer img{
  width:15%;
  height:80px;
  margin: 0 2%;
}
footer .columns{
  width: 80%;
  margin: auto;
}
footer.footer > .columns:first-child {
  margin-top: -40px;
  border-bottom: 1px solid #bbb;
}
footer.bottom-footer{
  width: 100%;
  background: #E9E9E9;
  padding: 10px 0 80px 0;
}
footer .menu-list{
  margin-top: 10px;
  margin-bottom: 10px;
}
footer .menu-list li a{
  text-decoration: underline;
  color: #9C9C9C;
}
main{
  display: block;
  padding-bottom: 400px;
  background: url('../images/Imagen fondo/football.png') no-repeat bottom center;
  background-size: 100% auto;
}
/*animation*/
 @-webkit-keyframes scale-up-center {
  0% {
    box-shadow: 2px 2px 20px 2px rgba(0,0,0,0.1);
    opacity: 0.7;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    box-shadow: 6px 6px 10px 8px rgba(0,0,0,0.15);
    opacity: 1;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
}
@keyframes scale-up-center {
  0% {
    box-shadow: 2px 2px 20px 2px rgba(0,0,0,0.1);
    opacity: 0.7;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    box-shadow: 6px 6px 10px 8px rgba(0,0,0,0.15);
    opacity: 1;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
}

@-webkit-keyframes scale-down-center {
  0% {
    box-shadow: 6px 6px 10px 8px rgba(0,0,0,0.15);
    opacity: 1;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    box-shadow: 2px 2px 20px 2px rgba(0,0,0,0.1);
    opacity: 0.7;
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
  }
}
@keyframes scale-down-center {
  0% {
    box-shadow: 6px 6px 10px 8px rgba(0,0,0,0.15);
    opacity: 1;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    box-shadow: 2px 2px 20px 2px rgba(0,0,0,0.1);
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes scale-up {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  } 
  100% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}
@keyframes scale-down {
  0% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes showOverlay {
  to {
      opacity: 1;
  }
}
/* RESPONSIVE */
@media (max-width: 768px) {
  /* 768 MOBILE */
body {
    overflow-x: hidden;
}
  h1{
    font-size: 2.8rem;  
  }
  h2{
    font-size: 2.2rem;
  }
  h3{
    font-size: 1.8rem;
  }
  h4{
    font-size: 1.4rem;
  }
  h5{
    font-size: 1.2rem;
  }
  h6{
    font-size: 1rem;  
  }
  main{
    padding-bottom: 100px;
  }
  nav{
    max-width: 100%;
  }
  .navbar .logo img {
    max-height: 70px;
    min-height: 35px;
    margin: 10px 1vw;
  }  
  .navbar, .navbar-end, .navbar-menu, .navbar-start {
    display: flex;
    justify-content: space-between !important;
    max-width: 100vw;
 }
  .navbar .button {
    padding: 5px 15px;
    margin: 10px 5px;
    font-size: 0.9rem;
  }
  .navbar-item{
    padding: 0;
    margin: 0;
  }
  .navbar-end{
    margin: 2px;
  }
  .section.slider{
    background: linear-gradient(0deg, rgba(240,240,240,1) 0%, rgba(255,255,255,1) 100%); 
    padding-top: 5rem ;
  }
  .swiper-button-next, .swiper-button-prev {
    display: none;
  }
  .mySwiper2 .swiper-wrapper .swiper-slide{
    flex-direction: column;
  }
  .mySwiper .swiper-wrapper .swiper-slide{
    width: 175px !important;
  }
  .thumbs .swiper-slide p {
    font-size: 1rem;
  }

  .mySwiper .swiper-slide.swiper-slide-visible,
  .mySwiper .swiper-slide.swiper-slide-visible:hover,
  .mySwiper .swiper-slide-thumb-active,
  .mySwiper .swiper-slide-thumb-active:hover,
  .thumbs .swiper-wrapper, .thumbs .swiper-slide,
  .thumbs .swiper-wrapper:hover, .thumbs .swiper-slide:hover{
    -webkit-animation:none;
    animation:none;
    opacity: 1;
  }
  .slider h6 {
    font-size: 1.1rem;
  }
  .thumbs .swiper-wrapper {
    justify-content: flex-start;
    padding: 40px 0;
  }
  .swiper-pagination{
    display: block;
    padding-bottom: 10px;
  }
  .box{
    margin:auto;
    width: 100%;
    border: 1px solid #ccc;
    box-shadow: none;
    padding	: 50px 10px !important;
  }
  .box .front-box {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    border: none;
  }

  .box:hover .front-box {
    opacity: 1;
  } 
  .box:hover .overlay {
    opacity: 0;
  }
  .box:focus .front-box {
    opacity: 0;
  }
  .box:focus .overlay {
    opacity: 1;
    transform: translateY(0);
  }
  .box {
    margin: 0;
    padding: 0;
    height: 80px;
  }
  .box {
    margin: 0;
    padding: 0;
    height: 80px;
  }
  .box .front-box{
    margin: 0;
    height: 80px;
  }
  .box .overlay{
    margin: 0;
    height: 80px;
    opacity:0;
  }
  .overlay {
    transition: opacity 1s, transform 0.5s;
  }
  .box .front-box img{
    width: 60px;
    height: auto;
    margin: 0 20px 0 15%;
  } 
  .box .front-box h3 {
    text-align: left;
    margin-right: 4%;
  }
  .pagos {
    width: 100%;
    margin: auto;
    border: none;
    border-radius: 0;
  }
  .pagos h2 {
    font-size: 2rem;
    margin: 0 20px 0;
  }
  .pagos .logos .half-logos:last-child{
    display: none;
  }
  .pagos .columns.logos {
    margin: 0;
  }
  .pagos .logos .half-logos:first-child{
   width: 100%;
    margin: auto;
    border-right: none;
    display: flex;
    flex-wrap: wrap;
  }
  .pagos .logos .column{
    flex: 0 0 auto;
  }
  .pagos .button.cta{
    margin-top: 20px;
  }
  .pagos .logos .half-logos .column:nth-child(999){
    padding-left: 400px;
  }

  footer .columns {
    width: 100%;
  }
  footer img{
    width: auto;
    height: 50px;
    margin: 0 2%;
  }
}
@media (max-width: 768px) {
  .logos-patrocinio {
    display: flex;
    flex-direction: column; /* Cambia la dirección a columna */
    align-items: center; /* Centra los elementos */
  }
  
  .logos-patrocinio .title-h3 {
    margin-bottom: 1rem; /* Agrega espacio debajo del H3 */
  }
  
  .logos-patrocinio .logos-container {
    margin-top: 1rem; /* Espacio entre el H3 y los logos */
  }
}