body {
    background-color: rgba(255, 255, 255, 0.451);
    font-family: Impact, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.logo-container {
    position: absolute;
    top: 10px;
    left: 10px;
}

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

header {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: white;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-wrap: nowrap;
    gap: 10px;
}

#Links {
    display: flex;
    gap: 10px;
    margin-left: auto;
	margin-right:25px;
}

#Links a {
    background-color: white;
    border: none;
    font-family: Impact, sans-serif;
    font-size: 18px;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.4s;
    white-space: nowrap;
    text-decoration: none;
}

#Links a:hover {
    color: #9acc52;
}

#grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
}

.partij-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    text-align: center;
    margin-bottom: 10px;
}

.vierkant {
    width: 50px;
    height: 50px;
    background-color: #9acc52;
    border: 2px solid #9acc52;
    transition: background-color 0.3s, transform 0.3s;
}

.vierkant:hover {
    transform: scale(1.1);
}

.vierkant.active {
    background-color: #9acc52;
}

.partij-container p {
    font-size: 14px;
    font-family: Impact, sans-serif;
    margin: 5px 0 0;
}

@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 5px 10px;
    }

    .logo {
        height: 50px;
        width: auto;
        margin-right: 10px;
    }

    #Links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        margin-left: auto;
    }

    #Links a {
        font-size: 14px;
        padding: 8px 15px;
        text-align: center;
    }

    #grid-container {
        gap: 10px;
    }
}