/* ======================= FONTS ======================= */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600&family=Quicksand:wght@400;600&display=swap');

@font-face {
    font-family: 'Mea Culpa';
    src: url('/fonts/MeaCulpa.woff2') format('woff2'),
         url('/fonts/MeaCulpa.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ======================= BASISSTIJLEN ======================= */
* {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    color: #222;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    text-align: center;
}

body {
    overflow-x: hidden;
    background: url(./afb/back.jpg) no-repeat center center fixed;
    background-size: cover;
    background-color: #fff;
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}

/* ======================= HEADER ======================= */
.header {
    background: linear-gradient(to bottom, rgba(250,251,243,0) 88%, rgba(250,251,243,1) 100%),
                url('./afb/wedding.jpg') center top / cover no-repeat;
    height: 87vh;
    margin: 0;
    padding-top: 12em;
    position: relative;
    overflow: hidden;
}

.header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 18vh;
    background: linear-gradient(to bottom, rgba(250,251,243,0) 0%, rgba(250,251,243,1) 100%);
    pointer-events: none;
}

.heading {
    color: #ffffff;
    display: block;
    font-family: 'Mea Culpa', 'Brush Script MT', cursive;
    font-size: 8em;
    font-weight: normal;
    text-shadow: 0 0 6px #000;
}

.heading-subtext {
    color: #fff;
    display: block;
    font-family: 'Mea Culpa', cursive;
    font-size: 0.8em;
}

/* ======================= BUTTON ======================= */
.fixed-button {
    background: rgba(20,20,20,.5);
    border-radius: 1em;
    bottom: 1em;
    color: white;
    font-weight: bold;
    padding: 1em;
    position: fixed;
    right: 1em;
    text-decoration: none;
    z-index: 9999;
}

.fixed-button::after {
    content: "\25BE";
    display: block;
    font-size: 28px;
    line-height: 0;
    margin-bottom: 6px;
    margin-top: 10px;
    text-align: center;
}

.fixed-button:hover {
    background: rgba(20,20,20,.9);
}

/* ======================= SECTIES ======================= */
.section {
    margin: 0 auto;
    max-width: 600px;
    padding: 1em 2.4em;
    background: transparent;
    border-radius: 1em;
    box-shadow: none;
}

.centered-container {
    max-width: 600px;
    margin: 3em auto;
    padding-left: 1.8em;
    padding-right: 1.8em;
    padding-top: 2em;
    padding-bottom: 2em;
    background: rgba(255,255,255,0.92);
    border-radius: 1em;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    text-align: left;
    backdrop-filter: blur(4px);
    overflow-x: hidden;
}

.sub-heading {
    font-family: 'Caveat', cursive;
    font-size: 3em;
    margin-top: 2em;
}

.details {
    margin: 0 auto 4em;
}

.details-heading {
    font-weight: bold;
    text-transform: uppercase;
}

.fas {
    font-size: 3em;
    opacity: .8;
}

.resort-image {
    width: 100%;
}

/* ======================= FOTOBOX ======================= */
@keyframes goldGlow {
    0% {
        box-shadow: 0 0 35px rgba(237,189,125,0.7),
                    0 0 70px rgba(237,189,125,0.5),
                    0 0 120px rgba(237,189,125,0.3);
    }
    50% {
        box-shadow: 0 0 55px rgba(237,189,125,1),
                    0 0 110px rgba(237,189,125,0.7),
                    0 0 160px rgba(237,189,125,0.4);
    }
    100% {
        box-shadow: 0 0 35px rgba(237,189,125,0.7),
                    0 0 70px rgba(237,189,125,0.5),
                    0 0 120px rgba(237,189,125,0.3);
    }
}

.fotobox {
    width: 100%;
    max-width: 625px;
    margin: 2.5em auto;
    overflow: hidden;
    border: 25px solid rgba(20,20,20,.95);
    border-radius: 1.6em;
    position: relative;
    aspect-ratio: 5 / 4;
    background-color: #111;
    animation: goldGlow 5s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.overgang {
    width: 100%;
    height: 100%;
    border-radius: 1.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111;
    overflow: hidden;
    position: relative;
}

.overgang img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.overgang img.active {
    display: block;
}

/* ======================= FORMULIER FIX ======================= */
.login-form {
    width: 100%;
    margin: 2em 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
}

.login-form label {
    font-weight: bold;
    display: block;
    width: 100%;
}

.login-form input,
.login-form textarea,
.login-form select {
    display: block;
    width: 100%;              /* vult altijd de container */
    max-width: 100%;          /* nooit breder dan het kader */
    box-sizing: border-box;   /* padding telt mee */
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    margin: 0;
}

.login-form textarea {
    display: block;          /* pakt de hele regel */
    width: 100%;             /* vult de container volledig */
    max-width: 100%;         /* nooit breder dan de parent */
    box-sizing: border-box;  /* padding telt mee in breedte */
    min-height: 120px;
    resize: none;
}

.login-form button,
form button {
    padding: 12px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
}

.login-form button:hover {
    background-color: #555;
}

/* ======================= RESPONSIVE ======================= */
@media (max-width: 600px) {
    .heading {
        font-size: 4em;
    }

    .fotobox {
        width: 90%;
        border: 20px solid rgba(20,20,20,.95);
        border-radius: 1.3em;
    }

    .footer {
        font-size: 0.75em;
        padding: 1em 1.4em;
    }
}

@media (orientation: landscape) and (max-width: 900px) {
    .centered-container {
        padding-left: 1.4em;
        padding-right: 1.4em;
        width: 100%;
    }

    .login-form {
        width: 100%;
    }
}

.centered-container textarea,
.centered-container input[type="text"],
.centered-container select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ======================= FOOTER ======================= */
.footer {
    margin: 4em auto 2em;
    padding: 1em 2em;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 4px rgba(0,0,0,0.6);
    font-family: 'Quicksand', sans-serif;
}

.footer p {
    margin: 0.4em 0;
    font-size: 0.9em;
}

.footer p.disclaimer {
    font-size: 0.75em;
    opacity: 0.8;
    line-height: 1.6;
}

.footer a {
    color: #96BEF9;
    text-decoration: none;
}

.footer a:hover {
    opacity: 0.7;
}

.italic-x {
    font-style: italic;
    color: #96BEF9;
}

