/* 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;
    
}
html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}
body {
    background-image: url('../img/f14.png');
    background-size: cover;*/
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    min-height: 100vh;
    
}
.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;
}
.lobster {
    font-family: "Lobster", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #26552d;
}

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 {
    border-style: double;
    border-color: #cba363;
    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: #26552d;
    color: white;
    border: none;
    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 #008000;
}

/* --------------- 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:#26552d;
    position: absolute;
    bottom: 14px;
    left: 6px;
}

.button-down:after{
    transform: rotateZ(-45deg);
    content:'';
    width: 2px;
    height: 30px;
    background:#008000;
    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 {
    
    width: 100%;
    min-height: 80vh;
}

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: transparent;
    font-size: 2.0em;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
    max-width: 800px;
    margin: 40px auto;
}


/* Contenedor del contador */
.cuenta-regresiva {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Contenedor principal */
.simply-countdown {
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Arial', sans-serif;
}


/* Cada bloque */
.simply-countdown > .simply-section {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    float: none;
}


/* Cuadro de cada unidad */
.simply-countdown > .simply-section > div {

    width: 115px;
    height: 125px;

    padding: 10px;

    margin: 8px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border-radius: 20px;

    /* Efecto cristal */
    background: rgba(255, 255, 255, 0.15);

    border: 1px solid rgba(255, 255, 255, 0.45);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* Sombra y brillo */
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.25),
        inset 0 0 15px rgba(255, 255, 255, 0.12),
        0 0 15px rgba(15, 102, 44, 0.25);

    transition: all 0.3s ease;
}


/* Efecto al pasar el mouse */
.simply-countdown > .simply-section > div:hover {

    transform: translateY(-7px) scale(1.03);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(22, 206, 53, 0.55);
}


/* NÚMERO */
.simply-countdown > .simply-section .simply-amount {

    display: block;

    color: #fff;

    font-size: 2.8rem;

    font-weight: bold;

    line-height: 1;

    margin: 0;

    text-align: center;

    text-shadow:
        0 0 5px #fff,
        0 0 10px #008000,
        0 0 20px #008000;
}


/* TEXTO: HORAS, MINUTOS, SEGUNDOS */
.simply-countdown > .simply-section .simply-word {

    display: block;

    color: rgba(255, 255, 255, 0.9);

    font-size: 18px;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 2px;

    margin-top: 12px;

    text-align: center;
}


/* ---------- PUNTOS ENTRE LOS CUADROS ---------- */

.puntos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 8px;

    margin: 0 3px;
}


.cartelPunto {

    display: block;

    border-radius: 50%;

    background-color: #fff;

    width: 6px;
    height: 6px;

    margin: 0;

    box-shadow:
        0 0 5px #fff,
        0 0 10px #008000,
        0 0 15px #008000;

    animation: brilloPunto 1s infinite alternate;
}


/* Animación de los puntos */
@keyframes brilloPunto {

    from {
        opacity: 0.3;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1.2);
    }
}


/* ---------- CELULAR ---------- */

@media (max-width: 600px) {

    
    body {
        background-size: cover;
        background-position: center center;
    }




    .cuenta-section {
        width: 100%;
        padding: 5px;
        margin: 20px auto;
    }

    .simply-countdown {
        width: 100%;
    }

    .simply-countdown > .simply-section > div {

        width: 80px;
        height: 100px;

        margin: 4px;

        border-radius: 15px;
    }

    .simply-countdown > .simply-section .simply-amount {

        font-size: 2rem;
    }

    .simply-countdown > .simply-section .simply-word {

        font-size: 9px;

        letter-spacing: 1px;

        margin-top: 10px;
    }

    .puntos {
        gap: 6px;
    }

    .cartelPunto {
        width: 4px;
        height: 4px;
    }
}



    /*--------------------------- 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: 300px ;
    }


    #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 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: 100px ;
    }

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

    input[type=text] {
        width: 100%;
      }
}
/* Contenedor de las notas */
        .lluvia-notas {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
            z-index: 10;
        }

        /* Cada nota */
        .nota {
            position: absolute;
            top: -60px;

            color: #ffffff;
            font-size: 30px;

            text-shadow:
                0 0 5px #fff,
                0 0 10px #DAA520,
                0 0 20px #008000;

            animation-name: caer;
            animation-timing-function: linear;
            animation-iteration-count: infinite;

            user-select: none;
        }


        @keyframes caer {
            0% {
                transform: translateY(-60px) rotate(0deg);
                opacity: 0;
            }

            10% {
                opacity: 1;
            }

            50% {
                transform: translateY(50vh) translateX(40px) rotate(180deg);
            }

            90% {
                opacity: 0.8;
            }

            100% {
                transform: translateY(110vh) translateX(-40px) rotate(360deg);
                opacity: 0;
            }
        }



@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);
  }
}

/* The carrousel */
.carrousel {
    
    position: relative;
    padding: 20px 0;
    margin: 0 auto;
    width: 80%;
}

* {box-sizing:border-box}

.slideshow-container {
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.mySlides {
    width: 100%;
    height: 500px;
}

.mySlides img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Hide the images by default */
.mySlides {
  display: none;
  border-radius: 10px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


/* 45
/* =========================================================
   TIMELINE MODERNO
   ========================================================= */

.timeline-section {
    width: 100%;
    max-width: 1000px;

    margin: 60px auto;
    padding: 40px 20px;

    color: #fff;

    font-family: Arial, sans-serif;
}


/* ---------- TÍTULO ---------- */

.timeline-titulo {
    text-align: center;

    font-size: 42px;

    margin-bottom: 8px;

    color: #fff;

    text-shadow:
        0 0 5px #fff,
        0 0 15px #2E8B57,
        0 0 30px #006400;
}


.timeline-subtitulo {
    text-align: center;

    font-size: 16px;

    color: rgba(255, 255, 255, 0.8);

    margin-bottom: 60px;
}


/* ---------- CONTENEDOR ---------- */

.timeline {
    position: relative;

    width: 100%;

    margin: auto;
}


/* ---------- LÍNEA CENTRAL ---------- */

.timeline::before {

    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 3px;

    transform: translateX(-50%);

    background: linear-gradient(
        to bottom,
        transparent,
        #2E8B57,
        #fff,
        #006400,
        transparent
    );

    box-shadow:
        0 0 8px #2E8B57,
        0 0 20px #006400;
}


/* ---------- CADA ELEMENTO ---------- */

.timeline-item {

    position: relative;

    width: 50%;

    padding: 20px 40px;

    margin-bottom: 35px;
}


/* Izquierda */

.timeline-item.izquierda {
    left: 0;

    text-align: right;
}


/* Derecha */

.timeline-item.derecha {
    left: 50%;

    text-align: left;
}


/* ---------- PUNTO CENTRAL ---------- */

.timeline-item::after {

    content: "";

    position: absolute;

    top: 38px;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background: #fff;

    border: 3px solid #DAA520;

    box-shadow:
        0 0 5px #fff,
        0 0 12px #2E8B57,
        0 0 25px #006400;

    z-index: 2;
}


/* Punto de elementos izquierdos */

.timeline-item.izquierda::after {
    right: -10px;
}


/* Punto de elementos derechos */

.timeline-item.derecha::after {
    left: -10px;
}


/* ---------- TARJETA ---------- */

.timeline-contenido {

    display: inline-block;

    max-width: 400px;

    padding: 25px;

    border-radius: 22px;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.35);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25),
        inset 0 0 20px rgba(255, 255, 255, 0.08),
        0 0 15px rgba(255, 105, 180, 0.15);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


/* Efecto hover */

.timeline-contenido:hover {

    transform: translateY(-8px) scale(1.02);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.35),
        0 0 25px rgba(10, 94, 38, 0.5);
}


/* ---------- FECHA ---------- */

.timeline-fecha {

    display: inline-block;

    padding: 6px 14px;

    margin-bottom: 12px;

    border-radius: 20px;

    background: linear-gradient(
        135deg,
        #DAA520,
        #006400
    );

    color: #fff;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 2px;

    box-shadow:
        0 0 10px rgba(13, 141, 81, 0.5);
}


/* ---------- TÍTULO DE TARJETA ---------- */

.timeline-contenido h3 {

    font-size: 24px;

    margin-bottom: 10px;

    color: #fff;

    text-shadow:
        0 0 8px rgba(20, 104, 69, 0.7);
}


/* ---------- TEXTO ---------- */

.timeline-contenido p {

    font-size: 15px;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.85);

    margin: 0;
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 700px) {

    .timeline-section {
        padding: 30px 15px;
    }


    .timeline-titulo {
        font-size: 32px;
    }


    .timeline-subtitulo {
        font-size: 14px;

        margin-bottom: 40px;
    }


    /* Línea a la izquierda */

    .timeline::before {

        left: 20px;

        transform: none;
    }


    /* Todos ocupan el ancho */

    .timeline-item,
    .timeline-item.izquierda,
    .timeline-item.derecha {

        width: 100%;

        left: 0;

        padding-left: 55px;
        padding-right: 5px;

        text-align: left;
    }


    /* Punto */

    .timeline-item.izquierda::after,
    .timeline-item.derecha::after {

        left: 12px;
        right: auto;

        width: 15px;
        height: 15px;
    }


    /* Tarjeta */

    .timeline-contenido {

        width: 100%;

        padding: 20px;

        border-radius: 18px;
    }


    .timeline-contenido h3 {
        font-size: 21px;
    }


    .timeline-contenido p {
        font-size: 14px;
    }
}
