 html {
     scroll-behavior: smooth
 }

 .tool-box {
     margin: auto;
     background: #fff;
     box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
     padding-bottom: 10px
 }

 .tool-detail-textarea-box {
     padding: 0 0 20px !important
 }

 .content,
 .header {
     padding: 20px
 }

 .header {
     text-align: center
 }

 .header .hh2 {
     margin: 0 0 6px;
     font-size: 26px;
     font-weight: 600
 }

 .header p {
     color: #555
 }

 .spacer {
     height: 5px;
     background: #ccc
 }

 .bg-scrt {
     padding: 0;
     margin: 0;
     list-style: none;
     display: inline-flex
 }

 .bg-scrt li {
     width: 100px;
     border: 1px solid #646464ff;
     cursor: pointer;
     display: flex
 }

 .bg-scrt li div {
     width: 100%;
     height: 60px
 }

 .bg-scrt label {
     font-weight: 700;
     cursor: pointer;
     height: 100%;
     width: 100%;
     display: flex;
     justify-content: center;
     align-items: center
 }

 .bg-scrt label input {
     width: 0;
     height: 0
 }

 .main-b {
     display: flex;
     justify-content: center;
     align-items: center;
     padding: 30px 10px;
     flex-direction: column;
 }

 .color-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
     gap: 15px;
     width: 100%;
     max-width: 600px;

     border-radius: 5px;
     padding: 40px 20px;
     margin: auto;

     background: linear-gradient(145deg, #ffffff, #dcdcdc);

     box-shadow:
         inset 0 0 25px rgba(0, 0, 0, 0.15),
         0 20px 50px rgba(0, 0, 0, 0.25);

     position: relative;
     overflow: hidden;
     border:6px solid #002618;
     border-bottom:10px solid #002618;
 }

 /* curved light reflection */
 .color-grid::before {
     content: "";
     position: absolute;
     top: -50%;
     left: -50%;
     width: 200%;
     height: 200%;
     background: radial-gradient(circle at center, #b1c0d2, transparent 60%);
     transform: rotate(116deg);
 }

 .stand img {
     width: 200px;
        height: auto;
 }

 .color-card {
     height: 100px;
     border-radius: 5px 0;
     cursor: pointer;
     display: flex;
     align-items: flex-end;
     justify-content: center;
     font-weight: 600;
     color: #fff;
     position: relative;
     overflow: hidden;
     transition: .3s;
     box-shadow: 0 6px 15px rgba(0, 0, 0, .15)
 }

 .color-card span {
     margin-bottom: 10px;
     background: rgba(0, 0, 0, .4);
     padding: 4px 10px;
     border-radius: 3px;
     font-size: 14px
 }

 .color-card:hover {
     transform: translateY(-2px) scale(1.01);
     box-shadow: 0 12px 25px rgba(0, 0, 0, .25)
 }

/* .color-grid {
    filter: brightness(0);
    transition: 0.6s ease;
    z-index: 1;
}

.color-grid.on {
    filter: brightness(1);
}

.power-box {
    position: absolute;
    right: 3%;
    top: 40%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
} */

/* WIRE */
/* .wire {
    width: 230px;
    height: 4px;
    
}
.wire img{
  position: absolute;
  right: -6px;
  top:3px;
  width: 100%;
  z-index: -1;
}


.switch {
    width: 50px;
    height: 26px;
    background: #444;
    border-radius: 20px;
    margin-left: 10px;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.switch .btn {
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: 0.3s;
}

.switch.active {
    background: #00c853;
}

.switch.active .btn {
    left: 22px;
} */
 .white {
     background: #fff;
     color: #000
 }

 .white span {
     background: rgba(0, 0, 0, .1)
 }

 .black {
     background: #000
 }

 .red {
     background: #ff3b3b
 }

 .green {
     background: #00c853
 }

 .blue {
     background: #2962ff
 }

 .custom {
    background: linear-gradient(45deg, #ff3b3b, #2962ff, #00c853);
    /* position: relative; */
 }

 .custom input {
     position: absolute;
     inset: 0;
     opacity: 0;
     cursor: pointer;
     width: 100%;
     height: auto;
 }

 @media all and (display-mode:fullscreen) {
     .bg-scrt label {
         display: none
     }
 }

 @media(max-width:1200px) {
     .color-grid {
         max-width: 500px;
     }
 }

 @media(max-width:769px) {
     .bg-scrt {
         flex-wrap: wrap;
         justify-content: center
     }
     .color-grid{
        border: none;
        padding: 0;
        box-shadow: none;
        background: none;
        filter: brightness(1);
     }
     .stand{
        display: none;
     }
     .color-grid::before{
        display: none;

     }
     .stand img{
        display: none;
     }
     .power-box{
        display: none;
     }
     .wire img{
        display: none;
     }
     .wire{
        display: none;
     }
      .switch{
        display: none;
     }
 }

 @media(max-width:400px) {
     .header .hh2 {
         font-size: 20px
     }
 }