/* ===== Variables ramo ===== */
:root {
  --ramo-azulOscuro: #122941;
  --ramo-azul: #013C72;
  --ramo-azulClaro: #0880FF;
  --ramo-azulFuente:#013C72;
  --ramo-amarillo: #FFCE52;
  --ramo-amarilosClaro: #F9E49A;
  --ramo-verde: #7EF523;
  --ramo-amarilosClaro-rgb: 249, 228, 154;
  --ramo-blanco: #ffffff;
  --ramo-shadow: rgba(0, 0, 0, 0.377);
  --ramo-radius: 45px;
  --ramo-radius-sm: 15px;
  --font-primary: "Inter", sans-serif;
  --font-secondary: "Montserrat", sans-serif;
  --font-bold: "Archivo Black", sans-serif;
}

@font-face {
  font-family: "RamoBold";
  src: url("assets/font/Ramo-Bold.otf")format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "RamoDisplay";
  src: url("assets/font/Ramo-Display.otf")format("opentype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "RamoLight";
  src: url("assets/font/Ramo-Light.otf")format("opentype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: RamoBold, sans-serif;
  font-weight: 700;
  color: var(--ramo-purple);
  scrollbar-width: thin;
  scrollbar-color: var(--ramo-red) var(--ramo-bg);
}

*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: var(--ramo-bg);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--ramo-red);
  border-radius: 20px;
  border: 3px solid var(--ramo-bg);
}




body {
  min-height: 100vh;
  display: flex;
  box-sizing: border-box;
  background-color: var(--ramo-azulOscuro);
  background-image: url(asset/img/textura.png);
  background-size: contain;
  background-position: left;
  background-repeat: repeat-y;
  background-blend-mode: overlay;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.btn{
  background-color: var(--ramo-amarillo);
  color: var(--ramo-azulOscuro);
  border: none;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  padding: .5rem 1rem;
  cursor: pointer;
  font-family: RamoLight, sans-serif ;
  font-weight: 700;
  font-size: 1rem; 
  width: 100%;
  max-width: 180px;
}

.container {
  width: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  min-height: 100dvh;
}

.content-form-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-bottom: .5rem;
  width: 100%;
  margin: 0 auto;

  img{
    width: auto;
    height: 60px;
  }
}

.content-marcas{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  margin: 0 auto;
  height: 50%;
}

.content-marcas-logo{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  img{
    width: 90%;
    height: 250px;
    object-fit: contain;
  }
  span{
    font-size: 1.3rem;
    line-height: 1.3;
    font-family: RamoDisplay, sans-serif;
    font-weight: 800;
    color: var(--ramo-blanco);
    text-align: center;
    max-width: 550px;
  }
}

.content-marcas-form{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
    span{
      font-size: 1rem;
      font-family: RamoDisplay, sans-serif;
      font-weight: 800;
      color: var(--ramo-amarillo);
      text-align: center;
    }

    input{
      border-radius: 10px;
      box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
      padding: .5rem 1rem;
      width: 100%;
      max-width: 300px;
      font-family: RamoLight, sans-serif;
      border: none;
      opacity: .8;
    }
}

.btn-switch{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn-switch > span {
  transition: opacity 0.2s ease;
}

.btn-switch > span.opacity-50 {
  opacity: 0.5;
}


.login-forgot-link {
  background: none;
  border: none;
  color: var(--ramo-amarillo);
  font-size: 1rem;
  font-family: RamoDisplay, sans-serif;
  font-weight: 800;
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.recuperar-password-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.5rem;
}

.recuperar-password-form label {
  font-family: RamoLight, sans-serif;
  font-size: 0.9rem;
  color: var(--ramo-amarillo);
  text-align: left;
  width: 100%;
}

.recuperar-password-form input {
  border-radius: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1rem;
  width: 100%;
  max-width: 100%;
  font-family: RamoLight, sans-serif;
  color: var(--ramo-azulOscuro);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-recuperar-enviar {
  max-width: 200px;
  align-self: center;
  margin-top: 0.25rem;
}

.content-marcas-form-login{
  background-color: #0880ff45;
  border: 1px solid rgba(255, 255, 255, 0.048);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.content-marcas-form-stpes{
  display: flex;
  flex-direction: row;
  gap: 1rem;
  width: 100%;
  height: 100%;
  align-items: stretch;
  .content-marcas-form-stpes-item{
        img {
          max-height: 40px;
         }
       .span-text-1{
        font-size: 1rem;
        line-height: .9;
        font-family: RamoDisplay, sans-serif;
        font-weight: 800;
        color: var(--ramo-amarillo);
       }
       .span-text-2{
        font-size: .9rem;
        line-height: 1;
        font-family: RamoBold, sans-serif;
        font-weight: 600;
        color: var(--ramo-amarillo);
        text-decoration: none;
       }

    width: 100%;
    height: auto;
    background-color: #0880ff45;
    display: flex;
    align-items: center;
    padding: 1rem;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 5px;
    gap: .5rem;
  }
}

.content-marcas-form-login-inputs{
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.content-participantes {
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: .5rem;
  span{
    font-size: 1rem;
    font-family: RamoDisplay, sans-serif;
    font-weight: 800;
    color: var(--ramo-blanco);
  }
}

.content-participantes-logos {
  margin-top: .5rem;
  background-color: var(--ramo-blanco);
  border-radius: 5px;
  width: 100%;
  height: 80px;
  padding: 1rem;
}

.content-participantes-carousel {
  overflow: hidden;
  position: relative;
}

.content-participantes-carousel-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  height: 100%;
  padding: 0 1rem;
  will-change: transform;
  animation: carousel-marquee 35s linear infinite;
  animation-direction:normal;
}

.content-participantes-carousel-track img {
  height: 80px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  padding: .5rem;
}



  

@keyframes carousel-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-participantes-carousel-track {
    animation: none;
  }
}

.opacity-50{
  opacity: .5;
}

.title-how-to-participate{
  font-size: 1.1rem;
  font-family: RamoDisplay, sans-serif;
  font-weight: 800;
  color: var(--ramo-blanco);
  text-align: center;
  width: 100%;
  text-transform: uppercase;
}

.content-disclamer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  color: var(--ramo-blanco);
  font-size: .8rem;
    .tyc{
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      gap: 1rem;
      text-decoration: underline;
    }
      .contact-data{
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        gap: 2rem;
        justify-content: flex-end;
        .contact-data-item{
          display: flex;
          flex-direction: row;
          align-items: center;
          gap: 1rem;
          img{
            min-width: 25px;
            min-height: 25px;
            max-width: 25px;
            max-height: 25px;
            object-fit: contain;
          }
        }
      }
}

.contact-data-item-title{
  font-size: 1rem;
  font-family: RamoDisplay, sans-serif;
  font-weight: 800;
  color: var(--ramo-blanco);
  text-align: end;
  width: 100%;
  text-transform: uppercase;

}
.tyc-link{
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.tyc-popup-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.tyc-popup-overlay.tyc-popup-visible{
  opacity: 1;
  visibility: visible;
}

.tyc-popup-contenido{
  width: min(720px, 92vw);
  max-height: 80vh;
  overflow: auto;
  background: var(--ramo-azulOscuro, #122941);
  border-radius: 5px;
  padding: 1.5rem;
  color: var(--ramo-blanco, #fff);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.tyc-popup-cerrar{
  position: sticky;
  top: 0;
  float: right;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--ramo-amarillo, #FFCE52);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.tyc-popup-titulo{
  font-family: RamoDisplay, sans-serif;
  color: var(--ramo-amarillo, #FFCE52);
  font-size: 1.2rem;
  margin: 0 2.5rem 0.75rem 0;
  text-align: left;
}

.tyc-popup-cuerpo{
  font-size: 1rem;
  text-decoration: none;
  span{
    font-family: RamoLight, sans-serif;
    font-weight: 400;
    color: var(--ramo-blanco);
    line-height: 1.2;

  }
}

.terminos-mecanica-tabla {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
  font-size: 0.8rem;
}

.terminos-mecanica-tabla th,
.terminos-mecanica-tabla td {
  border: 1px solid #000;
  text-align: center;
  padding: 0.35rem 0.4rem;
  vertical-align: middle;
}

.terminos-mecanica-tabla thead th:nth-child(1),
.terminos-mecanica-tabla thead th:nth-child(3),
.terminos-mecanica-tabla > tr:first-child td:nth-child(1),
.terminos-mecanica-tabla > tr:first-child td:nth-child(3) {
  color: #fff;
  font-weight: 700;
}

.terminos-mecanica-tabla thead th:nth-child(2),
.terminos-mecanica-tabla thead th:nth-child(4),
.terminos-mecanica-tabla > tr:first-child td:nth-child(2),
.terminos-mecanica-tabla > tr:first-child td:nth-child(4) {
  color: #fff;
  font-weight: 700;
}

.terminos-mecanica-tabla tbody td,
.terminos-mecanica-tabla > tr:not(:first-child) td {
  background: #fff;
  color: #000;
}



@media (max-width: 800px) {

  
  .content-participantes{
    width: 90%;
    margin: 0 auto;
  }
  .content-form-header{
    padding: 1rem;
  }

  .content-marcas-form-stpes {
    display: flex;
    flex-direction: column;
    padding: 0rem 1rem;
    gap: .5rem;
    .content-marcas-form-stpes-item{
      img {
        width: 55px;
                height: 115px;
      }
    }
}

.content-marcas-form-login-inputs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.content-marcas-form-login{
  height: auto;
  max-height: 100%;
  width: 90%;
}
  .content-marcas {
    display: grid;
    grid-template-columns:  1fr;
    gap: 1rem;
}
.content-disclamer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 90%;
  margin: 0 auto;
}
.content-marcas-logo {
  gap: 0rem;
  span{
    font-size: 1rem;
    width: 90%;
  }
}

.tyc {
  text-align: center;
  margin: 0 auto;
}
img {
  height: auto;
  width: 200px;
}
.container{
  padding: 1rem 0rem;
}

.content-disclamer{
  .contact-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
}
}

.hidden {
  display: none !important;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px; 
}

.slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--ramo-amarillo);
}

input:checked + .slider:before {
  transform: translateX(26px);
}