/* Copyright (c) 2021, Ahmed Alaa-Eldin Zakaria Ali Khfagy 
All rights reserved. */
.link-change-colour {
    height: 5px;
    width: 5px;
    border-radius: 20%;
    margin: 5px;
    border: 2.5px ridge #36454f;
    float: left;
}
.color-group {
    margin: 15px;
}

.gradient {
    background-image: linear-gradient(to bottom right, red,orange,yellow,green,blue,indigo,violet);
}
 
.slider {
    -webkit-appearance: none;
    width: 80%;
    height: 15px;
    border-radius: 5px;
    background: rgba(17, 17, 17, 0.527);
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin: 15px;
}
  
.slider:hover {
    opacity: 1;
}
  
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    background: #e0dbd1;
    cursor: pointer;
}
  
.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 100%;
    background: #e0dbd1;
    cursor: pointer;
}

#canvas {
    background-color: #31343a;
    border: 3px ridge #36454f;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
    box-shadow: 0 0.1rem 0.5rem 0.1rem rgba(43, 12, 1, 0.1);
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 11;
    top: 0;
    left: 0;
    background-color: #36454f;
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.5s;
}

.sidebar a {
    padding: 8px 8px 8px 8px;
    text-decoration: none;
    font-size: 25px;
    color: rgb(22, 22, 22);
    display: block;
    transition: 0.3s;
}

.sidebar p {
    padding: 8px 8px 8px 8px;
    text-decoration: none;
    font-size: 20px;
    color: rgb(22, 22, 22);
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #111111;
}

.sidebar .close-sidebar {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.open-sidebar {
    background-color: rgba(245, 245, 245, 0.534);
    color: rgba(47, 79, 79, 0.877);
    z-index: 10;
    border: 0px;
    margin: 25px;
    width: 35px;
    height: 35px;
    font-size: 15px;
    border-radius: 15%;
    top: 0;
    right: 0;
    position: absolute;
}

.open-sidebar:hover {
    background-color: rgba(245, 245, 245, 1);
    color: rgba(47, 79, 79, 1);
}

@media screen and (max-height: 450px) {
    .sidebar {padding-top: 15px;}
    .sidebar a {font-size: 18px;}
    .sidebar p {font-size: 15px;}
}

.drawing-board {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    padding: 0;
    background-color: darkslategray;
}

.red {
    background-color: red;
}

.blue {
    background-color: blue;
}

.green {
    background-color: green;
}

.chalk {
    background-color: #e0dbd1;
}