*,
:after,
:before {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

button:hover {
    cursor: pointer;
}

body {
    font-family: Lato, Helvetica, "sans-serif";
    background-color: #2B2B2B;
    color: white;
}

section {
    display: flex;
    flex-wrap: wrap;
    padding-top: 35px;
    padding-left: 35px;
    padding-right: 30px;
    padding-bottom: 0px;
}

input::-webkit-color-swatch {
    border: none;
}

input[type=color] {
    width: 100%;
    padding: 0;
    border: none;
    border-color: transparent;
}

.menu,
.menu-h {
    background-color: rgb(63, 65, 71);
    border: 2px solid rgb(38, 39, 41);
    border-radius: 4px;
    color: white;
}

.menu-h {
    height: 50px;
}

.menu .section {
    position: relative;
    padding: 15px;
    padding-top: 45px;
    margin-bottom: 25px;
}

.menu .section .icons {
    display: flex;
    flex-wrap: wrap;
}

.icons button {
    margin-right: 15px;
}

.icon {
    font-size: 30px;
}

.selected .icon::before {
    color: rgb(53, 153, 42255) !important;
}

.btnSvg {
    width: 32px;
}

.btnSvg img {
    width: 100%;
    filter: brightness(0) invert(0.93);
    margin-top: 2px;
}

.btnSvg:hover {
    cursor: pointer;
}

.menu-h .section {
    display: flex;
    height: 100%;
    align-items: center;
}

.menu-h .section>* {
    margin-right: 20px;
}

.menu .section .title {
    background: rgb(85, 131, 203);
    background: linear-gradient(180deg, rgba(85, 131, 203, 1) 0%, rgba(102, 153, 212, 1) 100%);
    padding: 10px;
    position: absolute;
    top: -10px;
    left: -5px;
}

.menu-h .section .title {
    display: flex;
    align-items: center;
    background: rgb(85, 131, 203);
    background: linear-gradient(180deg, rgba(85, 131, 203, 1) 0%, rgba(102, 153, 212, 1) 100%);
    padding: 10px;
    top: 0px;
    left: 0px;
    height: 100%;
}

.title .text {
    color: white;
}

#options {
    width: 300px;
    margin-right: 15px;
}

#square div {
    border: 1px solid #f4f4f4;
    width: 28px;
    height: 28px;
}

#square.selected div {
    border: 2px solid rgb(53, 153, 42255) !important;
}

#squareFill div {
    border: 1px solid #f4f4f4;
    background-color: #f4f4f4;
    width: 28px;
    height: 28px;
}

#squareFill.selected div {
    border: 2px solid rgb(53, 153, 42255) !important;
    background-color: rgb(53, 153, 42255) !important;
}

/* Canvas *******************************************/
.canvasContainer {
    position: relative;
    margin-right: 15px;
    width: 600px;
    height: 600px;
}

.canvasContainer #paintCanvas {
    background-color: white;
    z-index: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.canvasContainer #previewCanvas {
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
    font-family: Flaticon;
    font-style: normal;
    color: white;
}

.ranges {
    padding-top: 20px;
}

.ranges .subtitle {
    font-size: 16px;
}

.ranges .value {
    font-size: 12px;
    margin-left: 5px;
    color: rgba(255, 255, 255, 0.5);
}

.ranges input {
    width: 100%;
}

#artwork {
    flex-grow: 1;
}