html, body {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    overscroll-behavior: none;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ff7675, #fab1a0);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-sizing: border-box;
    position: relative;
}

.sluit-knop {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ff7675;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s, transform 0.1s;
}

.sluit-knop:hover {
    background-color: #d63031;
}

.sluit-knop:active {
    transform: scale(0.9);
}

h1 {
    color: #2d3436;
    margin-bottom: 20px;
}

.btn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

button {
    background-color: #e84393;
    color: white;
    border: none;
    padding: 15px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

button:hover {
    background-color: #fd79a8;
}

button:active {
    transform: scale(0.95);
}

.hidden {
    display: none !important;
}

#som-container {
    font-size: 55px;
    font-weight: bold;
    color: #2d3436;
    margin: 15px 0;
}

#antwoord-weergave {
    font-size: 36px;
    font-weight: bold;
    width: 80%;
    height: 50px;
    margin: 0 auto 20px auto;
    border: 2px solid #b2bec3;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f1f2f6;
    color: #2d3436;
    letter-spacing: 2px;
}

.numpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.numpad button {
    background-color: #dfe6e9;
    color: #2d3436;
    font-size: 24px;
    padding: 15px 0;
    border-radius: 10px;
    font-weight: bold;
}

.numpad button:hover {
    background-color: #b2bec3;
}

.numpad button.actie-wissen {
    background-color: #ff7675;
    color: white;
    font-size: 20px;
}

.numpad button.actie-wissen:hover {
    background-color: #d63031;
}

.numpad button.actie-enter {
    background-color: #00b894;
    color: white;
    font-size: 20px;
}

.numpad button.actie-enter:hover {
    background-color: #019574;
}

.info-bar {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #636e72;
    margin-bottom: 5px;
    font-weight: 600;
    padding-right: 35px;
}

.score-box {
    font-size: 20px;
    margin: 20px 0;
    line-height: 1.8;
    text-align: left;
    display: inline-block;
}

.goed {
    color: #00b894;
    font-weight: bold;
}

.fout {
    color: #d63031;
    font-weight: bold;
}

.overslagen {
    color: #636e72;
    font-weight: bold;
}

.tijd {
    color: #e84393;
    font-weight: bold;
}

