/* Estilo General */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Contenedor de la Invitación */
.invitation-container {
    background: #000000 url('Media/Fondo.png') no-repeat center center;
    background-size: cover; /* Asegura que la imagen de fondo cubra todo el contenedor */
    width: 100%;
    overflow: hidden;
}

/* Encabezado */
.header {
    text-align: center;
    padding: 0; /* Elimina el padding */
    margin: 0; /* Elimina el margen */
    background-color: transparent;
    color: #333;
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header .pre-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0;
    color: #d1c40f; /* Gris palo rosa */
}

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

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

.header video.responsive-video {
    width: 100vw; /* Asegura que el video ocupe todo el ancho de la pantalla */
    height: 50vh; /* Ajusta la altura al 50% del viewport height */
    display: block;
}

video.responsive-video2 {
    width: 50vw; /* Ajusta el ancho del video al 50% del ancho de la pantalla */
    max-width: 600px; /* Ancho máximo del video */
    height: auto; /* Ajusta la altura automáticamente */
    display: block;
    margin: 0 auto; /* Centra el video horizontalmente */
}

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

.personajes img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Centra la imagen */
    max-width: 600px; /* Ajusta el ancho máximo de la imagen */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #efbb00; /* 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: #efbb00; /* Gris palo rosa oscuro */
}

/* Sección de Confirmación de Asistencia */
.container {
    background: #98989823;
    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: 1rem;
    color: #fbfbfb;
    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;
    font-size: 1rem;
    color: white;
    background-color: #efbb00; /* Gris palo rosa oscuro */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #f29500; /* 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: 1.5rem;
}

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

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

#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;
}

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

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

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

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

#playButton:hover {
    background-color: #f29500; /* Gris palo rosa más oscuro */
}

/* Media Queries para Responsividad */
@media (max-width: 600px) {
    .header {
        justify-content: center;
        align-items: center;
    }
    .header video.responsive-video {
        width: 100vw; /* Asegura que el video ocupe todo el ancho de la pantalla */
        height: 50vh; /* Ajusta la altura al 50% del viewport height para móviles */
    }
    .personajes img {
        width: 100%;
        max-width: 100%; /* Ajusta el ancho máximo de la imagen para móviles */
    }
}
