:root {
  --negro:#1d1d1b;
  --amarillo: #fedb00;
  --gris:#f5f5f5;
  --naranja: #d35917;
}

body {
  background-image: url("/main/assets/img/fondo.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* COLORS */
.tx-negro{ color: var(--negro); }
.bg-negro{ background-color: var(--negro); }
.tx-black{ color: #000; }
.bg-black{ background-color: #000; }
.tx-amarillo{ color: var(--amarillo); }
.bg-amarillo{ background-color: var(--amarillo); }
.underline{ text-decoration: underline; }

/* FORMULARIO */
.inputs {
  background: white;
  font-size: smaller;
}

div.seccion {
  margin: auto;
  width: 50%;
  text-align: center;
}

form .error {
  border: 2px solid red !important;
}
form .error:not([type="checkbox"]) {
  background-color: white;
  color:red;
}
form .error::placeholder {
  color:red ;
}

#tiempo::before{
  content: "reloj";
}

form .participar{
  cursor: pointer;
  font-size: 1.5rem;
}

/** SECCION 1 PRE */
.inicio{
  max-width: 100vw;
  height: 100dvh;
  position: relative;
}
.bg-inicio{
  background-image: url(/main/assets/img/fondo-home-movil.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100%;
}
.inicio .first{ height: 75dvh; }
.inicio .last{ height: 25dvh; }

.coctelera{
  position: absolute;
  top: 25%;
  right: 0;
  width: 20dvw;
}
.coctelera-movil{
  position: absolute;
  top: 40%;
  right: 0;
  width: 30dvw;
}
.bodegon{
  position: absolute;
  top: 40%;
  right: 5%;
  width: 50%;
}
.bodegon-movil{
  position: absolute;
  bottom: 23%;
  right: 0;
  width: 100%;
  padding: 0 7%;
}
.participa a{
  text-decoration: none;
  color: white;
  font-size: 2rem;
  background-color: var(--azul-claro) ;
  padding: 0.5rem 3rem;
  border-radius: 50px;
}

/** SECCION 2 */
.texto-pasos{ line-height: 1.2rem; }
.parte-2 .row{
  width: 50dvw;
  margin:auto;
  text-align: center;
}
.coctel{
  color: var(--amarillo);
  font-size: 1.5rem;
}
.descripcion{ color: white; }

/** SECCION 3 */
.parte-3 .row .container{
  width: 90%;
  margin:auto;
  text-align: center;
}

.input_form{
  font-size: 1.1rem;
  text-align: left;
}

#parte-3 form #uploadfoto button{
  color: white;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 60px;
}

.boton-captura{
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/main/assets/img/cam.png);
}
.boton-ok{
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/main/assets/img/cam2.png);
}

#parte-3 form #uploadfoto button label{
  color: rgba(0,0,0,0);
  width: 100%;
  cursor: pointer;
}

div.form-check {
  font-size: .6rem;
  color: white;
  cursor: pointer;
}

div#parte-3 form div.form-check input {
  height: 15px;
  width: 15px;
  margin-top: 1px;
}

div#parte-3 form select {
  color: var(--naranja);
  height: 2rem;
  background-color: var(--amarillo);
  text-align: center;
  font-family: Gotham_book;
  font-size: 1rem;
  font-weight: bolder;
  appearance: none;
  background-image: url(/main/assets/img/flecha.png);
  background-size: 1.1rem;
  background-position: center right 1rem;
  background-repeat: no-repeat;

  border: solid 1px var(--naranja);
  border-radius: 2rem;
}
option{
  color:var(--negro);
  font-family: Gotham_book;
  font-size: 1.2rem;
}

.fechayhora {
  width: 100%;
  font-size: 0.9rem;
}

/* change color of calendar icon */
::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.decoration { display: none; }

/* FOOTER */
.footer a{
  text-decoration:none;
  color: var(--negro);
  line-height: 1rem;
}
.footer a:hover{
 text-decoration: underline solid var(--negro);
}
.footer-movil{ font-size: 0.8rem; }
.footer .subtexto .gotham-book{ font-size: 0.8rem; }

.bordes-laterales{
  margin-inline:3vw;
  border-inline: 5px solid black;
}
.bordes-finales{
  margin:0 3vw;
  border-inline: 5px solid black;
  border-bottom: 5px solid black;
}

/* VIDEO PPAL */
body{ position: relative; }
.video.flotante{
  width: 100dvw;
  height: 100dvh;
  background-color: rgba(0,0,0,.8);
  position:fixed;
  top: 0;
  left: 0;
}
.video svg{
  position: absolute;
  top:8%;
  right: 8%;
  width: 5%;
  stroke: var(--amarillo);
  cursor: pointer;
}
.video video{
  max-width: 300px;
  max-height: 640px;
  margin: auto;
}

@media screen and (min-width: 768px) {
  .bg-inicio{
    background-image: url(/main/assets/img/fondo-home.png);
    background-size: 100%;
  }
  .borde-pasos{
    border-inline: 2px solid var(--amarillo);
  }
  .parte-3 .row .container{
    width: 80dvw;
    margin:auto;
    text-align: center;
  }
  .inicio{ height: unset; }
  .inicio .first{ height: unset; }
  .parte-2 .row{ width: 100dvw; }
}

@media screen and (min-width: 992px) {
  .inicio{ min-width: 60vw; }
  .parte-2 .row{
    width: 75dvw;
    margin:auto;
    text-align: center;
  }
  div#parte3 form { width: 75dvw; }
  .bodegon{ top: 30%; }
}

@media screen and (min-width: 1200px) {
  div#parte3 #subetuticket { width: 60%; }

  .parte-3 .row .container{
    width: 60dvw;
    margin:auto;
    text-align: center;
  }
  .bodegon{
    top:25%;
    right: 15%;
    width: 40%;
  }

  .video svg{
    top:5%;
    right: 5%;
    width: 2%;
    stroke: var(--amarillo);
    cursor: pointer;
  }
  .video video{
    max-width: 360px;
    margin: auto;
  }
}

@media screen and (min-width:1367px){
  .inicio{ height: 100dvh; }
  .inicio .first{ height: 75dvh; }
  .bodegon {
    top: 34%;
    right: 8%;
    width: 45%;
  }
  .parte-3 .row .container{ width: 40dvw; }
}

@media screen and (min-width: 1400px) {
  div#parte3 #subetuticket { width: 60%; }

  .main_title { font-size: xx-large; }

  .input_form{ font-size: 1.3rem; }
  div.form-check { font-size: 1rem; }

  div#parte3 form input {
    border: 1px solid white;
    height: 2.2rem;
    border-radius: 1px;
  }
}

@media screen and (min-width: 1860px) {
  div#parte3 #subetuticket { width: 50%; }
  .bodegon {
    top: 25%;
    right: 10%;
    width: 45%;
  }
}

/* Evita “raya” por overflow horizontal */
html, body { overflow-x: hidden; }

/* Asegura que hidden realmente no pinte nada en el modal */
#infomodal.hidden { display: none !important; }