 /* Estilos del Modal */
 .modal {
  display: flex; /* Visible por defecto */
  position: fixed;
  z-index: 99999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0,0,0,0.9); /* Fondo semi-transparente */
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 90%; /* Aumentado de 80% a 90% */
  max-width: 1200px; /* Aumentado de 800px a 1200px */
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  transition: width 0.3s ease, height 0.3s ease;

}

/* Botón de cierre */
.close-button, .close-button-miembros {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff !important;
  font-size: 30px !important;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close-button:hover, .close-button-miembros:hover, .close-button-miembros:focus,
.close-button:focus {
  color: #bbb;
  text-decoration: none;
}

/* Contenedor del Video */
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 por defecto */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: none; /* Ocultar ambos inicialmente */
}

/* Mostrar video según el tamaño de la pantalla */
@media (min-width: 768px) {
  #videoWide {
      display: block;
  }
  /* Ajustar la relación de aspecto para pantallas grandes */
  .video-container {
      padding-bottom: 56.25%; /* 16:9 */
  }
}

@media (max-width: 767px) {
  #videoMobile {
      display: block;
  }
  /* Ajustar la relación de aspecto para móviles (9:16) */
  .video-container {
      padding-bottom: 177.78%; /* 9:16 */
  }
  /* Ajustar el tamaño máximo del modal en móviles */
  .modal-content {
      width: 90%;
      max-width: 400px;
  }
}

.holder {
    margin-left:77vw;

    width: 150px;
    height: 400px;
    position: relative;
    z-index: 99;
  
   }
  .holder *, .holder *:before, .holder *:after {
    position: absolute;
    content: "";
  }
  

  
  .blinking-glow {
    width: 100px;
    height: 180px;
    left: 50%;
    top: -55%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    border-radius: 50%;
    background: #ff6000;
    -webkit-filter: blur(50px);
    -moz-filter: blur(60px);
    -o-filter: blur(60px);
    -ms-filter: blur(60px);
    filter: blur(60px);
    -webkit-animation: blinkIt .1s infinite;
    animation: blinkIt .1s infinite;
  }
  
  @-webkit-keyframes blinkIt {
    50% {
      opacity: .8;
    }
  }
  
  @keyframes blinkIt {
    50% {
      opacity: .8;
    }
  }
  



 
#container {
	/* Center the text in the viewport. */
	position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100vw;
    height: 60vh;
    margin: auto;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: start;
}

/* Your average text styling */
#text1, #text2 {
	position: absolute;
	width: 100%;
	display: inline-block;
  line-height: 33pt;
  font-family: "Merriweather", serif;
	font-size: 40pt;
	
	text-align: center;
	
	user-select: none;
}



.smoke {
 
  width:70px;
  height:100px; 
  background:;
  position: absolute;
  bottom: 22vw;
  left: 36vw;
  background-image: -webkit-radial-gradient(75% 59%, ellipse, rgba(255,255,255,0.2), transparent 25%), -webkit-radial-gradient(25% 70%, ellipse, rgba(255,255,255,0.2), transparent 15%), -webkit-radial-gradient(35% 61%, ellipse, rgba(255,255,255,0.2), transparent 10%), -webkit-radial-gradient(55% 35%, ellipse, rgba(255,255,255,0.2), transparent 15%);
  background-image: -moz-radial-gradient(75% 59%, ellipse, rgba(255,255,255,0.2), transparent 25%), -moz-radial-gradient(25% 70%, ellipse, rgba(255,255,255,0.2), transparent 15%), -moz-radial-gradient(35% 61%, ellipse, rgba(255,255,255,0.2), transparent 10%), -moz-radial-gradient(55% 35%, ellipse, rgba(255,255,255,0.2), transparent 15%);
  background-image: radial-gradient(75% 59%, ellipse, rgba(255,255,255,0.2), transparent 25%), radial-gradient(25% 70%, ellipse, rgba(255,255,255,0.2), transparent 15%), radial-gradient(35% 61%, ellipse, rgba(255,255,255,0.2), transparent 10%), radial-gradient(55% 35%, ellipse, rgba(255,255,255,0.2), transparent 15%);
  animation:bk 11s infinite ;
}

.smoke:after {
  content:"";
  width:100px;
  height:100px; 
  background:;
  position:absolute;
  background-image: -webkit-radial-gradient(75% 59%, ellipse, rgba(255,255,255,0.2), transparent 25%), -webkit-radial-gradient(25% 70%, ellipse, rgba(255,255,255,0.2), transparent 15%), -webkit-radial-gradient(35% 61%, ellipse, rgba(255,255,255,0.2), transparent 10%);
  background-image: -moz-radial-gradient(75% 59%, ellipse, rgba(255,255,255,0.2), transparent 25%), -moz-radial-gradient(25% 70%, ellipse, rgba(255,255,255,0.2), transparent 15%), -moz-radial-gradient(35% 61%, ellipse, rgba(255,255,255,0.2), transparent 10%);
  background-image: radial-gradient(75% 59%, ellipse, rgba(255,255,255,0.2), transparent 25%), radial-gradient(25% 70%, ellipse, rgba(255,255,255,0.2), transparent 15%), radial-gradient(35% 61%, ellipse, rgba(255,255,255,0.2), transparent 10%);
  animation: moveSmoke 11s infinite linear, bk 11s infinite;
}







@keyframes moveSmoke {
  0% { transform: translateY(0) translateX(0) scale(1); }
  25% { transform: translateY(-20px) translateX(10px) scale(1.1); }
  50% { transform: translateY(-40px) translateX(-10px) scale(1.2); }
  75% { transform: translateY(-60px) translateX(10px) scale(1.3); }
  100% { transform: translateY(-80px) translateX(0) scale(1.4); }
}

@keyframes bk {
  0% { background-position: 0 0; opacity: 0; }
  25%,50%,75% { opacity: 1; }
  100% { background-position: -20px -25px, -5px -25px, 0px -25px, 0px -25px; opacity: 0; }
}


.ladrilloizq {
  position:relative;
  left: -100%;
  top: -200px;
  width: auto;
  height: 200px;
  background-image: url(../images/ladrillo-izq.png);

    background-repeat: no-repeat;
    background-position:right;
    background-size:contain;
  position: relative; /* This makes the div positionable */
  transition: transform 0.5s ease-in-out; /* Smooth transition */
}


.ladrilloder {
  position: relative;
  right: -100%;
  top: -400px;
  width: auto;
  height: 200px;
  background-image: url(../images/ladrillo-der.png);

    background-repeat: no-repeat;
    background-position:left;
    background-size:contain;
  position: relative; /* This makes the div positionable */
  transition: transform 0.5s ease-in-out; /* Smooth transition */
}





#scene {
  position: relative;
  left:42%;
  top: -70px;
  z-index: 999999;
}
:root {
  --smogColor1: rgb(49, 48, 48, 0.4);
  --smogColor2: rgba(255, 80, 0, 0);
  --smogDuration: 2s;
  --smogSize: 120px;
}

#smog-container {
  font-size: 24px;
  filter: blur(var(--blur));
  -webkit-filter: blur(var(--blur));
  position: relative;
  width: 10em;
  height: 12em;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#smog-container .particle {
  animation: rise var(--smogDuration) ease-in infinite;
  background-image: radial-gradient(var(--smogColor1) 30%, var(--smogColor2) 70%);
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0;
  position: absolute;
  bottom: 0;
  width: var(--smogSize);
  height: var(--smogSize);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  25% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateY(-10em) scale(0);
  }
}