/* Algemene stijl */
body {
    margin: 0;
    font-family: "Playfair Display", serif;
    background-color: #fff;
    color: #333;
}

/* Container houdt afbeelding + overlay samen */
.invite-container {
    position: relative;
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
    text-align: center;
}

/* Afbeelding schaalt altijd mooi */
.invite-image {
    width: 100%;
    max-width: 800px;
}

/* Overlay positie RESPONSIVE */
/* Nieuwe, mooi omlijnde witte kaart */
.overlay {
    position: absolute;

    /* positie van het tekstkader op de afbeelding */
    top: 65%; /* komt tussen hartjes en discobal */
    left: 50%;
    transform: translate(-50%, 0);

    width: 85%;
    max-width: 450px;

  
}


/* Je vraagtekst */
.vraag {
    font-size: clamp(1rem, 3vw, 1.8rem);
    margin-bottom: 15px;
    color: saddlebrown;
    font-weight: 600;
    line-height: 1.3;
}

/* Form elementen */
select, textarea, button {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

button {
    margin-top: 10px;
    background-color: #f5a623;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background-color: #d98f1d;
}

#adresblok textarea {
    resize: vertical;
}

/* Mobiel optimalisatie */
@media (max-width: 768px) {
    .overlay {
        width: 50%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .overlay {
        padding: 18px;
    }
}

.adresblok {
    display: none;
    margin-top: 15px;
}

/* Center layout voor pagina’s zonder afbeelding */
.center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

/* Mooie trouwkaart-stijl */
.card {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 32px;
    border-radius: 18px;
    border: 2px solid rgba(210, 170, 120, 0.4);
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
    text-align: center;
}

.title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: saddlebrown;
    margin-bottom: 10px;
}

.subtitle {
    font-size: clamp(1rem, 2.4vw, 1.3rem);
    color: #555;
    margin-bottom: 25px;
}

.small-text {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #666;
    margin-top: 10px;
}

/* Form styles */
.code-input {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    border: 1px solid #d5c3a2;
    border-radius: 8px;
    margin-bottom: 18px;
    box-sizing: border-box;
}

.submit-btn {
    width: 100%;
    background-color: #f5a623;
    color: white;
    padding: 12px;
    border: none;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #d98f1d;
}

.gif-juichen {
    width: 100%;
    max-width: 280px;
    display: block;
    margin: 22px auto;
    border-radius: 12px;
}

