body {
    display: flex;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

#container {
    display: flex;
    width: 100%;
    height: 100vh;
}

#controls {
    width: 25%;
    padding: 20px;
    background-color: #e9e9e9;
    color: #0c0c0c;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#controls h3 {
    margin-top: 0;
}

#controls button {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #ff6f00;
    color: white;
    border: none;
    cursor: pointer;
}

#controls button:hover {
    background-color: #ff8500;
}

.input-group {
    margin-bottom: 20px;
}

#controls input[type="range"],
#controls input[type="color"],
#controls input[type="number"],
#controls select {
    width: 100%;
    box-sizing: border-box;
}

#canvasContainer {
    width: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
}

.color-group {
    display: grid;
    grid-gap: 16px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 1fr;
    grid-auto-flow: column;
}

#bgColorGroup {
    display: flex;
    flex-direction: column;
}