/* Estilo General */
body {
    font-family: 'Mr Dafoe', 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: 100%;
    width: 100%;
    overflow: hidden;
}

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

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

.header .title {
    font-family: 'Great Vibes', 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 {
    text-align: center;
    margin: 0 auto;
}

.main-content2 {
    padding: 30px;
    text-align: center;
    margin: 0 auto;
}

.main-content3 {
    padding: 10px;
    text-align: center;
    margin: 0 auto;
}

.imagenes {
    width: 100%;
    text-align: center;
    cursor: pointer;
}

section.imagenes img {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.section-title {
    font-family: 'Great Vibes', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: #582d83;
}

.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: 'Great Vibes', serif;
    font-size: 1.5rem;
    margin: 0 0 10px;
    color: #056b25; /* Gris palo rosa oscuro */
}

/* Sección de Confirmación de Asistencia */
.container {
    background: #b1d4b902;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

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

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-size: 2rem;
    color: #4a4a4a;
    text-align: left;
    margin-bottom: 5px;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

select, input[type="number"] {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
}

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

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

.button2 {
    display: inline-block;
    padding: 15px 20px;
    font-size: 16px;
    color: white;
    background-color: #0e6e2b;
    border: none;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 200px;
}

.button:hover {
    background-color: #0056b3;
}

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

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

.responsive-video {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

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

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

/* 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%;
    }

    .responsive-video {
        width: 100%;
        margin: 0;
    }
}

/* Estilo para computadoras */
@media (min-width: 601px) {
    .responsive-video {
        width: 75%;
        margin: 0 auto;
    }
}

/* Asegura que el enlace abarque todo el video */
.video-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

/* Botón para activar la música */
.audio-button {
    position: absolute;
    top: 10px;
    left: 0px;
    padding: 15px 20px;
    font-size: 16px;
    color: rgb(255, 255, 255);
    background-color: #0027b3a6;
    border: none;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 10px;
    width: 150px;
}

.audio-button:hover {
    background-color: #0027b375;
}

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

.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.5rem;
    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;
}

.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 20px;
    font-size: 1rem;
    color: white;
    background-color: #aa65c6;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

button:hover {
    background-color: #a3399a;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%; /* Ajusta el tamaño para móviles */
    max-width: 500px;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
