/* Algemene opmaak */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('Assets/achtergrond_1.jpeg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
    pointer-events: none;
}

header, main {
    position: relative;
    z-index: 1;
}

/* Header met logo */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: rgba(0, 128, 0, 0.8);
}

.logo img {
    height: 50px;
}

/* Content sectie */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 40px;
}

/* Keuze-opties */
.choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    text-align: center;
    background-color: rgba(0, 128, 0, 0.8);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.choice img {
    width: 150px;
    height: 150px;
    margin-top: 10px;
}

.choice:hover {
    background-color: rgba(0, 150, 0, 0.9);
}

/* Sponsors sectie */
.sponsors {
    text-align: center;
    color: white;
}

.sponsors h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Carrousel styling */
.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.carousel-item {
    min-width: 150px;
    margin: 0 10px;
    animation: rotate 10s linear infinite;
}

.carousel-item img {
    width: 100px;
    height: auto;
}

/* Animatie voor roterende logo's */
@keyframes rotate {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Media Query voor mobiele apparaten */
@media (max-width: 600px) {
    .choice {
        width: 100%;
    }

    .choice img {
        width: 100px;
        height: 100px;
    }

    .logo img {
        height: 40px;
    }

    main {
        height: auto;
    }

    .carousel-item img {
        width: 80px;
    }
}