/* styles.css */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
}

#toolbar {
    margin: 20px;
}

button {
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #ddd;
    transform: scale(1.1);
}

#colorPicker {
    transition: box-shadow 0.3s;
}

#colorPicker:focus {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#canvasContainer {
    position: relative;
}

#pixelCanvas {
    border: 1px solid #000;
    background-color: #fff;
    cursor: crosshair;
    position: relative;
}

#grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px),
                linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px);
    background-size: 10px 10px;
}
