body {
    background-color: #222;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.gradient-border {
    position: relative;
    padding: 7px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    /* Standaard breedte, voor grote schermen */
}

.gradient-border::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: linear-gradient(45deg, #5a0066, #b35900, #1b0066, #00008b);
    z-index: -1;
    box-sizing: border-box;
    margin: 0 10px;
}

.content-container {
    position: relative;
    background-color: #333;
    border-radius: 12px;
    width: 100%;
    max-width: 777px;
    min-width: 777px;
    height: 555px;
    padding: 30px;
    color: #eee;
    font-family: 'Playwrite GB S', cursive;
    font-size: 34px;
    box-sizing: border-box;
    text-align: left;
    z-index: 1;
}

/* kopieerknop en informatieknop */
.copy-btn, .info-btn {
    position: absolute;
    color: #aaa;
    font-size: 20px;
    cursor: pointer;
    display: none; /* Beide knoppen verborgen bij start */
    transition: color 0.3s;
    background: none;
    border: none;
    outline: none;
}

.copy-btn {
    bottom: 10px;
    right: 10px;
}

.info-btn {
    bottom: 10px;
    left: 10px;
}

.copy-btn:hover, .info-btn:hover {
    color: #eee;
}

/* Verwijder ongewenste achtergrondkleur op mobiel */
.copy-btn:active, .info-btn:active {
    background: none;
    color: #eee;
    outline: none;
}

/* EINDE kopieerknop en informatieknop */

.small-text {
    font-size: 14px;
    color: #999;
}

.extra-space {
    margin-top: 20px;
}

.button-container {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    padding-left: 0;
    gap: 10px;
}

.btn-custom {
    background-color: #272727;
    color: #eee;
    margin: 5px;
    border: 1px solid #373737;
    border-radius: 5px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn-custom:hover {
    background-color: #444;
}

.category-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 0px;
}

.category-buttons .btn-custom {
    font-size: 11px;
    padding: 5px 4px;
    margin: 3px;
    border: 1px solid #373737;
}

/******** De taal-slider CSS */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #eee;
}

.language-toggle span {
    font-size: 14px;
    color: #eee;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    border-radius: 24px;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: #eee;
    border-radius: 50%;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #777;
}

input:checked + .slider:before {
    transform: translateX(24px);
}
/******* EINDE de taal-slider CSS */


/* Lightbox voor Informatie */

/* Overlay (donkere laag over de hele pagina) */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Zwart met 10% transparantie */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Lightbox-stijl */
.lightbox {
    background-color: #424242;
    border-radius: 7px;
    padding: 15px;
    font-size: 14px;
    color: #eee;
    width: calc(100% - 30px);
    max-width: 500px;
    font-family: 'Tahoma', sans-serif;
    text-align: center;
}

/* Sluitknop */
.close-btn {
    margin-top: 15px;
    padding: 5px 10px;
    background-color: #333;
    color: #eee;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.close-btn:hover {
    background-color: #555;
}

/* EINDE Lightbox voor Informatie */


/* MEDIA responsive */

@media (min-width: 800px) {
    .gradient-border::before {
        margin: 0 -1px;
    }
}

@media (max-width: 800px) {
    .content-container {
        max-width: calc(100% - 20px);
        min-width: calc(100% - 20px);
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    body {
        justify-content: flex-start; /* Zorgt dat de container bovenaan staat */
        padding-top: 5px; /* Verwijdert teveel padding aan de bovenkant */
    }
    .gradient-border {
        min-width: 100%; /* Voor kleine schermen: direct volle breedte */
        margin-top: 0; /* Zorgt ervoor dat de bovenmarge van de container niet te groot is */
    }
    .content-container {
        max-width: calc(100% - 20px);
        min-width: calc(100% - 20px);
        font-size: 28px;
        max-height: 490px;
        min-height: 490px;
    }
}

@media (max-width: 600px) {
    .content-container {
        max-width: calc(100% - 20px);
        min-width: calc(100% - 20px);
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .content-container {
        max-width: calc(100% - 20px);
        min-width: calc(100% - 20px);
        font-size: 22px;
    }
}

@media (max-height: 600px) {
    body {
        justify-content: flex-start;
        padding-top: 10px;
    }

    .button-container {
        margin-top: 10px;
    }
}
