/* Algemene stijl */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow-x: hidden;
}
.veld {
    font-size: 1.2rem;
}
.scoreboard {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}
#scoreTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#scoreTable th, #scoreTable td {
    border: 1px solid #ddd;
    text-align: left;
    padding: 8px;
}

#scoreTable th {
    background-color: #f4f4f4;
    font-weight: bold;
}


h1, h2, h3 {
    margin: 10px 0;
    color: #333;
}

input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

button {
    background-color: #1ace0d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    margin: 5px;
    width: 100%;
    font-weight: bold;
}

button:hover {
    background-color: #27b300;
    transition-duration: 1s;
}
.reset {
    background-color: #ea0b0b;
    margin-top: 30px;
    width: 50%;
    padding: 25px;
}
.reset:hover, .resetPoint:hover {
    background-color: #2e87c7;
    transition-duration: 1s;
}

.point {
    width: 75%;
}
.resetPoint {
    background-color: #ea0b0b;
    width: 25%;
}
.deuce {
    color: #e63946;
    font-weight: bold;
}

.wins {
    color: green;
    font-size: 1.2rem;
    font-weight: bold;
}

.buttons {
    margin-top: 15px;
    display: flex; /* Use flexbox to align buttons horizontally */
    justify-content: center; /* Center-aligns the buttons */
}

#winnerField {
    margin-top: 20px;
    font-size: 1.2rem;
    color: green;
}
