/* Algemene instellingen */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: url('images/achtergrondafb.JPG') no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

/* Overlay voor leesbaarheid */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(124, 124, 124, 0.5);
    z-index: 1;
}

/* Verplaats inhoud boven de overlay */
header, .container, .nav-links {
    position: relative;
    z-index: 2;
}

/* Header stijl */
header {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    padding: 10px 0;
}

header h1 {
    font-size: 3em;
    color: #ffffff;
    letter-spacing: 2px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* Container stijl */
.container {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    text-align: center;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

/* Tekststijlen */
.container h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.container p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #f3f3f3;
}

/* Linklijst stijl */
.nav-links {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links li a {
    text-decoration: none;
    color: #ffcccb;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-links li a:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive layout voor kleine schermen */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    header h1 {
        font-size: 2em;
    }

    .container h2 {
        font-size: 2em;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-links li {
        margin-bottom: 10px;
    }

    .nav-links li a {
        padding: 10px;
        width: 100%;
        text-align: center;
    }
}
