/* Algemeen */
body {
    font-family: Arial, sans-serif;
    background-color: #000; /* zwarte achtergrond */
    color: white;
    margin: 20px;
    text-align: center;
}

/* Titel */
h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Zoekbalk */
#search {
    width: 100%;
    max-width: 500px;
    padding: 8px;
    margin-bottom: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Kleurknoppen */
#color-buttons {
    margin-bottom: 15px;
}

.color-btn {
    border: 1px solid #ccc; /* klein licht randje */
    padding: 6px 10px;
    margin: 2px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    transition: transform 0.1s;
}

.color-btn:hover {
    transform: scale(1.1);
}

/* Specifieke kleuren voor knoppen */
.zwart { background: black; color: white; }
.wit { background: white; color: black; }
.bruin { background: #8B4513; }
.geel { background: #FFD700; color: black; }
.grijs { background: gray; }
.oranje { background: orange; color: black; }
.rood { background: red; }
.blauw { background: blue; }
.paars { background: purple; }
.groen { background: green; }
.roze { background: pink; color: black; }

/* Gallery */
#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#gallery img {
    width: 140px;              /* iets kleiner voor meer afbeeldingen op scherm */
    margin: 2px;               /* kleine witte tussenruimte */
    cursor: pointer;

    border-radius: 4px;
    transition: transform 0.1s;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(255,255,255,0.2);
}

/* Fullscreen overlay */
#overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); /* donkere overlay */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#overlay img {
    max-width: 90%;
    max-height: 80%;
}

#overlay-controls {
    margin-top: 10px;
}

#overlay-controls button {
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #ccc; /* klein licht randje */
    background-color: #222;
    color: white;
    transition: transform 0.1s;
}

#overlay-controls button:hover {
    transform: scale(1.05);
}