@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Open+Sans:wght@300;400&display=swap');

body {
    margin: 0;
    padding: 0;
    background: url('images/background.jpg') no-repeat center center/cover;
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    text-align: center;
    height: 100vh;
    overflow: auto;
}

.overlay {
    background: rgba(0, 0, 0, 0.55); /* затемнение */
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 600px;
}

.names {
    font-family: 'Great Vibes', cursive;
    font-size: 3em;
    margin: 0;
    animation: fadeIn 2s ease-in-out;
}

.names span {
    color: #ffd700;
}

.subtitle {
    font-size: 1.2em;
    margin-top: 10px;
    font-style: italic;
    animation: fadeIn 3s ease-in-out;
}

.details {
    margin-top: 30px;
    font-size: 1.1em;
    animation: fadeIn 4s ease-in-out;
}

.countdown {
    margin-top: 25px;
    font-size: 1.3em;
    font-weight: bold;
    animation: fadeIn 5s ease-in-out;
}

.rsvp-form {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    animation: fadeIn 6s ease-in-out;
}

.rsvp-form h2 {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.rsvp-form input,
.rsvp-form select {
    width: 90%;
    padding: 10px;
    margin: 8px 0;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    text-align: center;
}

.rsvp-form button {
    background: #ffd700;
    color: #333;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.rsvp-form button:hover {
    background: #ffeb7a;
}

.confirmation {
    margin-top: 10px;
    color: #90ee90;
    font-style: italic;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
