body {
    background-color: #a8a6a6;
    color: #000000;
}

#menu {
    display: none;
}

.sidebar-style {
    position: absolute;
    left: 20px;
    width: 150px;
    padding: 20px 20px;
    top: 0;
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
}

.colorButtons {
    display: block;
    margin: 20px 0;
}

canvas {
    cursor: crosshair;
}


#canvas {
    left: 20%;
    top: 5%;
}

.btn-yellow, .btn-red, .btn-blue, .btn-white {
    user-select: none;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 10px;
    width: 100%;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
}

.btn-yellow {
    background-color: #ffc107;
}

.btn-yellow:hover {
    background-color: #e4ac06;
}

.btn-red {
    background-color: #df1e32;

}

.btn-red:hover {
    background-color: #b81828;
}

.btn-blue {
    background-color: #0d6efd;
}

.btn-blue:hover {
    background-color: #0958ce;
}

.btn-white {
    background-color: #f8f9fa;
}

.btn-white:hover {
    background-color: #d6dadd;
}

input {
    width: 100%;
    margin-bottom: 10px;
}

.input-group, .colorButtons, .toolsButtons, .canvasSize, .Storage {
    margin-top: 10px;
    margin-bottom: 10px;
}

.toolsButtons .btn {
    width: 48%;
}

.sizeButtons .btn {
    width: 48%;
}

.colorpicker {
    background: transparent;
    border: transparent;
    height: 40px;
}

#saveToImage {
    cursor: pointer;
}

/* Animation */

.menu-btn.open .menu-btn__burger {
    transform: translateX(-50px);
    background: transparent;
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg) translate(35px, -35px);
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg) translate(35px, 35px);
}

/* Responsive */
@media (max-width: 980px) {
    
    .menu-btn {
        display: flex;
        position: absolute;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        width: 60px;
        height: 60px;
        top: 2%;
        left: 2%;
        transition: all .5s ease-in-out;
        z-index: 3;
    }

    .menu-btn__burger::before, .menu-btn__burger::after {
        content: "";
        position: absolute;
        width: 50px;
        height: 5px;
        background-color: #000000;
        border-radius: 4px;
        transition: all .5s ease-in-out;
    }

    .menu-btn__burger::before {
        transform: translateY(-15px);
    }

    .menu-btn__burger {
        width: 50px;
        height: 5px;
        background-color: #000000;
        border-radius: 4px;
        transition: all .5s ease-in-out;
    }

    .menu-btn__burger::after {
        transform: translateY(15px);
    }
    
    .sidebar-style {
        display: none;
    }
    
    .sidebar-show {
        display: block;
        position: absolute;
        background-color: #5e5b5b;
        left: 0;
        top: 0;
        width: 70%;
        height: 100vh;
        padding: 60px 20px;
        font-family: 'Lato', sans-serif;
        font-size: 1.1rem;
        overflow-y: scroll;
        z-index: 2;
    }

    .body-overflow {
        overflow: hidden;
    }
}