        body {
            background-image: url('/site/Gam1/images/Mar_Desenhar_Top_background.png');
            background-size: cover;
            background-attachment: fixed;
            height: 100%;
            width: 100%;
            overflow: hidden;
            margin: 0px;
            padding: 0;
            position: fixed;
        }
.canvas-container {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 10px auto;
    border: 10px solid #3d3c3c;
    border-radius: 5px;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#background-canvas {
    z-index: 1;
    pointer-events: none;
}

#drawing-canvas {
    z-index: 0;
    cursor: crosshair;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}
        button, input[type="color"], input[type="number"] {
            width: 40px;
            height: 40px;
            border: none;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            cursor: pointer;
            background-color: transparent;
            display: inline-block;
            vertical-align: middle;
        }
        input[type="number"] {
            text-align: center;
            background-color: #a1a1a1;
            height: 28px;
            box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
            border-radius: 10%;
        }
        .btn-clear {
            background-image: url('/site/Gam1/images/new_1.svg');
        }
        .btn-clear:active {
            background-image: url('/site/Gam1/images/new_2.svg');
        }
        .btn-save-png {
            background-image: url('/site/Gam1/images/save-png_1.svg');
            display: none;
        }
        .btn-save-png:active {
            background-image: url('/site/Gam1/images/save-png_2.svg');
            display: none;
        }
        .btn-save-jpg {
            background-image: url('/site/Gam1/images/save-jpg_1.svg');
            display: none;
        }
        .btn-save-jpg:active {
            background-image: url('/site/Gam1/images/save-jpg_2.svg');
            display: none;
        }
        .btn-undo {
            background-image: url('/site/Gam1/images/undo_1.svg');
        }
        .btn-undo:active {
            background-image: url('/site/Gam1/images/undo_2.svg');
        }
        .btn-toggle {
            width: 40px;
            height: 40px;
            background-repeat: no-repeat;
            background-position: center;
            cursor: pointer;
        }
        .btn-pencil {
            background-image: url('/site/Gam1/images/pencil_1.svg');
        }
        .btn-eraser {
            background-image: url('/site/Gam1/images/eraser_1.svg');
        }
        .color-palette {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 250px;
            position: absolute;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1000;
        }
        .color-sample {
            width: 30px;
            height: 30px;
            margin: 2px;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid #fff;
            box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
        }
        .color-palette-hidden {
            display: none;
        }
        .btn-hide-show-palette {
            background-image: url('/site/Gam1/images/show_1.svg');
        }
        .btn-hide-show-palette.active {
            background-image: url('/site/Gam1/images/show_2.svg');
        }
        .menu-bar {
            display: flex;
            align-items: center;
            width: 450px;
            border-radius: 5px;
            background-color: #3d3c3c;
            box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
            align-items: center;
            justify-content: space-between;
            padding: 10px;
        }
        .menu-bar .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .menu-bar .controls {
            flex-grow: 1;
        }
        .right-controls {
            flex-direction: column;
            align-items: center;
            gap: 10px;
            color: #3d3c3c;
            font-family: 'Rock Salt', cursive;
            margin: 5px 0px 5px 0px;
        }
        #main {
            flex-direction: column;
            display: flex;
            align-content: center;
            justify-content: center;
            padding: 0 10 0 10px;
            justify-content: space-between;
        }
        #main .container {
            align-items: center;
            justify-content: center;
            flex-direction: column;
            display: flex;
        }
        .banner {
            padding-top: 1px;
        }
        @media (max-width: 600px) {
    .canvas-container {
        width: 90vw;
        height: 90vw; /
        max-width: 450px;
        max-height: 450px;
        margin: 10px auto;
    }

    .menu-bar {
        width: 90%;
        max-width: 450px;
    }
}