:root { /* Hier pas ik alle kleuren toe die gebruikt worden in het document. Ik heb zo veel mogelijk gehouden aan mijn kleuren palette*/
    --bg-light: #d8f6ff;
    --bg-soft: #e9fbff;
    --blue-dark: #2f4d68;
    --blue-dark-2: #263f56;
    --blue-medium: #6f879f;
    --blue-text: #647b8f;
    --gold: #d9a027;
    --gold-light: #f0c35a;
    --white: #ffffff;
    --black: #111111;
    --danger: #b83232;
    --success: #237a3b;

    --radius-sm: 8px; /* Sm= small md = medium en lg = large voor radius.*/
    --radius-md: 14px;
    --radius-lg: 24px;

    --shadow-soft: 0 10px 30px rgba(47, 77, 104, 0.18);
    --shadow-card: 0 14px 40px rgba(38, 63, 86, 0.22);

    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg-light), var(--bg-soft));
    color: var(--blue-text);
    font-family: Arial, Helvetica, sans-serif;
}

body,
input,
button,
select,
textarea {
    font-style: italic;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--gold);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    color: var(--blue-dark);
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.1;
    font-style: normal;
    font-weight: 800;
}

h2 {
    color: var(--gold);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

p {
    font-size: 1.15rem;
    line-height: 1.7;
}

button,
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: var(--radius-sm);
    background-color: var(--blue-dark);
    color: var(--bg-light);
    padding: 0.95rem 1.6rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s ease;
}

button:hover,
.button:hover { /* simpel hovertje om de button iets meer effect en diepte te geven*/
    background-color: var(--blue-dark-2);
    color: var(--gold-light);
    transform: translateY(-1px);
}

input,
select,
textarea {
    width: 100%;
    border: none;
    border-radius: var(--radius-sm);
    background-color: var(--blue-medium);
    color: var(--black);
    padding: 0.95rem 1rem;
    font-size: 1.05rem;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: rgba(0, 0, 0, 0.75);
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(217, 160, 39, 0.35);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 0.9rem;
    text-align: left;
}

th {
    color: var(--white);
    background-color: var(--blue-dark-2);
}

td {
    background-color: rgba(255, 255, 255, 0.35);
}

.melding-fout,
.foutmelding,
.error {
    background-color: rgba(184, 50, 50, 0.15);
    color: var(--danger);
    border: 1px solid rgba(184, 50, 50, 0.4);
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    margin: 1rem 0;
}

.melding-succes,
.succesmelding,
.success {
    background-color: rgba(35, 122, 59, 0.15);
    color: var(--success);
    border: 1px solid rgba(35, 122, 59, 0.35);
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    margin: 1rem 0;
}

.page {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
    padding: 3rem 0;
}

.card {
    background-color: var(--blue-dark);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 2rem;
}

.text-center {
    text-align: center;
}

.gold {
    color: var(--gold);
}