
::-webkit-scrollbar {
  display: none;
}

#canvas {
  background-color: white;
  margin: 0 auto;
  display: block;
  cursor: crosshair;
  font-size: 5000px;
}

.save {
  height: 30px;
  width: 30px;
  cursor: pointer;
}
.color {
  border-radius: 100%;
  height: 20px;
  width: 20px;
}
.color:hover {
  box-shadow: 0px 0px 1px 2px var(--bgColor);
  border: 2px solid var(--bgColor);
}

/* Erease */
.custom-checkbox{
  margin: 0.5rem;
  height: 30px;
  width: 30px;
}
.custom-checkbox input[type="checkbox"] {
  display: none;
}

.custom-checkbox label {
  cursor: pointer;
  position: relative;
}

.custom-checkbox img.checked {
  display: none;
}

.custom-checkbox input[type="checkbox"]:checked + label img.checked {
  display: inline;
}

.custom-checkbox input[type="checkbox"]:checked + label img.unchecked {
  display: none;
}

/* end erease  */
.controls {
  align-content: center;
  input {
    border: none;
    width: 40px;
    color: var(--secondColor);
    border-radius: 4px;
    background-color: var(--bgColorLight);
  }
  input[type="checkbox"] {
    margin-top: 1rem;
    width: 15px;
    cursor: grab;
  }
}

.Text-controls {
  display: flex;
  background-color: var(--secoundColorLight);
  transform: rotate(270deg);
  position: absolute;
  left: -100px;
  top: 350px;
  position: fixed;
  height: max-content;
  padding: 0.5rem;
  border-radius: 20px;
  .im {
    width: 30px;
    height: 30px;
    display: inline-block;
    transform: rotate(90deg);
    margin-left: 0.5rem;
  }
  input {
    display: inline-block;
    cursor: grabbing;
  }
}
#Text-slider {
  width: 300px;
}

@media (width<540px) {

  .save {
    margin: 0 auto;
  }
  .controls {
    margin: 0 auto;
  }
  .Text-controls {
    position: absolute;

    top: 600px;
    left: -135px;
  }
}

main {
  margin-top: 2rem;
  height: 100vh;
}
