body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    text-align: center;
}
figure img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Header */
header {
    background-color: #006699;
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    color: white;
}



/* Navigatiebalk */
nav {
    background-color: #004466;
    padding: 10px 0;
}

nav ul {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    list-style: none;
    gap: 20px;
}

nav li {
    display: inline;
}

nav a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    display: block;
}

nav a.active {
    background-color: #ffcc00;
    color: black;
    font-weight: bold;
}

/* Container voor knoppen en tekst */
#kleurcontainer {
    display: grid;
    grid-template-columns: auto 1fr; /* Knoppen links, tekst rechts */
    align-items: center;
    gap: 30px;
    width: 90%;
    margin: 20px auto;
}

/* Kleurknoppen horizontaal */
#kleurbuttons {
    gap: 15px;
    justify-content: center;
    width: 100%;
}

/* Kleurknoppen styling */
button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    color: #3f3f3f;
}

/* Hover-effect */
button:hover {
    transform: scale(1.2);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.3);
    
}


/* Kleurinformatie horizontaal */
#Tekstkleur {
    display: grid;
    grid-area: 4/5;
    grid-template-rows: auto auto;
    gap: 15px;
    width: 100%;
    padding: 20px;
    background-color: white;
    color: black;
    font-weight: bold;
    margin-top: 20px;
    font-size: 18px;
}

/* Afbeelding */
img {
    width: 60%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

/* Grid voor verfcalculator (ongewijzigd) */
#verfcalculator {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* Inputvelden */
input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: #0077b6;
    color: white;
    text-align: center;
    padding: 1em 0;
    margin-top: 30px;
}