/* Estilos globales */
@font-face {
    font-family: 'Aller Display';
    src: url('fonts/AllerDisplay-Regular.eot');
    src: url('fonts/AllerDisplay-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/AllerDisplay-Regular.woff2') format('woff2'),
        url('fonts/AllerDisplay-Regular.woff') format('woff'),
        url('fonts/AllerDisplay-Regular.ttf') format('truetype'),
        url('fonts/AllerDisplay-Regular.svg#AllerDisplay-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body, html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('img/background.jpg'); /* Reemplaza con la URL de tu imagen */
  background-size: cover; /* La imagen cubre todo el área disponible */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
}

/* Contenedor del video inicial */
#pre-intro-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
  z-index:10;
}

#pre-logo{
    position: absolute;
    width: 90vw;
    height: 90vw;
    top: 0px;
    left: 50%;
    z-index: 30;
    transform: translate(-45%, -3%);
    background-image: url('img/logo_ok.png'); /* Reemplaza con la URL de tu imagen */
  background-size: 75%; /* La imagen cubre todo el área disponible */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
}

#pre-intro-video-container .textContainer{
    position: absolute;
    width: calc(90% - 40px);
  height: auto;
  top: 50%;
  left: 5%;
  padding: 20px;
  margin-top: 5vh;
  color: #fff;
  text-align: center;
  font-family: 'Aller Display';
  font-size: 18px;
  font-weight: 400;
  transform: translatey(-50%);
  transition: 0.5s;
}

#pre-intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenedor del video inicial */
#intro-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
}

#intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenedor de los bullets */
#bullets-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 1rem;
  z-index:20;
  transition: opacity 0.5s ease;
}

.bullet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.bullet.active {
  background-color: #006873;
  transform: scale(1.2);
  color: white;
}

/* Videos de fondo */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.background-loop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.background-video.visible {
  opacity: 1;
  z-index: 2;
}

.hidden {
  visibility: hidden !important;
  opacity: 0;
}

.hidden-button {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: -80px;
  padding: 15px 60px;
  font-size: 22px;
  font-weight: bold;
  color: white;
  background-color: #FFC600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  z-index: 40;
  font-family: 'Aller Display';
}

.hidden-button.show {
  display: block;
}

#startOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  text-align: center;
   /*background-image: url('img/pre-intro_v2_bg.jpg'); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; */
  background-image: url('img/background.jpg'); /* Reemplaza con la URL de tu imagen */
  background-size: cover; /* La imagen cubre todo el área disponible */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
  transition: .5s;
}

#startButton {
  padding: 15px 40px;
  font-size: 22px;
  color: white;
  background-color: #FFC600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Aller Display';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-top: 100px;
      min-width: 210px;

}

#skipButton {
  display: none;
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 0;
  font-size: 22px;
  font-weight: bold;
  color: white;
  background-color: rgba(0,0,0, 0);
  border: none;
  border-radius: 0px;
  cursor: pointer;
  z-index: 30;
  font-family: 'Aller Display';
}

#skipButton.show {
  display: block;
}


#skipButtonIntro {
  display: none;
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 0;
  font-size: 22px;
  font-weight: bold;
  color: white;
  background-color: rgba(0,0,0, 0);
  border: none;
  border-radius: 0px;
  cursor: pointer;
  z-index: 30;
  font-family: 'Aller Display';
}

#skipButtonIntro.show {
  display: block;
}

#logo{
    position: absolute;
    width: 60%;
    top: 10px;
    left: 20%;
    z-index: 30;
    transform: translate(6%, -3%);
}

@media screen and (max-height: 650px){
    #logo{
        position: absolute;
        width: 44%;
        top: 0px;
        left: 28%;
        z-index: 30;
        transform: translate(6%, -3%);
    }
}

#logo img{
    width:100%;
}

#texts-container {
    pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index:20;
  transition: opacity 0.5s ease;
  width: 100%;
      margin-top: -50px;
}

.text-bullet {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index:20;
  transition: opacity 0.5s ease;
  font-size: 20px;
  line-height: 20px;
  font-weight: bold;
  color: white;
  font-family: 'Aller Display';
  text-align: center;
  width: 100%;
}

#text4{
    margin-top: -5px;
}

#text5{
    margin-top: -80px;
}

.buttonio{
    transition: .3s;
}

.buttonio:active{
    transform: scale(.9);
}

.hidden-button:active{
  transform: translate(-50%, -50%) scale(.9) !important;
}


button, div {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  outline: none;
}

button:focus, div:focus {
  outline: none;
}


.no-more{
    font-size: 22px;
  color: white;
  font-family: 'Aller Display';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-top: -80px;
}

#terms {
  position: fixed;
  z-index: 150;
  width: calc(90% - 40px);
  height: auto;
  top: 50%;
  left: 5%;
  padding: 20px;
  background-color: #fff;
  color: #58595b;
  border-radius: 50px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  transform: translatey(-50%);
  transition: 0.3s;
}

#terms h2 {
  font-size: 24px;
  font-weight: bold;
  font-family: 'Aller Display';
}

#btTerms {
  position: fixed;
  z-index: 130;
  right: 20px;
  top: 20px;
  font-family: 'Aller Display';
}

#btTerms img {
  width: 35px;
  height: 35px;
}

#btClose {
  position: fixed;
  z-index: 130;
  right: 20px;
  top: 20px;
}

#btClose img {
  width: 35px;
  height: 35px;
}

.textContainer {
  width: calc(100% - 20px);
  height: 100%;
  overflow-y: auto;
  padding-right: 20px;
}

#dupixent-logo1{
    position: absolute;
    background: url('img/logo-dupixent-w.svg') no-repeat center center;
    width: 100vw;
    height: 30vw;
    background-size: 35%;
    left: 0;
    top: 0px;
    transition: 1s;
    z-index: 100;
    pointer-events: none;
}
