:root {
  --negro:#000;
  --blanco: #fff;
  --morado :  rgb(79 33 112);
  --lila: #6c69a3;
  --azul: #0058C9;
  --celeste: #4bafe8;
  --amarillo: #FFD700;
}

/* COLORS */
.tx-negro{
 color: var(--negro);
}
.bg-negro{
  background-color: var(--negro);
}
.tx-blanco{
  color: var(--blanco);
}
.bg-blanco{
  background-color: var(--blanco);
}
.tx-morado{
  color: var(--morado);
}
.bg-morado{
  background-color: var(--morado);
}
.tx-lila{
  color: var(--lila);
}
.bg-lila{
  background-color: var(--lila);
}
.tx-azul{
  color: var(--azul);
}
.bg-azul{
  background-color: var(--azul);
}
.bg-celeste{
  background-color: var(--celeste);
}
.underline{
  text-decoration: underline;
}

.tx-celeste{
  color: var(--celeste);
}

.bg-amarillo{
  background-color: var(--amarillo);
}

.text-amarillo{
  color: var(--amarillo);
}

.border-celeste{
  border: 2px solid var(--azul) !important;
  border-radius: 0.7rem !important;
}

/** CABECERA */
.cabecera{
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: var(--morado);
  min-height: 10dvh;
  top: 0;
  z-index: 9999;;
}
.cabecera-movil{
  top: 0;
}
.cabecera img{
  max-width: 15rem;
}
.cabecera .menu ul{
  list-style: none;
  font-size: 2rem;
}
.cabecera .menu ul a{
  text-decoration: none;
  color: white;
}
.cabecera .menu ul a:hover{
  text-decoration: underline solid white; 
  text-underline-offset: 8px;
}
.cabecera .menu ul a.active{
  text-decoration: underline solid white; 
  text-underline-offset: 8px;
}
.cabecera-movil .menu-desplegable{
  border-top: 2px solid white;
}
.cabecera-movil .menu-desplegable a{
  text-decoration: none;
  color: inherit;
}
.cabecera-movil .menu-desplegable p{
  font-size: 2rem;
}
.cabecera-movil .menu-desplegable p.active{
  color: var(--morado);
  background-color: white;
  border-radius: 10px;
}
.cabecera-movil .menu-desplegable p.active.w-30{
  max-width: 30%;
}
.cabecera-movil .menu-desplegable hr{
  color: var(--white);
  height: 1px;
  opacity: 1;
}
.cabecera-movil svg{
  cursor: pointer;  
}

/** SECCION MAIN */
.toosoon, .finalizado, .confirmation{
  padding: 8rem 0;
}

.main{
  background-image: url(/main/assets/img/Fondo.jpg);
    background-position: top center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 15rem;
    margin-top: 4rem !important;
    padding-top: -10vh;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.main img.img-grande{
  padding-top: 2rem !important;
  margin: auto;
}
.main h1{
  font-size: 1.8rem;
  margin-top: -8%;
}
.main h1 .text-shadow{
  text-shadow: 1px 1px black;
}
.main h1 img{
  max-width: 5%;
}
.main-validation {
    background-image: url(/main/assets/img/Fondo.jpg);
    background-position: top center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 25rem;
    padding-top: -10vh;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.icono-logo{
  max-width: 3rem;
}
.icono-logo.icono-liga{
  max-width: 9rem;
}
.arrow-container{
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--azul);
  cursor: pointer;
}
.arrowdown{
  max-width: 1.5rem;
}
.relative{
  position: relative;
}
.bbll{
  position: absolute;
  right: 5%;
}
.bbll a{
  text-decoration: underline solid white; 
  color: white
}

.bandolera-img {
  margin-top: 3rem;
  max-width: none;
  width: calc(100% + 7.5rem);
  height: clamp(350px, 95vh, 950px); /* ajusta la altura con límite mínimo y máximo */
  z-index: 3;
  position: relative;
  margin-right: -0.5rem;
}
.bandolera-movil-manual{
  background-image: url(/main/assets/img/Trazado\ 60.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 58dvh;
}
.band-manual{
  height: 20rem;
  width: 90%;
  padding-top: 1rem;
  padding-left: 2.5rem;
}
.band-legal{
  font-size: 0.8rem;
  padding: 0 2.5rem;
  margin-top: 0.5rem;
  line-height: 0.9rem;
}
.jugadores-home {
  margin-top: 16rem;
  max-width: auto;
  height: clamp(250px, 95vh, 350);
  width: calc(100% + 7.5rem);
}




/*efecto ola*/
.wave-up {
  margin-top: -11rem;
  position: relative;
  z-index: 1;
}

.bandolera-movil{
  margin-top: -3.5rem;
}

/** FORMULARIO */
.formulario{
  margin-top: -1.5rem;
}
.formulario .titulo-form{
  font-size: 1.7rem;
  margin-top: -1.5rem;
}
.formulario .subtitulo-form{
  font-size: 1.7rem;
}
.formulario .texto-form{
  font-size: 0.9rem;
  line-height: 1rem;
  font-weight: 600;
}
.formulario .input-form{
  font-weight: 600;
}
.formulario .input-info{
  font-weight: 300;
  font-size: 0.8rem;
}
.formulario input[type=text], .formulario select{
  border-radius: 10px;
  border: none;
}
.uploadfoto_box *{
  border:none;
  border-radius: 50px;
  cursor: pointer;
} 
.uploadfoto_box label{
  font-size: 1rem;
  line-height: 2.5rem;
  font-weight: 600;
}
.uploadfoto_box .camara{
  max-width: 12%;
}
.formulario input[type=checkbox]{
  border: 0.5px solid var(--morado);
}
.tipo-promo-options{
  flex-wrap: wrap;
}
.tipo-promo-option{
  position: relative;
  width: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tipo-promo-input{
  opacity: 0;
  position: absolute;
  pointer-events: none;
}
.tipo-promo-card{
  width: 12rem;
  height: 8rem;
  border: 2px solid var(--azul);
  border-radius: 0.7rem;
  background-color: var(--blanco);
  color: var(--azul);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.tipo-promo-img{
  width: 100%;
  height: 6rem;
  object-fit: contain;
}
.tipo-promo-title{
  min-height: 2.4rem;
  margin-top: 0.5rem;
  color: var(--azul);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}
.tipo-promo-input:checked + .tipo-promo-card{
  background-color: var(--azul);
  color: var(--blanco);
  box-shadow: 0 0 0 4px rgba(0, 88, 201, .2);
  transform: translateY(-2px);
}
.tipo-promo-input:checked ~ .tipo-promo-title{
  color: var(--azul);
}
.tipo-promo-input:focus-visible + .tipo-promo-card{
  outline: 3px solid var(--celeste);
  outline-offset: 3px;
}
.tipo-promo-input.error + .tipo-promo-card{
  border-color: red !important;
}
.formulario a{
  color: var(--morado);
}
.formulario .participar{
  font-weight: 600;
  font-size: 1.5rem;
  border-radius: 50px;
  cursor: pointer;
}
.formulario .error{
  border: 2px solid red !important;
}

/*  REDIRECCION A LA LIGA  */
.redireccion .redirect{
  font-size: 1.6rem;
}
.redireccion .redirect a{
  /* text-decoration: none; */
  color: inherit;
}
.redireccion .legal{
  font-size: 0.9rem;
}
.redireccion .legal a{
  /* text-decoration: none; */
  color: inherit;
}

.winner .titulo{
  margin-top: 1.5rem;
  font-size: 3rem;
  line-height: 5rem;
}

.winner .subtitulo{
  font-size: 2rem;
  line-height: 3rem;
}


/* FOOTER */
.footer img{
  max-width: 6rem;
}
.footer img.ig{
  width: 1.2rem;
}
.footer .enlaces a{
  text-decoration: none;
  color: white;
  font-size: 0.8rem;
} 
.footer hr{
  color: white;
  height: 1px;
  opacity: 1;
}
.footer .mdlz{
  min-width: 10rem;
}
.footer p{
  font-size: 0.8rem;
}

/* BBLL */
table{
  border: 2px solid var(--azul);
  width: 100%;
}
table tr,table td{
  border: 1px solid var(--azul);
}
table td{
  padding: 1%;
}
td:nth-child(1){
  width: 20%;
}
td:nth-child(2){
  width: 40%;
}
td:nth-child(3){
  width: 20%;
}
td:nth-child(4){
  width: 20%;
}

/* LOADER */

.divloader{
  width: 100dvw;
  height: 100dvh;
  margin: 0;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,.5);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader {
  width: 48px;
  height: 48px;
  border:10px solid #FFF;
  border-radius: 50%;
  position: relative;
  transform:rotate(45deg);
  box-sizing: border-box;
  z-index: 1001;
}
.loader::before {
  content: "";
  position: absolute;
  box-sizing: border-box;
  inset:-10px;
  border-radius: 50%;
  border:10px solid var(--morado);
  animation: prixClipFix 2s infinite linear;
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}

@media screen and (min-width: 320px){
.bandolera-movil-manual{
  background-image: url(/main/assets/img/Trazado\ 60.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 100dvh;
}
.main-validation {
    background-image: url(/main/assets/img/Fondo.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 18rem;
    margin-top: 2rem;
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    background-position: center top;
}
}
@media screen and (min-width: 360px){
.bandolera-movil-manual{
  background-image: url(/main/assets/img/Trazado\ 60.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 70dvh;
}
.main {
  height: 40rem !important;
  margin-top: -0.1rem !important;
}
}
@media screen and (min-width: 375px){
.bandolera-movil-manual{
  background-image: url(/main/assets/img/Trazado\ 60.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 60dvh;
}
}
@media screen and (min-width: 414px){
.bandolera-movil-manual{
  background-image: url(/main/assets/img/Trazado\ 60.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 90dvh;
}
.band-manual {
    height: 35rem;
    width: 95%;
    padding-top: 2.5rem;
    padding-left: 1.7rem;
}
.band-legal {
    font-size: 1rem;
    padding: 2rem;
    padding-top: 1rem;
    margin-top: 0.5rem;
    line-height: 1.5rem;
}    
}
@media screen and (min-width: 518px){
  .main-validation {
    background-image: url(/main/assets/img/Fondo.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 24rem;
    margin-top: 2rem;
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    background-position: center top;
}
}
@media screen and (min-width: 768px){
    .main {
    height: 30rem !important;
    /* margin-top: -1rem !important; */
  }
  .bandolera-movil-manual{
  background-image: url(/main/assets/img/Trazado\ 60.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 90dvh;
}
.band-manual {
   height: 35rem;
    width: 90%;
        padding-top: 2.5rem;
        padding-left: 4.5rem;
}
.band-legal {
    font-size: 1.3rem;
    padding: 2.5rem;
    margin-top: 0.5rem;
    line-height: 1.5rem;
}    
}
@media screen and (min-width: 820px){
.bandolera-movil-manual{
  background-image: url(/main/assets/img/Trazado\ 60.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 90dvh;
}
.band-manual {
    height: 39rem;
    width: 80%;
    padding-top: 3rem;
    padding-left: 2.5rem;
    margin-left: 4rem;
}
.band-legal {
    font-size: 1.3rem;
    padding: 2.5rem;
    margin-top: 0.5rem;
    line-height: 1.5rem;
}    
}
  @media screen and (min-width: 992px) {
  

  /* footer */
  .footer .laliga{
    border-inline: 2px solid white;
  }

  .formulario{
    margin-top: 0;
  }

  .formulario .titulo-form{
  font-size: 3rem;
  margin-top: 0rem;
}
.formulario .subtitulo-form{
  font-size: 3rem;
}
  
}

@media screen and (min-width: 992px) and (orientation: portrait) {

  .main{
    height: 48dvh;
    margin-top: -3rem !important;
  }
  .main img.img-grande{
    padding-top: 15rem;
    max-width: 70%;
    margin: auto;
  }
  .main h1{
    font-size: 4rem;
    margin-top: -10%;
  }
}

@media screen and (min-width: 992px) {
  .main{
  height: 40rem !important;
    /* margin-top: -3rem !important; */
  }
  .main img.img-grande{
    padding-top: 15rem;
    margin: auto;
  }
  .main h1{
    font-size: 4rem;
    margin-top: -10%;
  }
  .icono-logo{
    max-width: 5rem;
  }
  /*  REDIRECCION A LA LIGA  */
  .redireccion .redirect{
    font-size: 3rem;
    line-height: 6rem;
  }
  .redireccion .redirect a{
    /* text-decoration: none; */
    color: inherit;
  }
  .redireccion .legal{
  font-size: 1.2rem;
  padding: 0 5rem;
  }
  .redireccion .legal a{
    /* text-decoration: none; */
    color: inherit;
  }
  .toosoon .h2{
    font-size: 5rem !important;
  }
}
@media screen and (min-width: 1000px){
  .main-validation {
    background-image: url(/main/assets/img/Fondo.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 30rem;
    margin-top: 2rem;
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    background-position: center top;
}
}

@media screen and (min-width: 1200px) {
  .main h1{
    font-size: 8rem;
    margin-top: -5%;
  }
  .letra{
    font-size: 5rem !important;
  }
  .main-validation {
    background-image: url(/main/assets/img/Fondo.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 40rem;
    margin-top: 2rem;
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    background-position: center top;
}
}

@media screen and (min-width:1367px){
  
}

@media screen and (min-width: 1400px) {
  
}

@media screen and (min-width: 1860px) {
.jugadores-home {
  margin-top: 14rem;
  max-width: auto;
  height: clamp(250px, 95vh, 450);
  width: calc(100% + 7.5rem);
  
}
.main-validation {
    background-image: url(/main/assets/img/Fondo.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 55rem;
    margin-top: 2rem;
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    background-position: center top;
}
}

.background-gradiant{
  background: #733e9c;
  background: linear-gradient(122deg, rgba(115, 62, 156, 1) 45%, rgba(43, 90, 166, 1) 73%);
}

.main-home {
    background-image: url(/main/assets/img/background-promo.png);
    background-position: top center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: 50rem;
    height: 85dvh;
    margin-top: 0;
  }
  .main {
    background-image: url(/main/assets/img/Fondo.png);
    background-position: top center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 55dvh ;
    /* margin-top: -3rem !important; */
  }

  @media (max-width: 1024px) {
    .main-home {
      background-image: none;
      background-position: top center;
      background-size: 100% 100%;
      background-repeat: no-repeat;
      min-height: 0;
      height: auto;
      margin-top: 0;
      padding: 0;
      border: 20px solid transparent;
      background:
        linear-gradient(90deg, var(--lila) 35%, var(--azul) 75%) border-box;
  }
  .cont-mobile{
     background-image: url(/main/assets/img/cesped.png);
     background-position: top center;
     background-size: cover;
     background-repeat: no-repeat;
     padding: 4rem 1.5rem 2.5rem !important;
  }
  .home-hero-content{
    padding-top: 0 !important;
    gap: 1.5rem;
  }
  .home-claim{
    display: flex;
    justify-content: center;
    width: 100% !important;
  }
  .home-claim img{
    max-width: min(32rem, 88vw);
  }
  .home-prizes{
    padding-top: 0 !important;
    width: 100% !important;
  }
  .home-prizes img:first-child{
    max-width: min(18rem, 58vw);
  }
  .home-prizes img:last-child{
    max-width: min(32rem, 72vw);
  }
  .home-steps{
    width: 100% !important;
    max-width: 42rem;
    margin-top: 1.5rem !important;
    padding-top: 1rem;
  }
  .home-steps > div{
    gap: 0.75rem;
  }
  .home-steps section{
    align-items: center;
    gap: 1rem;
    padding-top: 0.75rem;
  }
  #formulario{
    padding-top: 3rem !important;
  }
  }

    @media (max-width: 765px) {
    .main-home {
    /* background-image: url(/main/assets/img/Fondopc.jpg); */
    background-position: top center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: 0;
    height: auto;
    margin-top: 0;
  }
  .cont-mobile{
    padding-inline: 1rem !important;
  }
  .home-steps .text-lg{
    font-size: 1rem !important;
    line-height: 1.25rem !important;
  }
  .home-steps .text-\[0\.5rem\]{
    font-size: 0.62rem !important;
    line-height: 0.85rem !important;
  }
  .home-steps section{
    flex-direction: column;
    text-align: center;
  }
  .home-steps section p{
    text-align: center !important;
  }
  }

  @media (max-width: 624px) {
    .main-home {
    /* background-image: url(/main/assets/img/Fondopc.jpg); */
    background-position: top center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: 0;
    height: auto;
    margin-top: 0;
  }
  }

    @media (max-width: 480px) {
    .main-home {
    /* background-image: url(/main/assets/img/Fondopc.jpg); */
    background-position: top center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: 0;
    height: auto;
    margin-top: 0;
  }
  .cont-mobile{
    padding-top: 3rem !important;
  }
  .home-claim img{
    max-width: 92vw;
  }
  .home-prizes img:first-child{
    max-width: 68vw;
  }
  .home-prizes img:last-child{
    max-width: 82vw;
  }
  }
