
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-image: linear-gradient(0deg, #89f7fe 0%, #66a6ff 100%);
}
.container{
  display: flex;
  width: 100%;
  gap: 10px;
  padding: 10px;
  height: 100vh;
}
section{
  background: #fff;
  border-radius: 7px;

}
.op{
  margin-top: -15px;
}
.tools-board{
  width: 18%;
  padding: 15px 10px 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: invert(17%) sepia(90%) saturate(3000%) hue-rotate(900deg) brightness(100%) contrast(100%);
}
.option :where(span, label){
  color: #5A6168;
  cursor: pointer;
  padding-left: 10px;
}
.option:is(:hover, .active) :where(span, label,button){
  color: #4A98F7;
}
.option #fill-color{
  cursor: pointer;
  height: 14px;
  width: 14px;
}
.option label{
  font-size: 15px;
}
.fill-buckets{
  display: flex;
  margin: -5px;
}
#fill-color:checked ~ label{
  color: #4A98F7;
}
.option #size-slider,#size-slider1,#size-slider2{
  width: 100%;
  height: 5px;
  margin-top: 10px;

}
.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: #6DD400;
}
.colors .option:nth-child(5){
  background-color: #5397ea;
}
.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::before{
  border-color: #ccc;
}
.option #color-picker{
  opacity: 0;
  cursor: pointer;
}
.buttons button{
  width: 100%;
  color: #111138;
  border: none;
  outline: none;
  padding: 11px 0;
  font-size: 0.9rem;
  margin-bottom: 13px;
  background: #cbe7f5;
  border-radius: 4px;
  cursor: pointer;
}
.buttons .c-btn{
  color: #111138;
  border: 1px solid #598ab6;
  transition: all 0.3s ease;
}
.c-btn:hover{
  background: none;
}
#duplicate, #remove, #clip{
  width: inherit;
}
.save-img{
  background: #cbe7f5;
  border: 1px solid #111138;
  padding: 2px;

}
.save-img:hover{
  background: none;
  border: 1px solid black;
}
.drawing-board{
  width: 64%;
  height: 100%;

}
.drawing-board > #canvas{
  height: 100%;
  width: 100%;
  border: 1px solid #f8f4f4;
  border-radius:7px;
}
.selection-options{
  display: flex;
  flex-direction: column;
  margin-top: -10px;
  gap: 10px;
}
.selection-options div{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

}
#g-btn div{
  display: flex ;
  flex-direction: column;
  gap: 20px;
  margin: 0;
}
#ul-one {
  display: flex;
  flex-wrap: wrap;
}

.option.tool {
  margin-right: 10px; /* Adjust the spacing between the options */
  margin-bottom: 10px; /* Adjust the spacing between rows */
}

.s-btn{
  width: 80px;
  outline: none;
  padding-top:3px ;
  margin-left: 3px;
  font-size: 12px;
  border: 1px solid #037ae3;
  background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;

}

.color-wheel{
  border: none;
  border-radius: 10px;
}
p{
  font-size: 13px;
}



#selectMode{
  border: #058fd5 1px solid;
  background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
  border-radius:7px;
}
#selectMode:hover{
  background: none;
  border: 1px solid #111138;
}
#theme-mode{
  color: #111138;
  background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
}
#theme-mode:is(:hover, .active){
  background-image: none;
}
.right-board{
  background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
}
.left-board{

  background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
}
/* Theme toggle*/

.theme-toggle {
  background-image: linear-gradient(to right, #fa709a 0%, #fee140 100%);
}
.theme-toggle .left-board {
  background-image: linear-gradient(120deg, #a6c0fe 0%, #f68084 100%);

}

.theme-toggle .right-board {
  background-image: linear-gradient(120deg, #d39fe0 0%, #e7d159 100%);
}
.theme-toggle .c-btn {
  background-image: linear-gradient(to top, #fdd0cb 0%, #f5dcdc 100%);
}
.theme-toggle .c-btn:hover {
  background: none;
  border: 1px solid #111138;
}
.theme-toggle .save-img {
  background-image: linear-gradient(to top, #fdd0cb 0%, #f5dcdc 100%);
  border: 1px solid #111138;
}
.theme-toggle .save-img:hover {
  background: none;
  border: 1px solid #111138;
}
.theme-toggle #theme-mode {
  background-image: linear-gradient(120deg, #d1b4ee 0%, #f8daad 100%);
}
.theme-toggle #theme-mode:is(:hover, .active) {
  background-image: none;
}
.theme-toggle #selectMode {
  background-image: linear-gradient(120deg, #ffc7c7 0%, #f8e3b7 100%);
}
.theme-toggle #selectMode:hover {
  background: none;
  border: 1px solid #111138;
}
.option label {
  /* Add your font styles here */
  font-size: 14px; /* Example: Change the font size */
}
*{
  font-size: 14px;
}
@media (max-width: 1000px) {
  /* CSS rules for viewports 500px or less go here */

  .container {
    flex-direction: column;
    align-items: center;
    height: 1500px;
  }

  .drawing-board {
    width: 95%;
    height: 35%;
  }

  .right-board {
    width: 100%;
    height: 35%;

  }
  .left-board {
    width: 100%;
    height: 30%;

  }
    .tools-board .row {
        flex-direction: column;
    }

  .left-board > div > ul{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  .left-board> div> ul > div{
    gap: 15px;
  }

  ul > div{
    display: flex;
  }
  *{
    font-size: 12px;
  }
  .option label {
    /* Add your font styles here */
    font-size: 12px; /* Example: Change the font size */
  }

}


