@font-face {
    font-family: Poppins-Regular;
    src: url(../fonts/Poppins-Regular.ttf);
}

@font-face {
    font-family: Poppins-Bold;
    src: url(../fonts/Poppins-Bold.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
}

a {
    text-decoration: none;
}


/*styles for #editor*/

#editor {
    display: none;
    width: 100%;
    padding-left: 300px;
    position: relative;
    z-index: 90;
    transition: .2s linear;
}

#editor.visible {
    display: block;
}

#editor-header {
    display: block;
    width: 100%;
    padding: 40px 25px 25px 25px;
    border-bottom: 1px solid #ddd;
    background: #fff;
}

#show-sidebar {
    display: none;
}

#editor-header h1 {
    display: inline-block;
    vertical-align: middle;
    line-height: 35px;
    font-size: 25px;
    font-family: Poppins-Bold, sans-serif;
    font-weight: bold;
    color: #222;
    text-align: left;
    text-transform: capitalize;
}

#signout-btn {
    display: inline-block;
    vertical-align: middle;
    float: right;
    padding: 0 20px;
    height: 35px;
    border: 0;
    outline: 0;
    background: blueviolet;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    text-transform: capitalize;
    transition: .2s linear;
}

#signout-btn:focus,
#signout-btn:hover {
    background: #1e202b;
}

@media only screen and (max-width: 1000px) {
    #editor {
        padding-left: 0;
    }
    #editor-header {
        padding: 30px 20px 20px 20px;
    }
    #show-sidebar {
        display: inline-block;
        vertical-align: middle;
        width: 30px;
        height: 30px;
        margin-right: 15px;
        padding: 5px;
    }
    #show-sidebar svg {
        display: block;
        width: 100%;
        height: 100%;
    }
    #show-sidebar svg line {
        stroke: #222;
        stroke-width: 3;
        stroke-linecap: round;
    }
    #editor-header h1 {
        line-height: 30px;
        font-size: 20px;
    }
    #signout-btn {
        height: 30px;
        padding: 0 15px;
        font-size: 12px;
    }
    @media only screen and (max-width: 500px) {
        #editor-header {
            padding: 20px;
        }
        #show-sidebar {
            width: 20px;
            height: 20px;
            padding: 0;
            margin-right: 10px;
        }
        #editor-header h1 {
            line-height: 20px;
            font-size: 18px;
        }
        #signout-btn {
            padding: 0 10px;
            height: 25px;
            font-size: 10px;
            border-radius: 2px;
        }
    }
}


/***************************************/

#preview-btn {
    display: block;
    width: 200px;
    line-height: 50px;
    border-radius: 3px;
    background: blueviolet;
    color: #fff;
    font-family: Poppins-Regular, sans-serif;
    font-weight: normal;
    text-align: center;
    margin: 100px auto;
    font-size: 14px;
}

#side-bar nav a {
    padding-left: 25px;
}

.hide {
    display: none !important;
}

.color-btn {
    background: blueviolet;
    color: #fff;
}

.can-btn {
    background: #ddd;
    color: #222;
    margin-left: 5px;
}