* {
  user-select: none;
  transition: all 0.2s ease-in-out;
}

#landing_header {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100dvh
}

.multi-range {
  position: relative;
  height: 3dvh;

  input[type=range] {
    position: absolute;

    &:nth-child(1) {
      &::-webkit-slider-thumb::before {
        background-color: red;
      }
    }

    &:nth-child(2) {
      background: none;

      &::-webkit-slider-thumb::before {
        background-color: grey;
      }
    }
  }
}

input[type=range] {
  box-sizing: border-box;
  appearance: none;
  width: 90%;
  margin: 0;
  padding: 0 2px;
  overflow: hidden;
  border: 0;
  border-radius: 1px;
  outline: none;
  background: linear-gradient(grey, grey) no-repeat center;
  background-size: 100% 2px;
  pointer-events: none;

  &:active,
  &:focus {
    outline: none;
  }

  &::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 20px;
    background-color: #fff;
    position: relative;
    margin: 5px 0;
    cursor: pointer;
    appearance: none;
    pointer-events: all;
    box-shadow: 0 1px 4px 0.5px rgba(0, 0, 0, 0.25);

    &::before {
      content: ' ';
      display: block;
      position: absolute;
      top: 13px;
      left: 100%;
      width: 2000px;
      height: 2px;
    }
  }
}

.mainframe {
  width: 95%;
  max-width: 500px;
}

#snippet_counter {
  font-size: 12dvh;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.65);
}

.btn-sp {
  cursor: pointer;
}

.fs0{
  font-size: 0px;
}

.fs125{
  font-size: 1.25rem;
  padding-left: 1.25rem;
}



#reveal_card{
  position: fixed;
  top: 30%;
  right: 100%;
  margin-left: 10%;
}

#compte-a-rebour {
  background-color: #1DB954;
}

#btn_advanced_settings{
  position: absolute;
  top: 2vh;
  right: 2vh;
  z-index: 1050;
}

.hidden{
  display: none !important;
}

.shown{
  display: block !important;
}

#div_toast_msg{
  position:absolute;
  top: 10px;
  z-index: 1060;
}

#main_game {
  width: 100%;
  display: none;
}

.btn-check:checked+.btn {
  border-color: #000000;
  background-color: #f0d124;
  color: #000000;
}

.fr:checked + .btn {
  border-color: #000000;
  background: linear-gradient(115deg, #0000ffbb 23%, #ffffff 43%,#ffffff 56%,#ff0000bb 76%);
  color: #000000;
}

.ww:checked + .btn {
  border-color: #000000;
  background: radial-gradient(circle at 50% 50%, #9dff00bb , #fffb00bb ,#ffae00bb ,#ff0000bb );
  color: #000000;
}

.usa:checked + .btn {
  border-color: #000000;
  background: radial-gradient(circle at 50% 50%, #ff0000dd , #ffffff00 ,#0000ffdd );
  color: #000000;
}

.collapse-up {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  z-index: 1050;
}

#loading_mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 2040;
  display: none;
}

.loader {
  width: 65px;
  aspect-ratio: 1;
  position: relative;
}

.loader:before,
.loader:after {
  content: "";
  position: absolute;
  border-radius: 50px;
  box-shadow: 0 0 0 3px inset #fff;
  animation: l4 2.5s infinite reverse;
}

.loader:after {
  animation-delay: -1.25s;
}

@keyframes l4 {
  0% {
    inset: 0 35px 35px 0;
  }

  12.5% {
    inset: 0 35px 0 0;
  }

  25% {
    inset: 35px 35px 0 0;
  }

  37.5% {
    inset: 35px 0 0 0;
  }

  50% {
    inset: 35px 0 0 35px;
  }

  62.5% {
    inset: 0 0 0 35px;
  }

  75% {
    inset: 0 0 35px 35px;
  }

  87.5% {
    inset: 0 0 35px 0;
  }

  100% {
    inset: 0 35px 35px 0;
  }
}