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

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

/* Contenido Principal */
.main-content {
    text-align: center;
    margin: 0 auto;
}

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


/* Sección RSVP */
.rsvp-section {
    position: relative;
    text-align: center;
    margin: 20px 0;
}


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

label {
    font-size: 1.2rem;
    color: #4a4a4a;
    text-align: left;
}

.input-container {
    position: relative;
}

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

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

button {
    padding: 10px 20px;
    font-size: 0.8rem;
    color: white;
    background-color: #91a860;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #7d8801;
}

/* Media Queries para Responsividad */
@media (max-width: 600px) {
    .responsive-video,
    .rsvp-background {
        width: 100%;
        margin: 0;
    }

    #rsvp-container {
        padding: 10px;
    }

    label {
        font-size: 1rem;
    }
}

/* Botón para activar la música */
.audio-button {
    position: fixed; /* Cambiado a fixed para mantenerlo visible */
    top: 10px;
    left: 10px;
    padding: 15px 20px;
    font-size: 16px;
    color: rgb(255, 255, 255);
    background-color: #98a504a6;
    border: none;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 150px;
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

.audio-button:hover {
    background-color: #849005a6;
}


/* Contenedor común para la imagen y RSVP */
.image-rsvp-container {
    position: relative;
    width: 100%;
    height: auto;
}

/* Estilo para la imagen */
.responsive-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Estilo para la imagen */
.responsive-video {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Contenedor RSVP */
.rsvp-background {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: auto;
    background: rgba(255, 255, 255, 0); /* Fondo semi-transparente */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Formulario dentro del contenedor RSVP */
#rsvp-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}


.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 */
    font-family: sans-serif;
}

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

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






.countdown {
    position: relative;
    width: 100%;
    height: 50vh;
    background-image: url('Imagenes/DSC05221.jpg');
    background-size: cover;
    background-position: center;
    color: #a87b05;
}

.countdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
}

.countdown-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.countdown h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: normal;
    font-family: 'Great Vibes', cursive;
}

.countdown h3 {
    margin: 10px 0;
    font-size: 1.5rem;
}

.timer {
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    font-family: sans-serif, cursive;
}

.timer div {
    margin: 0 10px;
}
