html {
    -webkit-text-size-adjust: 100%;
    margin: 0;
}

body {
    margin: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Playwrite+AU+SA:wght@100..400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://use.typekit.net/fri4ezt.css");
@media (min-width:320px) {}

h4 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 25px;
    font-weight: bold;
    margin: 1%;
}

.titulos-secciones-black {
    font-family: 'Times New Roman', Times, serif;
    color: #141210;
    font-size: 2em;
    font-weight: lighter;
}

.titulos-secciones-white {
    font-family: 'Times New Roman', Times, serif;
    color: white;
    font-size: 2em;
    font-weight: lighter;
    text-shadow: #000 1px 1px 1px;
}

.titulos-secciones-gray {
    font-family: 'Times New Roman', Times, serif;
    font-optical-sizing: auto;
    color: #615B55;
    width: 100%;
    font-size: 200%;
    font-style: normal;
    font-weight: normal;
    margin: 0;
}

.titulos-secciones-green {
    font-family: 'Times New Roman', Times, serif;
    font-optical-sizing: auto;
    color: #778B7B;
    width: 100%;
    font-size: 200%;
    font-style: normal;
    font-weight: normal;
    margin: 0;
}

.titulos-secciones-white {
    font-family: 'Times New Roman', Times, serif;
    font-optical-sizing: auto;
    color: white;
    font-size: 200%;
    font-style: normal;
    font-weight: normal;
}

h3 {
    font-family: 'Times New Roman', Times, serif;
    color: gray;
    font-size: 25px;
    font-weight: bold;
    margin: 1%;
    text-shadow: 2px 2px 2px rgba(5, 5, 5, 0.2);
}

h2 {
    font-family: 'Times New Roman', Times, serif;
    color: #778B7B;
    font-size: 25px;
    font-weight: bold;
    margin: 1%;
    text-shadow: 2px 2px 2px rgba(119, 139, 123);
}

.general-text-black {
    font-family: "Comfortaa", serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: black;
}

.general-text-white {
    font-family: "Comfortaa", serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: white;
}

.general-text-gray {
    font-family: "Comfortaa", serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #707070;
}

/*title cover starts*/
.titulo-h1-portada {
    font-family: 'Times New Roman', Times, serif;
    font-optical-sizing: auto;
    color: white;
    width: 100%;
    font-size: 150%;
    font-style: normal;
    font-weight: normal;
    margin: 0;
}

.titulos-portada {
    color: #000;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* El body ocupará toda la altura de la ventana */
    padding-top: 20%;
}

.header-contenido {
    background-image: url(/Recursos/Paginas_muestra/TEMPLATE1.png);
    background-repeat: no-repeat;
    background-attachment: local;
    background-position: center;
    background-size: cover;
    height: 200vh;
}

#nombres {
    font-family: "Times New Roman", Times, serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    color: white;
    width: 100%;
    font-size: 400%;
    margin: 0;

}


/*Title cover ends*/

/*Header boton de musica*/
.music-control:hover {
    background-color: gray;
}

/* Asegurarse de que el contenedor esté visible y accesible */

.music-control svg {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
    /* Agrega una transición suave */
}



.music-control:hover svg {
    transform: scale(1.1);
    /* Efecto de aumento al pasar el ratón */
}

.music-icon {
    width: 36px;
    height: 36px;
}

.hidden {
    display: none;
}

.vibrar {
    animation: vibrar 0.5s infinite;
}

@keyframes vibrar {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(2deg);
    }

    50% {
        transform: rotate(-2deg);
    }

    75% {
        transform: rotate(2deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

#startMusicBtn {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    background-color: #ff6961;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    z-index: 999;
}


/*Comienza la personalización del contador*/
.numero {
    color: white;
    background-color: #96AC9A;
    font-size: 24px;
    padding: 20px;
    border-radius: 50%;
    text-align: center;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tiempo {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 35vh;
    padding: 10px;
    gap: 10px;
    margin: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    /* Para evitar que se rompa */
}

.bloque {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-style: italic;
    padding: 5px;
    min-width: 60px;
    flex: 1 1 0;
}

.etiqueta {
    font-weight: bold;
    font-size: 90%;
    color: #707070;
    text-align: center;
}

.espacio-timer {
    padding: 10%;
}

.descripcion {
    padding-top: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.descripcion,
.calendario-img-container {
    max-width: 900px;
    width: 100%;
}

.title-calendario-text {
    font-family: "Times New Roman", Times, serif;
    font-style: bold italic;
    font-size: 450%;
    color: #707070;
    margin: 0;
}

.text-calendario-text {
    font-family: "segoe-ui", serif;
    font-style: normal;
    font-size: 250%;
    color: #707070;
    margin: 0;
}

@media (max-width: 480px) {
    .numero {
        font-size: 20px;
        padding: 15px;
    }

    .etiqueta {
        font-size: 80%;
    }

    .tiempo {
        border-radius: 20px;
        gap: 10px;
    }
}

/*Image styling for calendar section*/
.descripcion-text {
    text-align: center;
    padding-top: 5%;
}

#calendario-text {
    padding: 2% 15%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.calendario {
    background-color: white;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    /* o 100vh si quieres ocupar toda la pantalla */
    display: flex;
    justify-content: center;
    /* Centrado horizontal */
    align-items: center;
    /* Centrado vertical */
    flex-direction: column;
    /* Para que los elementos se apilen verticalmente */
    text-align: center;
    padding: 5%;
}

.img-calendario-iniciales {
    width: 50px;
    height: 50px;
    align-items: center;
}

/* calendar button*/
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 9px 12px;
    gap: 4px;
    height: auto;
    width: auto;
    border: #96AC9A solid 2px;
    background: white;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    /* Evita subrayado en Safari */
    -webkit-appearance: none;
    /* Remueve estilos por defecto en Safari iOS */
    -moz-appearance: none;
    appearance: none;
}


.label {
    line-height: 22px;
    font-size: auto;
    color: #707070;
    letter-spacing: 1px;
    font-weight: bold;
    font-family: "Comfortaa", serif;
    font-style: normal;

}

.button:hover {
    background: black;
}


.button:hover .svg-icon .label {
    animation: slope 1s linear infinite;
    color: white;
}

@keyframes slope {
    0% {}

    50% {
        transform: rotate(20deg);
    }

    100% {}
}

.save-the-date {
    width: 150px;
    height: 150px;
    display: block;
    margin: auto;
}

.save-the-date:hover {
    color: white;
}


.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
    text-align: center;
}

.popup-content {
    position: relative;
    padding-right: 30px;
}

.popup-content h3 {
    margin-bottom: 20px;
}

.popup .button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.popup .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff5c5c;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 50%;
    cursor: pointer;
}

.popup .close-btn:hover {
    background-color: #ff0000;
}

/* Fondo oscuro detrás del popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Calendar button finish*/

/*Itinerario section*/
.itinerario-texto {
    text-align: center;
}

.iconos-img {
    max-width: 100px;
}

#contenedor-fecha {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* Espacio entre los elementos */
    padding: 10px;
}

#fecha,
#hora {
    font-size: 18px;
    color: #333;
}

#linea-divisoria {
    width: 2px;
    height: 25px;
    background-color: #ccc;
}

.greenbutton {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 2px solid #96AC9A;
    background-color: #96AC9A;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    font-family: "Comfortaa", serif;
    font-weight: bold;
    font-size: 16px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.2);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.15);
    }

    70% {
        transform: scale(1);
    }
}

.greenbutton svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.greenbutton .label {
    color: white;
    white-space: nowrap;
}

/* Itinerario section ends */

/* Fotos section */
.fotos {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #778B7B;
}

.boton-subir-fotos {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background-color: #96AC9A;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    font-family: "Comfortaa", serif;
    font-weight: bold;
}

.boton-subir-fotos:hover {
    background-color: #f2f2f2;
    transform: scale(1.05);
}

.img-galeria-fotos {
    max-width: 85%;
    height: auto;
    border-radius: 20px;
    border: #778B7B solid 3px;
}

.img-galeria-fotos:hover {
    transform: scale(1.05);
    transform: rotate(5deg);
}

.galeria-fotos {
    text-align: center;
}

.horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30%;
}

/*Mesa de regalos*/

.mesa-regalos {
    background-color: #778B7B;
    background-size: cover;
}

.mesa-regalos-titulo {
    text-align: center;
    padding: 5% 5%;
}

.button-mesa-regalos {
    text-align: center;
    padding: 15%;
}

.box1-mesa-regalos {
    align-content: center;
}


.boxes {
    margin: 0;
    display: flex;
    justify-content: center;
    /* Centra los elementos horizontalmente */
    align-items: flex-end;
    /* Alinea los elementos en la parte inferior */
    flex-wrap: wrap;
}

.box {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    height: 400px;
    width: 300px;
    padding: 2%;
    margin: 2%;
    text-align: center;
    opacity: 0;
    /* Los divs empiezan invisibles */
    transform: translateY(50px);
    /* Comienzan desplazados hacia abajo */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Clase para los divs que deben ser visibles */
.box.visible {
    opacity: 1;
    /* Se vuelve visible */
    transform: translateY(0);
    /* Se mueve a su posición original */
}


.rules-img {
    width: 100px;
    border-radius: 100%;
}

/* Generación de QR de invitaciones */
#resaltar {
    font-weight: bold;
    color: red;
}

.generadorqr-section {
    background-color: #778B7B;
    text-align: center;
}

.content {
    background-color: white;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    margin: auto;
}

#inviteCode {
    font-family: "Comfortaa", serif;
    font-size: 2vw;
    color: #fff;
    background-color: rgb(28, 28, 30);
    box-shadow: 0 0 .4vw rgba(0, 0, 0, 0.5), 0 0 0 .15vw transparent;
    border-radius: 0.4vw;
    border: none;
    outline: none;
    padding: 1vw 0.6vw;
    min-width: 190px;
    max-width: 250px;
    transition: .4s;
}

#inviteCode:hover {
    box-shadow: 0 0 0 .15vw rgba(135, 207, 235, 0.186);
}

#inviteCode:focus {
    box-shadow: 0 0 0 .15vw skyblue;
}

.form-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.form-container-center {
    text-align: center;
}

.invitees-list {
    margin-top: 20px;
}

.qr-container {
    margin-top: 10px;
}

.download-link {
    display: block;
    margin-top: 10px;
    color: #0066cc;
    text-decoration: none;
}

.qr-image-container {
    padding: 20px;
    border: 1px solid #ddd;
    margin-top: 20px;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-button {
    display: none;
    margin-top: 20px;
}

.invitees-list li {
    list-style: none;
    text-align: justify;
}