*{
    margin:0;
    padding:0;
    /*
    Con box-sizing: border-box, el width y height del elemento incluyen el padding y el border, lo que facilita mantener un diseño más preciso y predecible
    */
    box-sizing: border-box;
}

section{
    width: 100%;
    height: auto;       /* deja crecer según contenido */
}

.kiwi-box{
    width: 20vw;
    height: 20vh;
    position: sticky;
    top: 20px;

    display: flex;
    align-items: flex-start;  /* Alinea arriba el globo y la imagen */
    gap: 10px; 
/*    
    right: 20px;
      margin-left: auto;  empuja el elemento hacia la derecha si usas display: block */
}

.speech-bubble {
  position: relative;
  background: #f0f0f0;
  color: #000;
  padding: 15px 20px;
  border-radius: 10px;
  max-width: 300px;
  margin: 20px;
  font-size: 1.2rem;

  /* Animación */
  animation: aparecerDesaparecer 6s infinite;
  opacity: 0;
}

/* Triángulo (punta del globo) a la izquierda */
.speech-bubble .triangle {
  position: absolute;
  top: 20px; /* ajusta según tu diseño */
  left: -20px; /* sale hacia la izquierda */
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-right-color: #f0f0f0; /* mismo color que el fondo del globo */
}

/* Animación: 3s visible, 3s invisible */
@keyframes aparecerDesaparecer {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.img-kiwi{
    transform: scaleX(-1);
}

.titulo-centrado {
  text-align: center;
  margin: 0 auto; 
  padding-top: 0;
  transform: translateY(30vh);
}

.sec1{
    min-height: 90vh;
    height: 90vh;               /* Ocupa toda la pantalla como antes */
    display: flex;              /* Centrado vertical */
    flex-direction: column;
    justify-content: center;    /* Centra los elementos verticalmente */
    background: url(../../general/img/background1.gif), pink;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-blend-mode: multiply;
    color: #FFFFFF;
}

.contenido{
    width: 100%;
    height: 100%;
}

  .sec1 .contenido h2{
    font-size: 7vw;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
  }

  .sec1 .contenido h2:hover{
    color:#FFFFFF;
    text-shadow: 0 0 10px #FFFFFF,
                 0 0 20px #FFFFFF,
                 0 0 40px #0000FF,
                 0 0 80px #FFFFFF,
                 0 0 120px #FFFFFF;
  }

  .sec-text{
    width:100%;
    height: 600px;
    color: #FFFFFF;
    background-color: #000000;
  }

  .sec-text h2 {
    font-size: 4vmax;
    padding: 40px;
  }

  .sec-text p{
    font-size: 3vmax;
    padding-left: 40px;
    padding-right: 40px;
  }

  .sec2{
    background: url(../../general/img/background2.gif);
    background-size:cover;
    background-position:center center;
    background-attachment: fixed;
    padding-bottom: 10px;
  }

  .contenido-sec2 {
    width:100%;
    height: 100%;
    backdrop-filter: blur(15px);
    color: #FFFFFF;
  }
  
  .contenido-sec2 h2{
    font-size: 4vmax;
    padding: 40px;
  }

  .contenido-sec2 p{
    font-size: 3vmax;
    padding-left: 40px;
    padding-right: 40px;
  }
 /*
  .img-kiwi{
    display: flex;
    justify-content: center;   centra horizontalmente 
  }

  .img-kiwi img{
    width: 20vw;
    height: 20vh;
    filter: drop-shadow(0 0 15px #FFFFFF)
  }
*/

.sec3{
    background: url(../img/background3.gif);
    background-size:cover;
    background-position:center center;
    background-attachment: fixed;
}

.sec4{
    background: url(../img/background4.gif);
    background-size:cover;
    background-position:center center;
    background-attachment: fixed;
}

.sec5{
    background: url(../img/background5.gif);
    background-size:cover;
    background-position:center center;
    background-attachment: fixed;
}



/* Estilos adicionales para la barra de navegación */
.navbar {
    padding: 1rem;
  }
  
  /* Estilo para el logo (dispositivo pequeño) */
  .navbar-brand img {
    width: 80px;
  }
  
  /* Estilo para el título (dispositivo grande) */
  .navbar-brand h1 {
    font-size: 2rem;
    color: #FFFFFF;
    margin: 0;
  }
  
  /* Icono de usuario */
  .d-flex i {
    color: #FFFFFF;
    margin-left: 15px;
  }

  /* Aumentar tamaño del botón (opcional) */
.navbar-toggler {
  padding: 0.5rem;
  width: 60px;
  height: 60px;
}

/* Cambiar tamaño del icono */
.navbar-toggler-icon {
  width: 100%;
  height: 100%;
}
 

#countdown {
  font-size: 2rem;
  color: #ffffff;
  background-color: transparent;
  padding: 20px;
  border-radius: 10px;
  display: inline-block;
  text-align: center;
}

/** FOOTER COPY  */
div.copy{
     width: 100%;
     height: 35px;
     background: #000;
     display: grid;
     grid-template-columns: 100%;
     justify-items: center;
     align-items: center;
}

div.copy p{
     color: rgba(255, 2552, 255, 0.5);
     font-size: 15px;
     font-weight: 600;
}

    .modal-body {
      background-color: black;
      color: white;
      font-family: 'Courier New', monospace;
      margin: 0;
      padding: 40px;
    }

    #typewriter {
      font-size: 20px;
      white-space: pre-wrap;
      max-width: 800px;
    }

    .video-container {
      position: relative;
      width: 100%;
      max-width: 800px; /* ancho máximo opcional */
      margin: 0 auto; /* centra el video */
      padding-bottom: 56.25%; /* relación 16:9 */
      height: 0;
    }

    .video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }