body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    overflow: hidden;
}

.container {
    position: relative;
    height: 100vh;
    width: 100vw;
}

.tools-board {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 10px;
    margin-left: 20px;
    margin-top: 20px;
    background: #1e164fff;
    border-radius: 10px;
    z-index: 10;
    color: #fff;
}

.tools-board .options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tools-board .option {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0;
    cursor: pointer;
    position: relative;
}

.tools-board .option i {
    font-size: 1.5rem;
    padding: 10px;
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
}

.tools-board .option .tooltip {
    display: none;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    white-space: nowrap;
    margin-left: 10px;
    z-index: 10;
}

.tools-board .option:hover .tooltip,
.tools-board .option:focus-within .tooltip {
    display: block;
}

.tooltip input[type="range"],
.tooltip input[type="color"] {
    font-size: 1rem;
    padding: 5px;
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
}

.tools-board .option:hover::after,
.tools-board .option:focus-within::after {
    content: attr(title);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 10;
    font-size: 0.8rem;
    margin-top: 5px;
}

.tools-board button {
    background: transparent;
    color: #fff;
    border: 1px solid #c126f3ff;
}

.tools-board button:hover {
    background: #c126f3ff;
}

.drawing-board {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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