body {
    font-family: Arial, sans-serif;
    margin: 20;
    padding: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #c3c9cd;   
   
            
        }
    

        h1 {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100vw; /* Volledige breedte */
            height: 10vh; /* Hoogte aanpassen indien nodig */
            margin: 0;
            animation: scaleTitle 10s infinite alternate ease-in-out;
            z-index: 1;
            
            }
            
            @keyframes scaleTitle {
            0% { font-size: 1rem; opacity: 1; }
            50% { font-size: 8rem; opacity: 0; }
            100% { font-size: 3rem; opacity: 1; }
            }


@keyframes rotateWheel {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes titleAnimation {
    0% { color: white; transform: rotate(0deg); }
    50% { color: rgb(93, 99, 100); }
    100% { color: lightblue; transform: rotate(360deg); }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
}

.overlay img {
    max-width: 80%;
    max-height: 80%;
}

.overlay .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}




.wheel-container {
    position: relative;
    width: 100vmin;  /* Responsive */
    height: 70vmin; /* Responsive */
    
    
}
.wheel-shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 10px 20px 30px rgba(101, 107, 109, 0.9);
}
.wheel {
    position:absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#9aa0a9, #5f6670, #3e434b, #9aa0a9);
   
    display: flex;
    justify-content: center;
    align-items: center;
    animation: rotate 30s linear infinite;

    box-shadow: 10px 20px 30px rgba(101, 107, 109, 0.9);
}

.slice {
    position: absolute;
    width: 12vmin;  /* Responsive */
    height: 12vmin; /* Responsive */
    background: #8a8d8f;
    color: white;
    text-align: center;
    line-height: 12vmin;
    
    font-weight: bold;
    text-decoration: none;
    font-size: 6vmin;
   
    transform-origin: center center;
    border-radius: 50px;
box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.9);
z-index: 1;
animation: fadeInfoButton 6s infinite alternate ease-in-out;
}


@keyframes rotateText {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.slice span {
    display: inline-block;
    animation: rotateText 30s linear infinite;
}

.slice span {
   
    transition: color 1s ease-in-out;
    animation: titleAnimation 6s infinite alternate ease-in-out;
}

@keyframes rotateWheel {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

 /* Plaats de slices aan de binnenrand van de cirkel */
 .slice:nth-child(1) { transform: rotate(0deg) translate(33vmin) rotate(0deg); }
 .slice:nth-child(2) { transform: rotate(45deg) translate(33vmin) rotate(-45deg); }
 .slice:nth-child(3) { transform: rotate(90deg) translate(33vmin) rotate(-90deg); }
 .slice:nth-child(4) { transform: rotate(135deg) translate(33vmin) rotate(-135deg); }
 .slice:nth-child(5) { transform: rotate(180deg) translate(33vmin) rotate(-180deg); }
 .slice:nth-child(6) { transform: rotate(225deg) translate(33vmin) rotate(-225deg); }
 .slice:nth-child(7) { transform: rotate(270deg) translate(33vmin) rotate(-270deg); }
 .slice:nth-child(8) { transform: rotate(315deg) translate(33vmin) rotate(-315deg); }
 /* Animatie voor het draaien */
 @keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* Hover effect */
.slice:hover {
    background: #0056b3;
}

/* Extra schaalbaarheid voor kleine schermen */
@media (max-width: 600px) {
    .slice {
        width: 10vmin;
        height: 10vmin;
        line-height: 10vmin;
        font-size: 4vmin;
    }
    @keyframes scaleTitle {
        0% { font-size: 0.5rem; opacity: 1; }
        50% { font-size: 2.5rem; opacity: 0; }
        100% { font-size: 1.2rem; opacity: 1; }
        }
    
}

    .bottom-container {
        position:absolute;
        bottom: 20px; /* Afstand vanaf de onderkant */
        
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
    
    .home-link {
        margin-bottom: 10px; /* Ruimte tussen HOME en de footer */
    }
    
    .home-link a {
        font-size: 1.5rem;
        font-weight: bold;
        color: #3b404d;
        text-decoration: none;
    }
    
    .home-link a:hover {
        text-decoration: underline;
    }
    
    footer {
        font-size: 0.7rem;
        color: #363434;
    }
    
    .home-link a {
        font-size: 1.5rem;
        font-weight: bold;
        color: #3b404d;
        text-decoration: none;
    }
    
    .home-link a:hover {
        text-decoration: underline;
    }


