html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
}

body {
    background-color: #0a0a0a;
    color: white;
    text-align: center;
    background-image: url('backgroundwd.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    font-family: 'Pathway Extreme', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 4%;
}

.logo img {
    width: 100px; 
    height: auto;
}

.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
}

.sign-in {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sign-in img {
    width: 20px;
    height: auto;
    vertical-align: middle;
}
.nav-menu a:hover,
.sign-in:hover {
    color: #E09D7C;
}



.hero {
    background: url('background.jpg') center/cover no-repeat;
    height: 60vh; /* Gebruik vh zodat de hero-sectie goed schaalt */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5vh;
}

.hero-content {
    max-width: 80vw;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content span {
    color: #E09D7C;
}

.hero-content p {
    font-size: 1.2rem;
    color: #ddd;
}

.info-boxes {
    display: flex;
    justify-content: center; 
    align-items: stretch; 
    gap: 40px; 
    padding: 40px;
    flex-wrap: wrap; 
}

.box-link {
    display: flex; 
    flex: 1; 
    max-width: 300px; 
    text-decoration: none; 
    color: inherit; 
}

.box {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    width: 280px;
    text-align: center;
    border: 2px solid #E09D7C;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.box img {
    height: 50px;
    margin-bottom: 10px;
}

.box:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

footer {
    background-color: black;
    padding: 1px 0;
    width: 100%;
    text-align: center;
    position: relative;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    width: 100px;
    height: auto;
}

.footer-link {
    text-decoration: none; 
    color: #E09D7C; 
}

.footer-link:hover {
    color: white;
    transition: color 0.3s ease-in-out;
}


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-box {
    background: black;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    width: 400px;
    border: 2px solid #E09D7C;
    color: white;
}

.popup-box h2 {
    color: #E09D7C;
    margin-bottom: 10px;
}

.popup-box button {
    background: #E09D7C;
    color: black;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.popup-box button:hover {
    background: white;
    color: black;
}


@media screen and (max-width: 1024px) {
    nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }

    .right-menu {
        margin-top: 10px;
    }

    .logo img {
        width: 80px; 
    }
}

@media screen and (max-width: 768px) {
 
    nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .logo {
        display: none;
    }

    .hero {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .info-boxes {
        flex-direction: column; 
        align-items: center; 
        gap: 20px; 
    }

    .box-link {
        max-width: 100%;
    }

 
    .footer-content {
        flex-direction: column;
    }
}

@media screen and (max-width: 600px) {

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

    .nav-menu a {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .box {
        width: 95%;
    }

    .footer-logo img {
        max-width: 80px;
    }

    .modal-content {
        width: 90%;
    }
}