html {
  height: 100%;
}

:root {
  color-scheme: light dark;
}


.loader_gradient {
  background-image: linear-gradient(-45deg, #dfe2e4 0%, white 100%);
  background-size: 300% 300%;
  animation: gradient 2s ease infinite;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 32px;
  z-index: 1;
  background: white;
  padding: 10px;
  border-radius: 50%;
  margin: auto;
  height: 32px;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 32px;
  height: 32px;
  border: 3px solid #808080;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #808080 rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);
}

.lds-cnt {
  position: fixed;
  top: 0%;
  background: white;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 5;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  color: #121212;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}

body::-webkit-scrollbar {
  width: 0px;
  background: transparent; 
}

body.dark-theme input[type=checkbox] {
  accent-color: #ffb500;
  filter: invert(1);
}

body.dark-theme input[type='radio'] {
  accent-color: #ffb500;
  filter: invert(1);
}

body.dark-theme .lds-ring {
  background: #1f1f25;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #1f1f25;
  }

  .lds-ring div {
    border: 3px solid var(--btn-color);
    border-color: var(--btn-color) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);
  }

  .lds-cnt {
    background: #1f1f25;
  }

  .lds-ring {
    background: #1f1f25;
  }

  input[type=checkbox] {
    accent-color: #ffb500;
    filter: invert(1);
  }
  
  input[type='radio'] {
    accent-color: #ffb500;
    filter: invert(1);
  }
  
}

  .init {
    display: flex;
    flex-direction: column;
    height: 100%;
  }


  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }

  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }

  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }

  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }