/* Estilo General */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden; /* Añadir esta línea para evitar el desbordamiento horizontal */
}
/* Contenedor de la Invitación */
.invitation-container {
    background: #ffffff;
    max-width: 1000px;
    width: 100%;
   /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);*/
    /*border-radius: 10px;*/
    overflow: hidden;
}

/* Encabezado */
.header {
    text-align: center;
    /*padding: 20px;*/
    background-color: #ffffff;
    color: #333;
}

.header .pre-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0;
    color: #145c94; /* Gris palo rosa */
}

.header .title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin: 10px 0;
    color: #145c94; /* Gris palo rosa oscuro */
}

.header .date {
    font-size: 1.2rem;
    margin: 10px 0 20px;
    color: #145c94; /* Gris palo rosa */
}

.header video.responsive-video {
    width: 100%;
    height: auto;
}

/* Contenido Principal */
.main-content {
    padding: 20px;
    text-align: center;
}

.personajes {
    width: 100%;
   
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.invitation-details {
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #145c94; /* Gris palo rosa oscuro */
}

.details-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

.details-content img {
    width: 50%;
    height: auto;
    border-radius: 10px;
}

.event-details {
    width: 50%;
}

.event {
    margin-bottom: 20px;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0 0 10px;
    color: #145c94; /* Gris palo rosa oscuro */
}

/* Sección de Confirmación de Asistencia */

.confirmation {
    padding: 40px;
    background-color: #ffffff;
    color: #333;
    text-align: center;
}

.container {
    background: #fff;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
    overflow: visible;
}

.container:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

label {
    font-size: 1.1rem;
    color: #4a4a4a;
    text-align: left;
    margin-bottom: 5px;
    width: 100%;
    max-width: 400px;
}

.input-container {
    width: 100%;
    max-width: 400px;
    position: relative;
}

input[type="number"], input[type="text"] {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="number"]:focus, input[type="text"]:focus {
    border-color: #e1a442;
    box-shadow: 0 0 5px rgba(225, 164, 66, 0.5);
    outline: none;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    visibility: visible; /* Asegúrate de que la lista esté visible */
    display: none; /* Comienza oculta */
}

.suggestions-list li {
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1rem;
}

.suggestions-list li:hover {
    background: #f0f0f0;
}


.radio-group {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    justify-content: flex-start;
}

.radio-group input {
    margin-right: 10px;
}

button {
    padding: 15px;
    font-size: 1rem;
    color: white;
    background-color: #0a426d; /* Gris palo rosa oscuro */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #145c94; /* Gris palo rosa más oscuro */
}

input, select, button {
    transition: all 0.3s ease;
}

.ubicacion {
    text-align: center;
    background-color: #ffffff;
    color: #504f4f;
    font-size: 2rem;
}

/* Pie de Página */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #145c94; /* Gris palo rosa */
    color: #ffffff;
}

.p {
    margin: 0;
    font-size: 1.8rem;
}

/* Media Queries para Responsividad */
@media (max-width: 600px) {
    .header .title {
        font-size: 2.5rem;
    }

    .header .date {
        font-size: 1rem;
    }

    .details-content {
        flex-direction: column;
    }

    .details-content img,
    .event-details {
        width: 100%;
    }
}

#audioControl {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000; 
}

#audioControl:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

figure {
    display: inline-block;
    text-align: center;
    margin: 0 60px; /* Ajusta el margen según sea necesario */
}

figcaption {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #504f4f; /* Ajusta el color según tu diseño */
}