
body {
    display: flex;
    align-items: flex-start; /* Aligns content at the top */    justify-content: center;
    min-height: 100vh;
    background-color: #e3dede;
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}
main {
    display: flex;
    justify-content: center;
    min-height: 75vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.container {
    display: flex;
    gap: 10px;
    height: 590px;
    max-width: 1050px;
    width: 100%;
    border-radius: 20px;
    margin-top: 20px; /* Adds a small space from the top */
}
#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.drawing-board {
    flex: 3;
}

.drawing-board canvas {
    width: 100%;
    height: 600px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}
.coil {
    background-image: url(img/coil33.png);
    background-repeat: no-repeat;
    margin-right: -7px;
    height: 605px;
}
.coil {
    flex: .1;
}
#message2 a{
    color: #ff2b83;
}

.tools-board {
    width: 210px;
    height: 590px;
    border-radius: 20px;
    background-color: #ffffff;
    padding: 15px 22px 0;
}

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

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

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

.option:is(:hover, .active) img {
    filter: grayscale(20%);
}

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

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

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

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

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

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

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

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

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

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

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

.colors .option:nth-child(5) {
    background-color: #446fc0;
}
.colors .option:nth-child(6) {
    background-color: #0ac1f4;
}
.colors .option.selected::before {
    position: absolute;
    content: "";
    height: 12px;
    top: 50%;
    left: 50%;
    width: 12px;
    background: inherit;
    border-radius: inherit;
    border: 2px solid #fff;
    transform: translate(-50%, -50%);
}

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

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

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

.buttons .clear-canvas {
    color: black;
    border: 1px solid #9fc39f;
    transition: all 0.2s ease;
    border: 2px solid rgb(255, 255, 255);
    font-size: 13px;
}

.clear-canvas:hover {
    color: #fff;
    background: #6c757d;
}

.buttons .black-canvas {
    color: rgb(255, 255, 255);
    background-color: black;
    border: 1px solid #595959;
    transition: all 0.2s ease;
    border: 2px solid black;
    font-size: 13px;
}

.black-canvas:hover {
    color: #fff;
    background: #6c757d;
}

.buttons .light-canvas {
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    border: 1px solid #303030;
    transition: all 0.2s ease;
    border: 2px solid black;
    font-size: 13px;
}

.light-canvas:hover {
    color: #fff;
    background: #6c757d;
}
.buttons .save-img {
    background: white;
    color: black;
    border: 1px solid #6c757d;
}
