* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Silkscreen', cursive;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(rgba(136, 215, 44, 0.45), rgba(41, 57, 201, 0.45));
}

/****  CONTAINER  ****/

.container {
    display: flex;
    width: 100%;
    gap: 10px;
    padding: 10px;
    max-width: 1050px;
    height: 100vh;
}

section {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #000000;
}

/**  TOOLS-BOARD **/

.tools-board {
    width: 220px;
    padding: 15px 22px;
    background-color: #e3d2d2;
}

.tools-board .row {
    margin-bottom: 20px;
}

/**  SHAPES **/

.row .options {
    list-style: none;
    margin: 10px 0 0 5px;
}

.row .options .option {
    display: flex;
    cursor: pointer;
    align-items: center;
    margin-bottom: 10px;
}

.option :where(span, label) {
    color: #000000;
    cursor: pointer;
    padding-left: 10px;
}

.option:is(:hover, .active) :where(span, label) {
    color: #0000ff;
}

.option #fill-color {
    cursor: pointer;
    height: 14px;
    width: 14px;
}

#fill-color:checked~label {
    color: #000000;
}

.option #size-slider {
    width: 100%;
    height: 5px;
    margin-top: 15px;
}

.colors .options {
    display: flex;
    justify-content: space-between;
}

.colors .option {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    margin-top: 3px;
    position: relative;
}

.colors .option:nth-child(1) {
    background-color: #fff;
    border: 1px solid #bfbfbf;
}

.colors .option:nth-child(2) {
    background-color: #000;
}

.colors .option:nth-child(3) {
    background-color: #E02020;
}

.colors .option:nth-child(4) {
    background-color: #ecce0b;
}

.colors .option:nth-child(5) {
    background-color: #4A98F7;
}

.colors .option.selected::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    height: 12px;
    width: 12px;
    background: inherit;
    border-radius: inherit;
    border: 2px solid #fff;
    transform: translate(-50%, -50%);
}

.colors .option:first-child.selected::befor {
    border-color: #ccc;
}

.option #color-picker {
    opacity: 0;
    cursor: pointer;
}

/*****  BUTTONS  *****/

.buttons button {
    width: 100%;
    color: #fff;
    border: none;
    outline: none;
    padding: 11px 0;
    font-size: 0.9rem;
    margin-bottom: 13px;
    background: none;
    border-radius: 6px;
    cursor: pointer;
}

.buttons .clear-canvas {
    background: #0c1f8b;
    border: 2px solid #6C757D;
    transition: all 0.5s ease;
}

.clear-canvas:hover {
    color: #ffffff;
    background: #2a40bd;
    border: 2px solid #000000;
}

.buttons .save-img {
    background: #0c1f8b;
    border: 2px solid #6C757D;
    transition: all 0.5s ease;
}

.save-img:hover {
    color: #ffffff;
    background: #2a40bd;
    border: 2px solid #000000;
}

/*****  DRAWING BOARD  *****/

.drawing-board {
    flex: 1;
    overflow: hidden;
}

.drawing-board canvas {
    width: 100%;
    height: 100%;
}