/* Settings Bar Styles */
#settings-bar {
    position: fixed;
    bottom: 10px;
    right: 10px;
}

#settings-btn {
	background: rgba(51,51,51, var(--window-opacity));
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: var(--window-borders);
}

#settings-menu {
	background: rgba(51,51,51, var(--window-opacity));
    color: white;
    padding: 10px;
    border-radius: var(--window-borders);
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    bottom: 50px;
    right: 0;
    width: 150px;
}
#reset-btn{
	background: rgba(51,51,51, var(--window-opacity));
    color: white;
    border-radius: var(--window-borders);
    border-color: black;
}
.hidden {
    display: none;
}

/* Light Theme */
.light-theme {
    background: #f0f0f0;
    color: black;
}
.light-theme #reset-btn{
	background: rgba(238, 238, 238, var(--window-opacity));
    color: black;
    border-color: white;

}
.light-theme #settings-menu {
    background: rgba(238, 238, 238, var(--window-opacity));
    color: black;
}

.light-theme #settings-btn {
    background: rgba(238, 238, 238, var(--window-opacity));
    color: black;
}
#settings-menu{
	transition: opacity 0.2s ease-in-out, transform 0.5s ease-in-out;
}

.hidden{
	opacity: 0
}












.range {
    -webkit-appearance: none;
    width: 100%;
    background: #14141475;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border-radius: var(--window-borders)
}

.range:hover {
    opacity: 1;
}

.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #868686bf;
    cursor: pointer;
    border-radius: var(--window-borders)
}

.range::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #868686bf;
    cursor: pointer;
    border-radius: var(--window-borders)
}
.light-theme .range{
    background: #ffffff75;
}

.light-theme .range::-webkit-slider-thumb, .light-theme .range::-moz-range-thumb{
    background: #000000bf;
}












  .checkbox-wrapper-54 input[type="checkbox"] {
    visibility: hidden;
    display: none;
  }

  .checkbox-wrapper-54 *,
  .checkbox-wrapper-54 ::after,
  .checkbox-wrapper-54 ::before {
    box-sizing: border-box;
  }

  /* The switch - the box around the slider */
  .checkbox-wrapper-54 .switch {
    --width-of-switch: 3.5em;
    --height-of-switch: 2em;
    /* size of sliding icon -- sun and moon */
    --size-of-icon: 1.4em;
    /* it is like a inline-padding of switch */
    --slider-offset: 0.3em;
    position: relative;
    width: var(--width-of-switch);
    height: var(--height-of-switch);
    display: inline-block;
  }

  /* The slider */
  .checkbox-wrapper-54 .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #303136;
    transition: .4s;
    border-radius: 30px;
  }

  .checkbox-wrapper-54 .slider:before {
    position: absolute;
    content: "";
    height: var(--size-of-icon,1.4em);
    width: var(--size-of-icon,1.4em);
    border-radius: 20px;
    left: var(--slider-offset,0.3em);
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(40deg,#ff0080,#ff8c00 70%);;
   transition: .4s;



   left: calc(100% - (var(--size-of-icon,1.4em) + var(--slider-offset,0.3em)));
   background: #303136;
   /* change the value of second inset in box-shadow to change the angle and direction of the moon  */
   box-shadow: inset -3px -2px 5px -2px #8983f7, inset -10px -4px 0 0 #a3dafb;

  }

  .checkbox-wrapper-54 input:checked + .slider {
    
    background-color: #f4f4f5;
  }

  .checkbox-wrapper-54 input:checked + .slider:before {
    left: var(--slider-offset,0.3em);
    background: linear-gradient(40deg,#ff0080,#ff8c00 70%);;
    box-shadow:none;
  }
  .checkbox-wrapper-54{
    display: flex;
    gap: 6px;
    align-items: center;
  }