/* --- Three.js Canvas Underlay --- */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* --- Overlay Container --- */
#overlay {
    position: absolute;
    top: 10%;
    width: 100%;
    text-align: center;
    z-index: 2;
    pointer-events: auto;
}
/* Script-font welcome text */
.welcome-text {
    font-size: 64px;
    color: white;
    margin: 0;
}
.sub-text {
    font-size: 32px;
    margin-top: -10px;
    color: white;
}

/* Passkey Form */
.passkey-form {
    margin-top: 25px;
}
.passkey-form input {
    padding: 12px 20px;
    font-size: 20px;
    border-radius: 10px;
}
.passkey-form button {
    padding: 12px 30px;
    font-size: 20px;
    border-radius: 10px;
    margin-left: 10px;
    cursor: pointer;
}

body {
    margin: 0;
    padding: 0;
    background-color: #111111; /* <–– Added dark grey background */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

h1 {
    color: white;
}

/* Script font */
.welcome-text,
.sub-text,
.heading {
    font-family: "Great Vibes", cursive;
}

.heading {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: black;
}

/* Universal button styling */
button {
    font-family: "Great Vibes", cursive;
    font-size: 1.4em;
    padding: 12px 28px;
    border-radius: 10px;
    cursor: pointer;

    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(0, 0, 0, 0.35);

    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.45);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    transform: scale(1.05);
    box-shadow:
        inset 0 0 12px rgba(0, 0, 0, 0.35),
        0 6px 15px rgba(0, 0, 0, 0.55);
}

button:active {
    transform: scale(0.97);
    box-shadow:
        inset 0 0 15px rgba(0, 0, 0, 0.45),
        0 3px 8px rgba(0, 0, 0, 0.35);
}



/* Container for the content */
/* Container for the content */
.container {
    padding: 40px 60px;
    max-width: 500px;
    text-align: center;
    z-index: 1;

    background-image: url("/static/imgs/parchment.png");
    background-size: 250%;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 12px;
    border: 2px solid rgba(0,0,0,0.25);

    /* Depth + subtle aging */
    box-shadow:
        inset 0 0 25px rgba(0, 0, 0, 0.2),
        0 8px 25px rgba(0, 0, 0, 0.45);
}


/* Title styling */
.title {
    font-size: 2.2em;
    margin-bottom: 20px;
}

/* Prompt text */
.prompt {
    font-size: 1.0em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.guestmessage {
    font-size: 1.0em;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Choices */
.choice {
    margin: 15px 0;
    font-size: 1.1em;
}

input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
}

/* Submit button */
.submit-btn {
    margin-top: 25px;
    padding: 10px 25px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}

.submit-btn:hover {
    transform: scale(1.05);
}

.two-column {
    display: flex;
    flex-direction: row;
    gap: 40px;
    max-width: 900px;  /* makes room for two columns */
    text-align: left;  /* prevents text from centering weirdly */
}

.left-column,
.right-column {
    flex: 1;
}

.left-column {
    padding-right: 20px;
}

.left-column p b{
    white-space: pre-line;
    font-weight: 700;
    font-family: serif; /* or anything that has a bold weight */
    font-size: 1.1em;
    line-height: 1.55;
    color: black;
}


.right-column {
    border-left: 2px solid rgba(0,0,0,0.2);
    padding-left: 20px;
}

/* --- RSVP Form Styling -------------------------------------------------- */

/* Label styling */
.rsvp-label {
    font-family: "Great Vibes", cursive;
    font-size: 1.1em;
    color: black;
    display: block;
    margin-bottom: 6px;
}

/* Text inputs */
.rsvp-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 1.1em;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.65);
    border: 2px solid rgba(0, 0, 0, 0.35);

    box-shadow:
        inset 0 0 8px rgba(0, 0, 0, 0.15),
        0 3px 7px rgba(0, 0, 0, 0.2);

    font-family: serif;
    color: #222;
}

.rsvp-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        inset 0 0 12px rgba(0, 0, 0, 0.25),
        0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Textareas */
.rsvp-textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 1.1em;
    border-radius: 10px;
    resize: vertical;

    background: rgba(255, 255, 255, 0.65);
    border: 2px solid rgba(0, 0, 0, 0.35);

    box-shadow:
        inset 0 0 8px rgba(0, 0, 0, 0.15),
        0 3px 7px rgba(0, 0, 0, 0.2);

    font-family: serif;
    color: #222;
}

.rsvp-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        inset 0 0 12px rgba(0, 0, 0, 0.25),
        0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Form container alignment */
.rsvp-form {
    margin-top: 10px;
}

.button-link {
    display: inline-block;
    text-decoration: none;
    font-family: "Great Vibes", cursive;
    font-size: 1.4em;
    padding: 12px 28px;
    border-radius: 10px;
    cursor: pointer;

    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(0, 0, 0, 0.35);

    box-shadow:
        inset 0 0 10px rgba(0, 0, 0, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.45);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-link:hover {
    transform: scale(1.05);
    box-shadow:
        inset 0 0 12px rgba(0, 0, 0, 0.35),
        0 6px 15px rgba(0, 0, 0, 0.55);
}

#thank-you {
    position: relative;
    z-index: 10; /* Make sure it appears above the canvas if canvas uses z-index */
    text-align: center;
    font-size: 4rem;
    color: #ffffff;
    margin-top: 20px;
    font-family: sans-serif;
}
