#imgAreaCent {
  position: relative;
  display: none; 
  width: 100%;
  height: 100%; 
}

.eraser-cursor {
  position: absolute;
  width: 6px;
  height: 6px;
  border: 2px solid #555;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: blink 0.5s infinite;
  z-index: 1000;
}

.option {
  display: none;
}

.save {
  display: flex;
  justify-content: space-between;
}

.download {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  text-align: center;
  border: none;
  text-decoration: none;
  line-height: 46px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  background: #ffd843;
}
.download .front {
  display: block;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
  color: #000;
  padding: 0 20px;
}
.download svg {
  display: none;
}

.revert-btn {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  text-align: center;
  border: none;
  text-decoration: none;
  line-height: 46px;
  font-weight: 600;
  cursor: pointer;
  background: #ee472a;
  
}
.revert-btn .front {
  display: block;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
  color: #fff;
  padding: 0 20px;
}
.revert-btn svg {
  display: none;
}

.ccenter {
    position: relative;
    width: 100%;
    height: 130px;
    background: #2f2f2f;
    border: 2px solid rgba(255, 152, 0, 0.3);
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
    margin-top: 10px;
  }

.ccenter .top {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #0b0b0b;
}
.ccenter input[type="radio"] {
  display: none;
}
.ccenter .tabb {
  position: relative;
  z-index: 5;
  float: left;
  width: 80px;
  height: 60px;
  text-align: center;
  line-height: 38px;
  color: #ffffff;
  cursor: pointer;
  font-size: 64px;
  transition: background 0.5s ease-in-out;
}
.ccenter .tabb.search {
  float: right;
}
.ccenter .tabb:hover {
  background: #313131;
}
.ccenter input[type="radio"]:checked + .tabb {
  background: #313131;
  color: #fff;
}
.ccenter .content {
  position: absolute;
  top: 40px;
  color: #000;
  width: 100%;
}
.ccenter .content .box {
  position: absolute;
  box-sizing: border-box;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(3px);
  pointer-events: none;
  padding-top: 28px;
  padding-left: 8px;
  color: #ffff;
  width: 100%;
  transition: all 0.3s ease-in;
}

#tabb-0:checked ~ .content #box-0,
#tabb-1:checked ~ .content #box-1,
#tabb-2:checked ~ .content #box-2,
#tabb-3:checked ~ .content #box-3,
#tabb-4:checked ~ .content #box-4,
#tabb-5:checked ~ .content #box-5,
#tabb-6:checked ~ .content #box-6 {
  pointer-events: all;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease-out 0.4s;
}

.card {
  background: #2f2f2f !important;
  border: none;
}

.btn-block {
  font-size: 15px;
}

div.scrollmenu {
  overflow: auto;
  white-space: nowrap;
  width: 100%;
  margin-top: 5px;
}

.scrollmenu::-webkit-scrollbar-track {
  width: 2px;
}

.scrollmenu::-webkit-scrollbar {
  height: 5px;
}

.scrollmenu::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 10px;
}

div.scrollmenu .card {
  display: inline-block;
  color: white;
  text-align: center;
  text-decoration: none;
}

div.scrollmenu .card:hover {
  background-color: #777;
}


[type="range"] {
  -webkit-appearance: none;
  margin: 0;
  width: 150px;
}
[type="range"]:focus {
  outline: none;
}
[type="range"]::-moz-focus-outer {
  border: 0;
}
[type="range"]::-webkit-slider-runnable-track {
  width: 150px;
  height: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #666;
  border: none;
  border-radius: 2px;
}
[type="range"]::-webkit-slider-thumb {
  height: 14px;
  width: 14px;
  border-radius: 14px;
  background: #fff;
  background-size: 50% 50%;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -5px;
}
[type="range"]::-moz-range-track {
  width: 150px;
  height: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #666;
  border: none;
  border-radius: 2px;
}
[type="range"]::-moz-range-thumb {
  height: 14px;
  width: 14px;
  border-radius: 14px;
  background: #fff;
  background-size: 50% 50%;
  cursor: pointer;
}
[type="range"]::-ms-track {
  width: 150px;
  height: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  border-color: none;
  color: transparent;
  border-radius: 10px;
}
[type="range"]::-ms-fill-lower,
[type="range"]::-ms-fill-upper {
  background: #666;
  border: none;
  border-radius: 2px;
}
[type="range"]::-ms-thumb {
  height: 14px;
  width: 14px;
  border-radius: 14px;
  background: #fff;
  background-size: 50% 50%;
  cursor: pointer;
}

/*
#dropArea {
    position: relative; 
    margin-top: 250px;
    left: 50%;
    top: 50%;
    width: 400px;
    height: 150px;
    background: #fff;
    border: 2px dashed #ccc;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background-color 0.3s;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
*/


#dropArea {
  /* position: absolute; */
   top: 0;
   left: 0;
   width: 400px;
   height: 150px;
   border: 2px dashed #ccc;
   cursor: pointer;
   display: flex;
   justify-content: center;
   align-items: center;
   text-align: center;
   transition: background-color 0.3s;
 }

  #dropArea.hover {
    background-color: #ebe8e7;
  }

  #dropArea p {
    font-size: 20px;
    color: #666;
  }

  #loadingSpinner {
  display: none;
    position: relative;
    margin-top: 150px;
    width: 64px;
    height: 64px;
    left: 50%;
    top: 50%;
    border: 4px solid #ccc;
    border-top: 4px solid #f44336;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    transform: translate(-50%, -50%);
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  #removeButton {
    display: none;
    position: relative;
    bottom: 32px;
    right: 32px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    font-size: 24px;
    cursor: pointer;
  }

  
 .color_bttn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative; 
  border: 2px solid rgb(194, 194, 194);
  padding: 1rem 1rem;
  transition: transform 0.2s;
}

.savbuon {
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: transparent;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.rainbow-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet);
    border: 2px solid #ccc;
    cursor: pointer;
    transition: transform 0.2s;
 }

 .canvasconatainer {
    width: 100%;
    margin-right: 20px;
    margin-left: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  
  .cropper-container {
    margin-bottom: 40px;
  }

  .cropper-container {
    border-radius: 15px;
    box-shadow: 1px 2px 15px 2px rgba(255, 152, 0, 0.3);
  }
  
  .btn-dark {
    color: #fff;
    background-color: #2f2f2f;
    border-color: #2f2f2f;
  }
  
  .btn-primary {
    background-color: #ffd843;
    color: #0c0c0c;
    border-radius: 20px;
  }
  
  .btn-danger {
    border-radius: 20px;
  }


@media only screen and (max-width: 1076px) {
    .save {
      display: flex;
      justify-content: space-between;
      height: 35px;
    }
  
    .revert {
      height: 100%;
    }
  
    .download {
      display: flex;
      width: 100%;
      height: 100%;
      border-radius: 50px;
      border: none;
      cursor: pointer;
      background: #ffd843;
    }
    .download .front {
      display: none;
    }
    .download svg {
      display: block;
    }
  
    .revert-btn {
      display: flex;
      height: 100%;
      border-radius: 50px;
      cursor: pointer;
      background: #ee472a;
      font-size: 0px;
    }
    .revert-btn svg {
      display: block;
      margin-top: 3px;
    }
  
 
    .btn-block {
      font-size: 12px;
    }
  
    #box-0 {
      padding-top: 16px;
    }
  
    #box-1 {
      padding-top: 16px;
    }
  
    #box-2 {
      padding-top: 16px;
    }
  
    #box-3 {
      padding-top: 16px;
    }
  
    #box-4 {
      padding-top: 16px;
    }
  
    #box-5 {
      padding-top: 16px;
    }

    #box-6 {
        padding-top: 16px;
      }
  
    .tabb {
      height: 50px;
    }
  
    .size {
      padding: 0;
    }
  
    .btn-block svg {
      height: 15px;
      width: 15px;
    }
  
    #box-3 label {
      transform: translateY(-10px);
      font-size: 12px;
    }
  
    #box-3 svg {
      display: none;
    }
    
    #box-4 label {
      transform: translateY(-10px);
      font-size: 12px;
    }
  
    #box-4 svg {
      display: none;
    }
  
    
    #box-5 label {
      transform: translateY(-10px);
      font-size: 12px;
    }
  
    #box-5 svg {
      display: none;
    }

    #box-6 label {
    transform: translateY(-10px);
    font-size: 12px;
    }

    #box-6 svg {
    display: none;
    }
  
    #box-2 btn-block {
      display: none;
      transform: translateY(-10px);
    }
  
    .download {
      margin-bottom: 10px;
    }
  
    .revert {
      margin-bottom: 30px;
    }
  
    [type="range"] {
      -webkit-appearance: none;
      transform: translateY(-30px);
      width: 100px;
    }
    [type="range"]:focus {
      outline: none;
    }
    [type="range"]::-moz-focus-outer {
      border: 0;
    }
    [type="range"]::-webkit-slider-runnable-track {
      width: 100px;
      height: 4px;
      cursor: pointer;
      transition: all 0.2s ease;
      background: #666;
      border: none;
      border-radius: 2px;
    }
    [type="range"]::-webkit-slider-thumb {
      height: 14px;
      width: 14px;
      border-radius: 14px;
      background: #fff;
      background-size: 50% 50%;
      cursor: pointer;
      -webkit-appearance: none;
      margin-top: -5px;
    }
    [type="range"]::-moz-range-track {
      width: 100px;
      height: 4px;
      cursor: pointer;
      transition: all 0.2s ease;
      background: #666;
      border: none;
      border-radius: 2px;
    }
    [type="range"]::-moz-range-thumb {
      height: 14px;
      width: 14px;
      border-radius: 14px;
      background: #fff;
      background-size: 50% 50%;
      cursor: pointer;
    }
    [type="range"]::-ms-track {
      width: 100px;
      height: 4px;
      cursor: pointer;
      transition: all 0.2s ease;
      background: transparent;
      border-color: none;
      color: transparent;
      border-radius: 10px;
    }
    [type="range"]::-ms-fill-lower,
    [type="range"]::-ms-fill-upper {
      background: #666;
      border: none;
      border-radius: 2px;
    }
    [type="range"]::-ms-thumb {
      height: 14px;
      width: 14px;
      border-radius: 14px;
      background: #fff;
      background-size: 50% 50%;
      cursor: pointer;
    }
  
    .ccenter {
      height: 100px;
    }
    .ccenter .top {
      height: 50px;
    }
  }