@charset "UTF-8";

/* Bitter Light */
@font-face {
  font-family: 'Bitter';
  src:

    url('fonts/Bitter-Light.woff2') format('woff2'),
    url('fonts/Bitter-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Bitter Regular */
@font-face {
  font-family: 'Bitter';
  src:
    url('fonts/Bitter-Regular.woff2') format('woff2'),
    url('fonts/Bitter-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bitter Bold */
@font-face {
  font-family: 'Bitter';
  src:
    url('fonts/Bitter-Bold.woff2') format('woff2'),
    url('fonts/Bitter-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Tondu */
@font-face {
  font-family: 'Tondu';
  src:
    url('fonts/Tondu-Beta.woff2') format('woff2'),
    url('fonts/Tondu-Beta.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ANIMACIONES SCROLL */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Variantes */

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all .8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all .8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(.9);
    transition: all .8s ease;
}

.reveal-zoom.visible {
    opacity: 1;
    transform: scale(1);
}
/*--------------------------------------------------------------
1. Normalización y globales
--------------------------------------------------------------*/
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Bitter', sans-serif;
  font-weight: 400;
  color: #FFF;
  font-size: 16px;
  background: linear-gradient(to bottom, #742027, #9C2932);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

a:link,
a:visited {
  text-decoration: underline;
  color: #fff;
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
}

p {
  color: #FFF;
  font-size: 16px;
  line-height: 25px;
}

.ocultar {
  display: none;
}

.verde {
  color: #ffffff !important;
}

/*--------------------------------------------------------------
2. Layout y Home
--------------------------------------------------------------*/
#body-1200 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 0;
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
}

#promo {
  width: 50%;
}

#bolsa img {
  width: 100%;
  display: block;
  margin: auto;
}

#pegatina, #logo {
  margin-right:  -51px !important;
  margin-top:  -4px;
}

#pegatina img, #logo img {
  position: absolute;
  width: 100%;
}

#pegatina {
    opacity: 0;
    transform: translateY(-150px);
}

#pegatina.visible {
    animation: caerPegatina .8s ease-out forwards;
}

@keyframes caerPegatina {
    from {
        opacity: 0;
        transform: translateY(-150px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#instrucciones {

  margin: 0 auto;
  width: 100%;
  margin-top: 40px;
}

ol {
  counter-reset: my-awesome-counter;
  list-style: none;
  padding: 0 15px 5px 15px;
}

ol li {
  font-family: 'Tondu', sans-serif;
  font-weight:  400;
  font-size: 30px;
  margin: 0 20px 30px 60px;
  counter-increment: my-awesome-counter;
  position: relative;
  line-height: 35px;
  color: #FFFFFF;
}

ol li::before {
  font-size: 40px;
  content: counter(my-awesome-counter) '.';
  position: absolute;
  left: -50px;
  color: #D3D655;
}

/*--------------------------------------------------------------
3. Formularios y botones
--------------------------------------------------------------*/
#formulario {
  margin-left: 50px;
  display: inline-block;
  width: 40%;
  padding: 15px 40px 5px 40px;
  float: right;
  height: 100%;
  border: 1px solid #F2DAB250;
  border-radius: 6px 6px 6px 6px;

}

.bloque {
  margin-bottom: 35px;
}

.encabezado {
  margin: 25px 0 0 0;
  font-family: 'Tondu', sans-serif;
  font-weight: 400;
  font-size: 25px;
  text-transform: uppercase;
  color: #F2DAB2;
}

input[type=text],
input[type=password],
input[type=date],
select {
  font-family: 'Bitter', sans-serif;
  font-weight: 400;
  width: 100%;
  padding: 15px;
  margin-top: 18px;
  border: 0;
  background-color: #eddde9;
  border-radius: 30px;
  font-size: 16px;
  color: #40693D !important;
}

::placeholder {
  color: #40693D;
  opacity: 1;
}

.inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.inputfile + label {
  line-height: 30px;
  min-height: 43px;
  text-align: center;
  color: #ffffff;
  display: inline-block;
  border: 1px solid #ffffff;
  padding: 5px 15px;
  font-weight: bold;
  cursor: pointer;
}

.inputfile:focus + label,
.inputfile + label:hover {
  color: #ffffff;
}

.enviar {
  background-color: #F2DAB2;     /* Amarillo principal */
  color: #AA182C;                /* Texto morado */
  text-transform: uppercase;
  width: 100%;
  padding: 12px 25px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 6px;            /* Más suave, como los botones del modal */
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* toque moderno */
}

/* Hover efecto igual que el modal */
.enviar:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.archivo {
  color: #fff;
  text-transform: uppercase;
  width: 100%;
  padding: 10px 15px;
  font-size: 16px;
}

.small-text {
  font-size: 12px;
}

/*--------------------------------------------------------------
4. Checkboxes
--------------------------------------------------------------*/
.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.checkbox-line input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.checkbox-line span {
  line-height: 1.4;
  display: block;
  flex: 1;
}

/*--------------------------------------------------------------
5. Login
--------------------------------------------------------------*/
#login-box {
  width: 450px;
  background-color: #AA182C;
  padding: 15px 40px 20px 40px;
  margin: 0 auto;
  margin-top: 10%;
}

#login-box img {
  display: block;
  margin: 0 auto;
  width: 50%;
}

/*--------------------------------------------------------------
6. Overlay
--------------------------------------------------------------*/
/*--------------------------------------------------------------
6. Overlay adaptado a estilo de modal de cookies con X dentro
--------------------------------------------------------------*/
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* semi-transparente */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#caja-overlay {
  position: relative; /* para que la X quede dentro */
  background-color: #AA182C; /* fondo igual modal cookies */
  color: #ffffff;
  padding: 25px 20px 40px 20px;
  max-width: 450px;
  width: auto; /* tamaño automático según contenido */
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
  transition: opacity 0.5s ease;
}

#caja-overlay p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
}

#caja-overlay a {
  color: #F2DAB2;
  text-decoration: underline;
}

.enhorabuena {
  font-family: 'Tondu', sans-serif;
  font-weight: 400;
  padding: 25px 0 20px 0;
  color: #F2DAB2;
  font-size: 35px;


}

.texto-enhorabuena {
  font-family: 'Bitter', sans-serif;
  font-weight: 700;
  line-height: 30px;
}

/* Botones dentro del overlay */
.overlay-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.overlay-buttons button {
  padding: 10px 20px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

#overlay-accept {
  background-color: #ffffff;
  color: #7f1063;
}

#overlay-reject {
  background-color: #7f1063;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.overlay-buttons button:hover {
  opacity: 0.85;
}

/* Botón X de cerrar dentro del recuadro */
.cerrar-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: 1px solid white;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 20px;
  color: #ffffff !important;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
}

/* Animaciones */
@keyframes fadeOut {
  from {opacity: 1;}
  to {opacity: 0;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Media queries ajustadas para mantener el bloque centrado y tamaño justo */
@media (max-width: 768px) {
  #caja-overlay {
    width: auto; /* tamaño según contenido */
    max-width: 400px; /* limitar un poco en tablets */
    padding: 20px 15px 35px 15px;
  }

  #caja-overlay p {
    font-size: 14px;
  }

  .overlay-buttons button {
    font-size: 14px;
    padding: 8px 15px;
  }

  .cerrar-overlay {
    font-size: 18px;
    padding: 3px 6px;
  }
}

@media (max-width: 480px) {
  #caja-overlay {
    width: auto; /* tamaño según contenido */
    max-width: 350px; /* no demasiado grande en móviles */
    padding: 15px 10px 30px 10px;
  }

  #caja-overlay p {
    font-size: 13px;
  }

  .overlay-buttons button {
    font-size: 13px;
    padding: 7px 12px;
  }

  .cerrar-overlay {
    font-size: 16px;
    padding: 3px 5px;
  }
}



/*--------------------------------------------------------------
7. Loader
--------------------------------------------------------------*/
.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}

.loader {
  color: #ffffff;
  font-size: 5px;
  margin: 80px auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}

.loader:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loader:after {
  left: 3.5em;
}

@-webkit-keyframes load7 {
  0%, 80%, 100% { box-shadow: 0 2.5em 0 -1.3em; }
  40% { box-shadow: 0 2.5em 0 0; }
}

@keyframes load7 {
  0%, 80%, 100% { box-shadow: 0 2.5em 0 -1.3em; }
  40% { box-shadow: 0 2.5em 0 0; }
}

/*--------------------------------------------------------------
8. Media Queries
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
  #body-1200 { padding: 20px 0 0 0; }

  #promo {
    padding: 0;
    width: 100%;
    margin-top: 10px;
    margin-bottom: -25px;
  }

  #pegatina, #logo {
  margin-right: -20px !important;
  }

  #bolsa img { padding: 0 10px 10px 10px; }

  ol { width: 100%; }

  #instrucciones { width: 100%; }

  ol li {
    font-size: 20px;
    line-height: 24px;
    margin: 10px 20px 20px 60px;
  }

  ol li::before { font-size: 40px; }

  #formulario {
    padding: 0 20px;
    width: 100%;
    margin-left: 0;
    border: none;
  }
}



/*--------------------------------------------------------------
9. Cookies
--------------------------------------------------------------*/

/* Modal overlay */
#cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* semi-transparente */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal content */
.cookie-modal-content {
  background-color: #ffffff;
  color: #40693D !important;
  padding: 25px 20px;
  max-width: 450px;
  width: 90%;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
}

/* Texto y link */
.cookie-modal-content p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
}

.cookie-modal-content a,
.cookie-modal-content p {
  color: #40693D;
}

/* Botones */
.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 10px 20px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

#cookie-accept {
  background-color: #40693D;
  color: #ffffff;
}

#cookie-reject {
  background-color: ;
  color: #40693D;
  border: 2px solid #ffffff;
}

.cookie-buttons button:hover {
  opacity: 0.85;
}

/* Animaciones */
@keyframes fadeOut {
  from {opacity: 1;}
  to {opacity: 0;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 20px 15px;
  }
  .cookie-modal-content p {
    font-size: 14px;
  }
  .cookie-buttons button {
    font-size: 14px;
    padding: 8px 15px;
  }
}


