/* Algemeen CSS */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5; /* Lichte, zachte grijze tint */
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    background-color: #ffcc00;
    padding: 20px;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.container {
    padding: 40px;
    background-color: #e0f7fa; /* Lichte, zachte blauwgroene tint */
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px; /* Maximaal breedte voor de container */
}

h1, h2 {
    color: #333;
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    color: #555;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #ffcc00;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #ff9900;
}

footer {
    margin-top: 20px;
    padding: 10px;
    background-color: #ffcc00;
    color: #333;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

.checkbox-label {
    font-size: 16px;
    color: #333;
    display: block;
    margin-top: 10px;
}

/* Digitale Klok Stijlen */
.digital-clock {
    font-size: 3em; /* Vergroot de digitale klok */
    font-family: 'Courier New', Courier, monospace; /* Monospaced font voor digitale uitstraling */
    background-color: #333; /* Donkere achtergrond voor contrast */
    color: #0f0; /* Groene tekstkleur, typisch voor digitale klokken */
    padding: 20px;
    border: 5px solid #0f0; /* Groene rand rondom de klok */
    border-radius: 15px; /* Afronding van de hoeken */
    display: inline-block;
    margin-top: 40px; /* Vergroot de ruimte boven de digitale klok */
    margin-bottom: 40px; /* Ruimte onder de digitale klok */
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5); /* Lichtgevende schaduw */
}

.checkbox-label input {
    margin-right: 10px;
}

/* Klok stijlen */
.clock {
    margin-top: 20px;
    position: relative;
}

.analog-clock {
    width: 300px;
    height: 300px;
    border: 10px solid #333;
    border-radius: 50%;
    position: relative;
    background: #fff;
    margin: 20px auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.analog-clock .hand {
    position: absolute;
    background: #333;
    border-radius: 50%;
    transform-origin: center bottom;
    transform: rotate(0deg);
    transition: transform 0.5s ease;
}

.analog-clock .hour {
    width: 8px;
    height: 100px;
    top: 50%;
    left: 50%;
    margin-left: -4px;
    margin-top: -100px;
    background: #333;
}

.analog-clock .minute {
    width: 6px;
    height: 140px;
    top: 50%;
    left: 50%;
    margin-left: -3px;
    margin-top: -140px;
    background: #555;
}

.analog-clock .second {
    width: 2px;
    height: 150px;
    top: 50%;
    left: 50%;
    margin-left: -1px;
    margin-top: -150px;
    background: red;
}

.analog-clock .number {
    position: absolute;
    font-size: 1.5em;
    color: #333;
    text-align: center;
    width: 30px;
    height: 30px;
    transform-origin: center center;
    transform: translate(-50%, -50%);
}

.number-1 { top: 50px; left: 220px; }
.number-2 { top: 95px; left: 265px; }
.number-3 { top: 150px; left: 285px; }
.number-4 { top: 205px; left: 265px; }
.number-5 { top: 250px; left: 220px; }
.number-6 { top: 275px; left: 150px; }
.number-7 { top: 250px; left: 80px; }
.number-8 { top: 205px; left: 35px; }
.number-9 { top: 150px; left: 15px; }
.number-10 { top: 95px; left: 35px; }
.number-11 { top: 50px; left: 80px; }
.number-12 { top: 25px; left: 150px; }

/* Specifieke stijlen voor de Tafels Oefenen pagina */
.fireworks {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1000;
}

.question-container {
    display: block;
    margin-top: 20px;
    padding: 20px;
}

.input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px; /* Vaste hoogte zodat het niet verschuift */
}

.input-container input {
    width: 200px;
    padding: 10px;
    font-size: 1.2em;
}


.smiley {
    font-size: 2em;
    margin-top: 10px;
    color: #6A0DAD; /* Donkerpaarse kleur voor smileys */
}

.help-container {
    margin-top: 30px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.1em;
}

<style>
/* Stijl voor de Home-knop */
.home-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 1.2em;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.home-button:hover {
    background-color: #0056b3;
}

/* Popup stijl */
.popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border-radius: 10px;
    text-align: center;
}

.popup input[type="text"] {
    padding: 10px;
    font-size: 1em;
    margin: 10px 0;
    width: 80%;
}

.popup input[type="button"] {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup input[type="button"]:hover {
    background-color: #0056b3;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
/* Help-text sectie */
.help-text {
    margin-top: 20px;
    font-size: 1.2em;
    color: #333;
    background-color: #f0f8ff;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #007bff;
    min-height: 50px; /* Voeg een minimale hoogte toe */
    visibility: hidden; /* Standaard onzichtbaar */
    display: block; /* Zorg ervoor dat de layout niet verspringt */
}

.help-text.visible {
    visibility: visible; /* Maak zichtbaar wanneer nodig */
}


