@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

button{
    cursor: pointer;
    transition: all .25s ease;
}
button:disabled{
    cursor: not-allowed;
    background: grey;
}

button.tool-btn i{
    pointer-events: none;
}

.container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #b3b3b3;

}

.top-menu{
    width: 100%;
    height: 10%;
    background: #ededed;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    padding-left: 25px;
    gap: 50px;
    color: grey;
    font-family: monospace;
    font-size: 18px;
    box-shadow: 0 0 7px 1px rgb(167, 167, 167);
    z-index: 1;
}

input.brushWidthSlider{
    display: none;
    height: 2px;
}

.sub-container{
    width: 100%;
    height: 90%;
    display: flex;
    flex-direction: row;
}



.sidebar {
    width: 5%;
    min-width: 65px;
    height: 0;
    position: relative;
    top: 0;
    left: 0px;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: top;
    padding-top: 4vh;
    align-items: left;
    padding-left: 15px;
    gap: 15px;
    background: transparent;
    overflow: hidden;
}

.sidebar.show{
    width: 5%;
    height: 100%;
    left: 0;
}



.sidebar button{
    background: transparent;
    border: none;
    outline: none;
    color: grey;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition-duration: all .25s ease;
}

.sidebar button:hover{
    transform: scale(1.2);
    box-shadow: -1px 3px 2px 3px #a5a1a1;
}

 button.hamburger-btn{
    width: fit-content;
    height: fit-content;
    font-size: 25px;
    border: none;
    outline: none;
    background: transparent;
    color: grey;
    transition: all .1s ease;

}

 button.hamburger-btn:active{
    transform: scaleX(2);
 }







.sidebar button.tool-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f1f1;
    font-size: 20px;

}

.sidebar .tool-btn:hover{
    background: #e6e4e4;
}




.sidebar .color-div{
    width: 15vw;
    min-width: 150px;
    height: 100px;
    margin-left: 2px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: white;
    padding: 10px;
    box-shadow: -1px 3px 2px 3px #a5a1a1;
    border-radius: 4px;
}
.sidebar .shape-div{
    width: 15vw;
    min-width: 150px;
    height: 100px;
    margin-left: 2px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: white;
    padding: 10px;
    box-shadow: -1px 3px 2px 3px #a5a1a1;
    border-radius: 4px;
}

.color-div input.color-input{
    width: 100%;
    height: 50px;
    cursor: pointer;
}

.color-div h5{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.shape-div h5{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.color-div h5 button#close-btn{
    border: none;
    outline: none;
    box-shadow: none;
}
.shape-div h5 button#shapesCloseBtn{
    border: none;
    outline: none;
    box-shadow: none;
}

.shape-div h5 button:hover,
.color-div h5 button:hover{
    transform: none;
    color: red;
}

.shape-div .shapes{
    width: 100%;
    height: 50px;
    display: flex;
    gap: 15px;
    justify-content: left;
    align-items: center;
 
}

.shapes .rect{
    width: 40px;
    height: 30px;
    border: 2px solid black;
    cursor: pointer;
}
.shapes .circle{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid black;
    cursor: pointer;
}
.shapes .square{
    width: 30px;
    height: 30px;
    border: 2px solid black;
    cursor: pointer;
}







.drawing-board {
    width: 95%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: left;
    align-items: top;
    background: transparent;
    
}

.drawing-board canvas {
    width: 100%;
    height: 96%;
    background: white;
    box-shadow: 3px 9px 7px 1px #9d9d9d;

}

.drawing-board .mouse-data-div{
    position: absolute;
    bottom: 0px;
    left: 5%;
    width: 100px;
    height: fit-content;
    background: white;
    padding-block: 3px;
    padding-inline:8px;
    border: 1px solid black;
    font-size: 12px;
}















/* media queries for mobile devices  */

@media screen and (max-width:825px) {

    .container{
        padding: 0;
        margin: 0;
    }
    .sub-container{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 90%;
        padding: 0;
        margin: 0;
        gap: 0;
    }

    .mouse-data-div{
        display: none;
    }

    .drawing-board{
        width: 100vw;
        height: calc(100vh - 65px);
        padding: 0;
        margin: 0;
    }

    .sidebar{
        position: fixed;
        top: calc(90%);
        left: 0;
        width: 100%;
        height: 5%;
        min-height: 65px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        background: transparent;
        padding: 0;
        margin: 0;
    }

    .sidebar button.tool-btn{
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}







/* Animations here */


