/* Algemene opmaak */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0; /* Lichtgrijze achtergrond */
}

h1, h2, h3, p {
    text-align: center;
}

.grid {
    border: 2px solid #333; /* Donkere rand */
    height: 480px;
    width: 560px;
    display: flex;
    flex-wrap: wrap;
    margin: 20px auto; /* Gecentreerd op de pagina */
    background-color: #fff; /* Witte achtergrond */
}

.grid div {
    height: 80px;
    width: 80px;
}

/* Speler opmaak */
.player-one {
    background-color: #ffc107; /* Gele kleur */
    border-radius: 50%; /* Ronde vorm */
}

.player-two {
    background-color: #2196f3; /* Blauwe kleur */
    border-radius: 50%; /* Ronde vorm */
}

/* Resultaat en huidige speler sectie */
#result, #current-player {
    text-align: center;
}

/* Lijn opmaak */
.horlijnen div, .verlijnen div {
    background-color: #333; /* Donkere lijnkleur */
}

.horlijnen {
    display: flex;
}

.verlijnen {
    position: relative;
    top: -2px; /* Aanpassing om lijnen perfect uit te lijnen */
}

.verlijnen div {
    height: 482px; /* Aanpassing om lijnen perfect uit te lijnen */
    width: 2px;
    margin-left: 79px; /* Aanpassing om lijnen perfect uit te lijnen */
}

/* Toegevoegde stijl voor klikbaarheid */
.grid div:hover {
    cursor: pointer;
    opacity: 0.7;
}

.img1 {
    position: relative;
    bottom: 450px;
    left: 50px;
    width: 400px;
}
.img2 {
    position: relative;
    bottom: 450px;
    left: 680px;
    width: 400px;
}
#reset-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    top: -250px; /* Dit zorgt ervoor dat de knop boven de grid komt te staan */
}

#reset-button:hover {
    background-color: #cc0000;
}
