/* Reset de márgenes y paddings */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.comfortaa-uniquifier {
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
  }

.lobster-regular {
    font-family: "Lobster", sans-serif;
    font-weight: 400;
    font-style: normal;
}

header {
    position: relative;
    width: 100%;
    height: 100vh; /* Ocupa todo el alto de la pantalla */
    overflow: hidden;
}

#videoBackground {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -1; /* Envía el video al fondo */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.2);  Añade una superposición semi-transparente */
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    /*color: white;*/
    top: 50%;
    transform: translateY(-50%);
}

.header-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.header-content p {
    font-size: 3.0em;
    margin-bottom: 10px;
}

.header-content spam {
    font-size: 1.9em;
    margin-bottom: 10px;
}
/*-------linea recepcion--------------------*/
.button {
    background-color: #138ae0;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    border-radius: 50px;
    cursor: pointer;
  }
.linea-recepcion {

    border-bottom: 1px solid #2976ce;

}

/* --------------- Button down-------------------- */

.button-down, .button-up {
    position: absolute;
    bottom: 40px;
    z-index: 20;
    width: 30px;
    height: 30px;
    margin: auto;
    left: 0;
    right:0;
    opacity: 0.7;
    transition: ease 1s;    
    animation: bouncey 1.6s linear infinite;
}

.button-down:hover, .button-up:hover{
    opacity: 1
}

.button-down:before{
    transform: rotateZ(-45deg);
    content:'';
    width: 30px;
    height: 2px;
    background:#0244e1;
    position: absolute;
    bottom: 14px;
    left: 6px;
}

.button-down:after{
    transform: rotateZ(-45deg);
    content:'';
    width: 2px;
    height: 30px;
    background:#0244e1;
    position: absolute;
}

.button-up:before{
    transform: rotateZ(45deg);
    content:'';
    width: 30px;
    height: 2px;
    background:#fff;
    position: absolute;
    bottom: 14px;
    left: 6px;
}

.button-up:after{
    transform: rotateZ(45deg);
    content:'';
    width: 2px;
    height: 30px;
    background:#fff;
    position: absolute;
}

/* --------------- Fin Button down-------------------- */

main {
    background-image: url('../img/fondo-img.jpg'); /* Ruta de la imagen de fondo */
    /*background-size: cover; /* Asegura que la imagen cubra todo el área de 'main' */
    /*background-position: center; /* Centra la imagen */
    /*background-repeat: no-repeat; /* Evita que la imagen se repita */
    /*padding: 20px; /* Espaciado interno */
}

main section{
    padding: 30px;
}

.styled-section {
    background-color: #ffffff; /* Fondo de la sección */
    border: 2px solid #040e71; /* Borde negro */
    padding: 20px; /* Espaciado interno */
    max-width: 800px; /* Ancho máximo de la sección */
    margin: 0 auto; /* Centrar la sección */
}

.content-container {
    text-align: center; /* Centrar todo el texto */
}

.content-container > div {
    margin-bottom: 30px; /* Margen inferior para cada hijo directo */
}

.content-container p {
    font-size: 1.5em; /* Tamaño de texto */
    margin-bottom: 10px; /* Espaciado entre párrafos */
}

/* Nueva sección de video */
.video-section {
    /* background-color: #fff; /* Fondo blanco */
    padding: 10px 10px;
    text-align: center; /* Centra el contenido */
    /*border: 2px solid #000;*/
    max-width: 800px;
    margin: 40px auto; /* Centrar y añadir separación */
}

.video-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

video {
    max-width: 100%;
    height: auto;
    /*border: 5px solid #000;  Borde negro alrededor del video */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5); /* Sombra con un leve difuminado */
    border-radius: 20px; /* Bordes redondeados */
}


/* ---------- CUENTA REGRESIVA -------------------------------------*/
.cuenta-section{
    /* background-color: #fff; /* Fondo blanco */
    font-size: 2.0em;
    margin-bottom: 10px;
    padding: 10px 10px;
    text-align: center; /* Centra el contenido */
    /*border: 2px solid #000;*/
    max-width: 800px;
    margin: 40px auto; /* Centrar y añadir separación */
}

.cuenta-regresiva {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.simply-countdown {
    overflow: hidden;
    display: table;
    font-family: 'Arial', sans-serif;
  
  }
  .simply-countdown > .simply-section  {
    display: flex;
    justify-content: center;
    float: left;
    color: rgb(10, 10, 10);
    align-items: center;
    
  
  }
  
  .simply-countdown > .simply-section > div {
      /* countdown block inner div */
      width: 100px;
      padding: 5px;
      height: 150px;
      /*background-color:  #ffffff; */
      border-radius: 20px;
      margin: 10px;
  }
  
  .simply-countdown > .simply-section .simply-amount,
      .simply-countdown > .simply-section .simply-word {
    /* amounts and words */

    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 20px;
    
    }
  
    .simply-countdown > .simply-section .simply-amount {
    /* amounts */
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 40px;
    }

    .puntos{
        display: inline-block;  
    }
    .cartelPunto {
        display: flex;
        /*flex-direction: column;*/
        border-radius: 50%;
        background-color: #000000; 
        width: 5px; 
        height: 5px;
        margin: 5px;
        
    
    }


    /* ------------------------ time line ----------------------------*/
    .timeline {
        position: relative;
        padding: 20px 0;
        margin: 0 auto;
        width: 80%;
    }
    
    .timeline-line {
        position: absolute;
        top: 0;
        left: 50%;
        width: 4px;
        background-color: #000;
        height: 0; /* La línea empieza sin altura */
        transform: translateX(-50%);
        transition: height 0.5s ease-out; /* Animación de crecimiento de la línea */
    }
    
    .timeline-event {
        position: relative;
        margin: 50px 0;
        opacity: 0; /* Los eventos están ocultos inicialmente */
        transform: translateY(100px); /* Inicialmente fuera de vista */
        transition: all 0.5s ease-out; /* Animación suave */
    }
    
    .timeline-event.active {
        opacity: 1; /* Mostrar cuando está activo */
        transform: translateY(0); /* Volver a la posición original */
    }
    
    .timeline-content {
        position: relative;
        background-color: #fff;
        padding: 20px;
        border: 2px solid #000;
        border-radius: 8px;
        width: 45%;
        text-align: center;
    }
    
    .timeline-event:nth-child(even) .timeline-content {
        left: 55%;
    }
    
    .timeline-event:nth-child(odd) .timeline-content {
        left: 0;
    }

    .timeline-content i {
        font-size: 40px; /* Tamaño del icono */
        color: #000;
        margin-bottom: 10px; /* Espacio entre el icono y el texto */
    }
    
    .timeline-content h3 {
        margin-top: 0;
    }
    
    .timeline-content p {
        font-size: 24px;
        margin-bottom: 0;
    }

    /*--------------------------- Codigo de vestimenta ---------------------*/

    .codigo-vestimenta{
        text-align: center;
        margin: 0 auto;

    }

    .codigo-vestimenta h2{
        font-size: 40px;
        margin-bottom: 20px;
    }

    .codigo-vestimenta h3{
        font-size: 24px;
        margin-bottom: 20px;
    }

    .codigo-vestimenta img{
        width: 500px ;
    }


    #invitados-container {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    input[type=text] {
        width: 30%;
        padding: 12px 20px;
        margin: 8px 0;
        box-sizing: border-box;
      }
    .invitado {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 10px 0;
        padding: 10px;
        border: 1px solid #ccc;
        width: 300px;
    }
    
    button {
        margin: 5px;
    }

    /* Estilos para modo oscuro según la preferencia del sistema */
@media (prefers-color-scheme: dark) {
   *{
        color: #000;
    }
    .timeline-content {
        background-color: #fff;
    }

    .styled-section {
        background-color: #ffffff; /* Fondo de la sección */
    }

    .cartelPunto {
        background-color: #000000; 
    }

    input[type=text] {
        background-color: #ffffff; /* Fondo de la sección */
    }

}
/* Estilos específicos para móviles */
@media (max-width: 767px) {
    .header-content h1 {
        font-size: 2em;
    }

    .header-content p {
        font-size: 2em;
    }

    .header-content spam {
        font-size: 1.5em;
    }

    .button-down:before{
        background:#ffffff;
    }
    
    .button-down:after{
        background:#ffffff;
    }
    
    .styled-section {
        padding: 15px;
    }

    .content-container p {
        font-size: 1.2em;
    }

    .simply-countdown > .simply-section > div {
        width: 60px;
        margin: 5PX;
        height: 90px;
 
    }

    .simply-countdown > .simply-section .simply-amount {
        /* amounts */
        font-size: 1.5rem;
        font-weight: bold;
        margin-top: 20px;
        }

    .simply-countdown > .simply-section .simply-word {
            /* words */
            font-size: .7rem;
    }

    .timeline-content {
        width: 90%;
        left: 0 !important;
    }

    .timeline-line {
        left: 10%; /* Ajustamos la posición de la línea en móvil */
        height: 0; /* Inicialmente la línea es invisible */
    }

    /* La línea irá creciendo a medida que los eventos se activan */
    .timeline-event.active ~ .timeline-line {
        height: calc(100% - 50px); /* La altura de la línea crece */
    }

    .codigo-vestimenta img{
        width: 200px ;
    }

    #videoBackground {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    input[type=text] {
        width: 100%;
      }
}



@media only screen and (max-width: 400px) {
    .slides {
        font-size: 2em;
    }
}

@keyframes bouncey {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(5px);
            transform: translateY(5px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
