/* =========================================
   BASIS + ACHTERGROND
========================================= */

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f5e9c8;
    max-width: 100%;
    overflow-x: hidden;

    background-image: url('/static/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Donkere overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: none;
    z-index: -1;
    pointer-events: none;
}

/* =========================================
   CONTAINER
========================================= */

.container {
    width: 92%;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: none;
    border-radius: 8px;
    box-sizing: border-box;
}

/* =========================================
   TITELS
========================================= */

h1, h2 {
    margin-top: 0;
    color: #fff8dc;
}

/* =========================================
   BOXEN
========================================= */

.box {
    background: none;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* =========================================
   LINKS
========================================= */

a {
    color: #ffd27f;
    text-decoration: none;
    font-weight: 500;
    word-break: break-word;
}

a:hover {
    color: #ffe9a6;
    text-decoration: underline;
}

/* =========================================
   LANGBAR
========================================= */

.langbar {
    margin-bottom: 20px;
}

.langbar a {
    margin-right: 8px;
    font-size: 18px;
}

/* =========================================
   BUTTONS
========================================= */

.button,
button {
    display: inline-block;
    padding: 16px 24px;
    background: #0078d4;
    color: white;
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
    border: none;
    text-align: center;
}

.button:hover,
button:hover {
    background: #005a9e;
}

/* =========================================
   FORMULIER
========================================= */

input,
select,
textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #666;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: #f5e9c8;
    font-size: 20px;
    line-height: 1.5;
    box-sizing: border-box;

    -webkit-appearance: none;
    appearance: none;
}

input::placeholder,
textarea::placeholder {
    color: #d8cfae;
}

/* =========================================
   FORMULIER — TWEE KOLOMMEN OP DESKTOP
========================================= */

.form-row {
    margin-bottom: 15px;
}

@media (min-width: 768px) {

    .form-row {
        display: flex;
        align-items: center;
    }

    .form-row label {
        width: 200px;
        margin-right: 20px;
        font-weight: bold;
        font-size: 20px;
    }

    .form-row input,
    .form-row select,
    .form-row textarea {
        width: 350px;
        max-width: 100%;
    }
}

/* =========================================
   MOBIEL — PERFECTE SCHALING
========================================= */

@media (max-width: 768px) {

    .container {
        width: 100%;
        padding: 16px;
    }

    .form-row label {
        font-size: 22px;
        display: block;
        margin-bottom: 6px;
        width: 100%;
    }

    input,
    select,
    textarea {
        font-size: 22px;
        padding: 16px;
    }

    button,
    .button {
        font-size: 22px;
        padding: 18px 26px;
        width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    p, div, span, a {
        word-break: break-word;
        white-space: normal;
    }
}

/* =========================================
   HARD FIX VOOR MOBIEL INPUTVELDEN
   (iPhone + Android)
========================================= */

input[type="date"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="time"] {
    font-size: 22px !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}

input {
    min-height: 48px !important;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #ccc;
    color: #fff;
}

th {
    text-align: left;
    font-weight: bold;
    background: rgba(255,255,255,0.1);
}
