body {
    background-color: bisque;
    align-items: center;
    display: flex;
    flex-direction: column;
    font-family: fantasy;
}

#controls {
    background-color: rgba(255, 255, 255, 0);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em;
    width: 20em;
}

#sub-container {
    border: solid;
    border-color: black;
    background-color: gainsboro;
    box-shadow: 0px 5px 30px darkslategray;
    border-radius: 10px;
    border-width: 1px;
    padding: 1em;
    width: 90%;
    margin-bottom: 1em;
}

#palette {
    display: grid;
    /* This creates columns that are at least 40px wide 
       and fills the available space automatically */
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));

    gap: 10px;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border: 2px solid white; /* Makes the color pop */
    border-radius: 50%;    /* Makes them circular */
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.1s;
}

.color-swatch:hover {
    transform: scale(1.1); /* Slight grow effect on hover */
}

.color-swatch:focus {
    outline: 2px solid #333; /* Important for accessibility */
}

#canvas {
    background-color: aliceblue;
    box-shadow: 0px 5px 30px darkslategray;
    border-radius: 5px;
    margin: 15em;
    scale: 200%;
}

#main-container{
    display: flex;
    flex-direction: row;
}

#special-button{
    width: 100%;
    height: 3em;
    background-color: springgreen;
    margin-bottom: 1em;
    border-radius: 20px;
}