body{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

.wrapper{
    width: 100%;
    height: 100vh;
    background-color: #333333;
    display: flex;
    justify-content: center;
}

.main-content{
    width: 1000px;
    margin: auto 0;
    box-shadow: 0 0 2px #faf6f9;
}

.main-content > .canvas-container > canvas{
    width: 100%;
    height: 400px;
    background-color: #fff;
    cursor: none;
}

.canvas-container{
    position: relative;
}

#custom-cursor{
    position: absolute;
    pointer-events: none;
}

#custom-cursor > i{
    position: absolute;
    top: -12px;
    left: -5px;
}

header{
    background-color: #4D4D4D;
    box-sizing: border-box;
    padding: 15px;
}

.header-content{
    width: 100%;
}

.header-head > div{
    gap: 20px;
    display: flex;
}

.design-name{
    background-color: transparent;
    border: none;
    outline: none;
    color: #fff;
}

.header-body{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.header-body > .draw-tools{
    display: flex;
    gap: 30px;
}

.draw-tools > .tool-box{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tool-title{
    font-size: 12px;
    color: #b1b1b1;
}

.btn{
    background-color: transparent;
    cursor: pointer;
    outline: none;
    border-radius: 5px;
    border: none;
    margin: 0px;
    padding: 4px 6px;
    color: #faf6f9;
}

.btn:hover{
    background-color: rgba(247, 120, 107, 0.7) !important;
}

.tool-btn.active{
    background-color: rgba(247, 120, 107, 0.7) !important;
}

.btn-group{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.btn-group > button{
    margin: 0;
    width: 150px;
    height: 35px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #faf6f9;
}

.btn-group > button:first-child{
    background-color: #F7786B;
}

.btn-group > button:last-child{
    background-color: #BC4749;
}

.color-input{
    width: 120px;
    padding: 0;
}

#menu-icon{
    display: none;
}

.header-content.show{
    display: block;
}

@media screen and (max-width: 562px) {

    main{
        height: 100%;
    }
    .main-content{
        display: flex;
        flex-direction: column;
        overflow: hidden;
        height: 100%;
    }
    .canvas-container{
        width: 100%;
        height: 100%;
    }

    #canvas{
        height: 100%;
        width: 100%;
    }

    header{
        padding: 7px 15px;
    }

    #menu-icon{
        display: block;
    }

    .header-content{
        position: absolute;
        background-color: #4D4D4D;
        left: 0px;
        padding: 20px;
        width: 250px;
        height: auto;
        height: 80%;
        display: none;
        z-index: 1000;
    }
    .header-body{
        flex-direction: column;
    }

    .draw-tools{
        flex-direction: column;
        width: 200px;
    }

    .btn-group{
        margin-top: 20px;
    }

    .btn-group > button{
        width: 100%;
    }
}