@import url('https://fonts.cdnfonts.com/css/hubot-sans');
*{ box-sizing: border-box; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth;}
html, body { height: 100%; }

html::-webkit-scrollbar { display: none; }
html { -ms-overflow-style: none; scrollbar-width: none; }

body {
    margin: 0;
    font-family: Untitled Sans, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
    background: #05060f linear-gradient(0deg,rgba(216,236,248,.06),rgba(152,192,239,.06));

    font-size: max(calc(var(--_size) * 0.03), 10px);
    --_factor: min(600px, 80vh);
    --_size: min(var(--_factor), 80vw);
}

body.gold .header h2 ,
body.gold p,
body.gold > *:not(aside) > * * {
    filter: invert(1) brightness(4.7);
}
body.gold .header h2 a{
    filter: hue-rotate(0deg);
}
body.gold canvas {
    filter: drop-shadow(2em 4em 0px #d8bd10) drop-shadow(-8em -14em 0px #d8bd10);
}
body.gold .header .spotlight {
    filter: invert(1) brightness(4.7) opacity(0.5);
}
body.gold .mountains > div {
    box-shadow: 
    -1em -0.2em 0.4em -1.1em #c2ccff,
    inset 0em 0em 0em 2px #d8a910,
    inset 0.2em 0.3em 0.2em -0.2em #c2ccff,
    inset 10.2em 10.3em 2em -10em #d4e6ff2f;
}

body.gold .content-section,
body.gold .content-section ::before,
body.gold .content-section ::after{
    filter: invert(1) brightness(4.4) opacity(1);
}

h2 {
    font-family: 'Hubot-Sans', sans-serif;
}
h2, p {
    margin: 0; padding: 0;
}
h2 a {
    text-decoration: none;
    color: unset;
}

.header {
    display: flex; width: 100%;
    justify-content: center;
    color: #bad6f7;
    position: absolute;
    top: 0; left: 0; right: 0; margin: 0 auto;
    opacity: 0;
    translate: 0 -1em;
    animation: load 2s ease-in 2s forwards, up 1.4s ease-out 2s forwards;
}

.header .spotlight {
    pointer-events: none;
    position: absolute; left: 0; right: 0; top:-100px; margin: 0 auto;
    transition: filter 1s ease-in-out;

    height: calc(42em + 100px); width: 100%;
    overflow: hidden;
}
.header .spotlight > div {
    border-radius: 0 0 50% 50%;
    position: absolute; left: 0; right: 0; margin: 0 auto; 
    top: 2em;
    width: 30em; height: max(42em, 86vh);
    background-image: conic-gradient(from 0deg at 50% -5%, transparent 45%, rgba(124, 145, 182, .3) 49%, rgba(124, 145, 182, .5) 50%, rgba(124, 145, 182, .3) 51%, transparent 55%);
    transform-origin: 50% 0;
    filter: blur(15px) opacity(0.5);
    z-index: -1;
    animation: load 2s ease-in-out forwards, loadrot 2s ease-in-out forwards, spotlight 21s ease-in-out infinite reverse;
}
.header .spotlight > div:nth-child(1){ 
    rotate: 20deg;
    animation: load 2s ease-in-out forwards, loadrot 2s ease-in-out forwards, spotlight 17s ease-in-out infinite;
}
.header .spotlight > div:nth-child(2){ 
    rotate: -20deg;
    animation: load 2s ease-in-out forwards, loadrot 2s ease-in-out forwards, spotlight 14s ease-in-out infinite;
}
@keyframes loadrot {
    0% { rotate: 0deg; scale: 0;}
    100% { scale: 1;}
}
@keyframes spotlight {
    0% {
        transform: rotateZ(0deg) scale(1);
        filter: blur(15px) opacity(0.5);
    }
    20% {
        transform: rotateZ(-1deg) scale(1.2);
        filter: blur(16px) opacity(0.6);
    }    
    40% {
        transform: rotateZ(2deg) scale(1.3);
        filter: blur(14px) opacity(0.4);
    }    
    60% {
        transform: rotateZ(-2deg) scale(1.2);
        filter: blur(15px) opacity(0.6);
    }    
    80% {
        transform: rotateZ(1deg) scale(1.1);
        filter: blur(13px) opacity(0.4);
    }    
    100% {
        transform: rotateZ(0deg) scale(1);
        filter: blur(15px) opacity(0.5);
    }    
}

canvas#particleCanvas {
    position: absolute; pointer-events: none;
    animation: load 0.4s ease-in-out forwards;
    z-index: 1;
    width: 100%;
}

p {
    font-size: 1.5em;
}

.hero {
    width: 100%;
    height: 100%;
    max-height: 140px;
    position: absolute; top: 4em;
}

.heroT {
    position: absolute; left: 0; right: 0; margin: auto;
    height: 20em;
    padding-top: 2em;
    translate: 0 -1.6em;
    opacity: 0;
    animation: load 2s ease-in-out 0.6s forwards;
}
@keyframes load {  
    0% { opacity: 0;}    
    100% { opacity: 1;}    
}
.heroT > h2 {
    position: absolute;left: 0; right: 0; margin: auto;
    width: fit-content;
    &:before {
      content:"";
      width: 57%;
      height: 2px;
      position: absolute;
      bottom: 10px;
      left: 8px;
      background: #9dc3f7;
    }
  &:after {
    content:"PLAYERS";
    position: absolute;
    font-size: 20%;
    bottom: -4px;
    right: 0;
    z-index:10;
  }
    font-size: 6em;
    font-weight: 600;
    color: #9dc3f7;
    background:
    radial-gradient( 2em 2em at 50% 50%,
        transparent calc(var(--p) - 2em),
        #fff calc(var(--p) - 1em), 
        #fff calc(var(--p) - 0.4em), 
        transparent var(--p) 
    ),
    linear-gradient(0deg, #bad1f1 30%, #9dc3f7 100%);
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 0 2px 16px rgba(174,207,242,.24);

    --p:0%;
    transition:--p 3s linear;
    
    animation: pulse 10s linear 1.2s infinite;
}

.heroT h2:nth-child(2) {
    background:
    radial-gradient( 2em 2em at 50% 50%,
        transparent calc(var(--p) - 2em),
        transparent calc(var(--p) - 1em),
        #fff calc(var(--p) - 1em), 
        #fff calc(var(--p) - 0.4em), 
        transparent calc(var(--p) - 0.4em), 
        transparent var(--p) 
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(16px) opacity(0.4);
}
@keyframes pulse { 
    0% { --p:0%; }
    50% { --p:300%;}
    100% { --p:300%;}
}
@property --p {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}

.heroP {
    font-size: 1.2em;
    position: absolute; left: 0; right: 0; top: 12em; margin: auto;
    height: fit-content; width: fit-content; text-align: center;
    opacity: 0;
    translate: 0 1em;
    animation: load 2s ease-out 2s forwards, up 1.4s ease-out 2s forwards;
    color: #d8ecf8;
    text-shadow: 0 2px 16px rgba(174,207,242,.24);
    background: linear-gradient(0deg, #d8ecf8 0, #98c0ef 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@keyframes up {      
    100% { translate: 0; }    
}

.heroSubP {
    position: absolute; left: 0; right: 0; top: 3em; margin: auto;
    height: fit-content;
    opacity: 0;
  font-weight: bold;
    translate: 0 -1em;
    animation: load3 2s ease-in 0s forwards, up 1.4s ease-out 0s forwards;
}
@keyframes load3 {  
    0% { opacity: 0;}    
    100% { opacity: 0.7;}    
}
.heroSubP p {
    font-size: 1em;
    position: relative; width: fit-content; margin: auto;
    color: #d8ecf8;
    text-shadow: 0 2px 16px rgba(174,207,242,.24);
    background: linear-gradient(0deg, #d8ecf8 0, #98c0ef 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.heroSubP p::before,
.heroSubP p::after {
    position: absolute; top: 60%; 
    display: block; content: '';
    width: 5em; height: 1px;
    opacity: 0;
    animation: load2 1.4s ease-in-out 0s forwards, up 1.4s ease-out 0s forwards;
}
@keyframes load2 {  
    0% { opacity: 0;}    
    100% { opacity: 0.3;}    
}
.heroSubP p::before{
    background: linear-gradient( -90deg, #9dc3f7 0%, transparent 100%);
    right: 120%;
    translate: -5em 0;
}
.heroSubP p::after {
    background: linear-gradient( 90deg, #9dc3f7 0%, transparent 100%);
    left: 120%;
    translate: 5em 0;
}

.mountains {
    position: absolute; left: 0; right: 0; top: 30em; margin: auto;
    width: 100%; height: 8.5em;
}
.mountains::before {
    content: ''; display: block;
    width: 100%; height: 500%;
    position: absolute; top: 0%;
    background: linear-gradient(90deg, #121521 0%, transparent 50%);
    background: linear-gradient(0deg, #121521 80%, transparent 90%);
    z-index: 2;
}
.mountains > div {
    box-shadow: 
    -1em -0.2em 0.4em -1.1em #c2ccff,
    inset 0em 0em 0em 2px #c2ccff,
    inset 0.2em 0.3em 0.2em -0.2em #c2ccff,
    inset 10.2em 10.3em 2em -10em #d4e6ff2f;
    background: #121521;
    z-index: 1;
    filter: brightness(0.8);
    position: absolute; left: 0; right: 0; margin: auto;
    width: 18em; height: 20em;
  .leaderboard__icon {
    position:absolute;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .15em;
    width: 18em;
    left: 0;
    top: -6em;
    svg {
      width: 2.25em;
      fill: #9dc3f7;
      margin-right: .5em;
    }
    > div {
      font-size: 1.9em;
      color: #9dc3f7;
      text-align: center;
      font-weight: 700;
    }
    .player {
      flex-basis: 100%;
      font-size: 1.6em;
      font-weight: 500;
    }
    .nf {
      filter: none;
    }
  }
  &#lider .leaderboard__icon {
      width: 16em!important;
  }
  span {
    font-size: 3em;
    color: #9dc3f7;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
  }
}
body.gold .mountains > div .leaderboard__icon {
  color: #bad6f7;
}
.mountains > div:nth-child(1) {
    bottom: -280%; 
    translate: -15em 1.5em;
    animation: mountainload1 2s ease-out 2.4s forwards;
}
.mountains > div:nth-child(2) {
    bottom: -280%;
    translate: 0em 0em;
    width: 16em; height: 20em;
    animation: mountainload2 2s ease-out 2.2s forwards;
}
.mountains > div:nth-child(3) {
    bottom: -280%; 
    translate: 13.5em 3em;
    animation: mountainload1 2s ease-out 2s forwards;
}
@keyframes mountainload1 {
    0% { bottom: -280%; }
    100% { bottom: -140%; }
}
@keyframes mountainload2 {
    0% { bottom: -280%; }
    100% { bottom: -108%; }
}
.mountains > div{
  &::before {
    content: ''; display: block;
    background: repeating-radial-gradient( at 100% 100%, transparent 0%, #c2ccff22 2px, transparent 4px);
    width: 18em; height: 18em;
    position: absolute;
    left: 0; top: 0;
    border-bottom-right-radius: 100%;
  }
  &#lider::before {
    width: 16em;
  }
}

.hero-spacer {
    height: 32em;
    pointer-events: none;
}

.content-section {
    position: relative;
    z-index: 1112;
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 8em 0;
    overflow: hidden;
  ul {
    list-style: none;
    max-width: 50em;
    text-align: center;
    color: #9dc3f7;
    margin: 0 auto;
    padding: 0;
    li {
      display: flex;
      align-items:center;
      justify-content:space-between;
      position: relative;
      padding: .65em 1em;
      font-size: 1.5em;
      gap: 1em;
      span {
        flex: 1;
      }
      &:before {
        content:"";
        width: 100%;
        height: 1px;
        background: #9dc3f7;
        position: absolute;
        top: 0;
        left: -.5em;
        opacity: .1;
      }
      span.rank {
        flex: 0 0 auto;
        font-weight: 600;
      }
      span.name {
        text-align: left;
      }
      span.score {
        font-weight: 700;
      }
    }
  }
}

:root {
    /* vars */
    
    --hue1: 215;
    --hue2: 222;
    --border: 1px;
    --border-color: hsl(var(--hue2), 12%, 20%);
    --radius: 22px;
    
    --ease: cubic-bezier(0.5, 1, 0.89, 1);
      --background: #121521;
  --background-select: #121521;
    
}
#menu {
    visibility: hidden;
    pointer-events: none;
    transition-property: visibility, opacity, filter;
    transition-duration: 0s, 0.25s, 0.25s;
    transition-delay: 0.5s, 0s, 0s;
    transition-timing-function: var(--ease);
    filter: blur(4px);
    transition-behavior: allow-discrete;
    font-family: 'Asap', sans-serif;
    color: #a4acbd;
    position: fixed;
    top: 50px;
    left: calc(100vw - 340px);
    min-width: 275px;
    min-height: 275px;
    border-radius: var(--radius);
    border: var(--border) solid var(--border-color);
    padding: 1em;
    background: linear-gradient(235deg, hsl(var(--hue1) 50% 10% / 0.8), hsl(var(--hue1) 50% 10% / 0) 33%), linear-gradient(45deg , hsl(var(--hue2) 50% 10% / 0.8), hsl(var(--hue2) 50% 10% / 0) 33%), linear-gradient(hsl(220deg 25% 4.8% / 0.66));
    backdrop-filter: blur(12px);
    box-shadow: hsl(var(--hue2) 50% 2%) 0px 10px 16px -8px, hsl(var(--hue2) 50% 4%) 0px 20px 36px -14px;
    transition: all .4s ease-in-out;

    #closeMenu {
        background: none;
        color: hsl(var(--hue2) 13% 18.5% / 1);
        border: none;
        cursor: pointer;
        position: absolute;
        font-size: 20px;
        right: .25em;
        top: 0;
        transition: color .25s ease;
        padding: 5px;
        &:hover, &:focus, &:active {
            box-shadow: none;
            outline: none;
            color: #a4acbd;
        }
    }
}
body.gold{
    #menu {
        background: linear-gradient(235deg, hsla(48, 49%, 10%, 0.8), hsl(42 50% 10% / 0) 33%), linear-gradient(45deg , hsl(48 50% 10% / 0.8), hsl(48 50% 10% / 0) 33%), linear-gradient(hsl(220deg 25% 4.8% / 0.66));
        box-shadow: hsl(48 50% 2%) 0px 10px 16px -8px, hsl(48 50% 4%) 0px 20px 36px -14px;
    }
}

#menu:not(.open)::before,
#menu:not(.open)::after,
#menu:not(.open) .glow {
    opacity: 0;
    pointer-events: none;
    animation: glowoff 0.25s var(--ease) both;
}


#menu.open {
    z-index: 10000;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
    filter: blur(0px); 
    
    &::before,
    &::after,
    & .glow,
    & .shine {
        animation: glow 1s var(--ease) both;
    }
    & .shine {
        animation-delay: 0s;
        animation-duration: 2s;
    }
    & .glow {
        animation-delay: 0.2s;
    }
    & .glow-bright {
        animation-delay: 0.1s;
        animation-duration: 1.5s;
    }
    & .shine-bottom {
        animation-delay: 0.1s;
        animation-duration: 1.8s;
    }
    & .glow-bottom {
        animation-delay: 0.3s;
    }
    & .glow-bright.glow-bottom {
        animation-delay: 0.3s;
        animation-duration: 1.1s;
    }
}

#menu .shine,
#menu .glow {
    --hue: var(--hue1);
}
#menu .shine-bottom,
#menu .glow-bottom {
    --hue: var(--hue2);
    --conic: 135deg;
}
body.gold {
    #menu {
        .glow {
            --hue: 42;
        }
    }
    #menu .glow-bottom {
        --hue: 48;
    }
}

#menu .shine,
#menu .shine::before,
#menu .shine::after {
    
    pointer-events: none;
    
    border-radius: 0;
    border-top-right-radius: inherit;
    border-bottom-left-radius: inherit;
    border: 1px solid transparent;
    
    width: 75%;
    height: auto;
    min-height: 0px;
    aspect-ratio: 1;
    display: block;
    position: absolute;
    right: calc(var(--border) * -1);
    top: calc(var(--border) * -1);
    left: auto;
    
    z-index: 1;
    
    --start: 12%;
    background: conic-gradient(
        from var(--conic, -45deg) at center in oklch,
        transparent var(--start,0%), hsl( var(--hue), var(--sat,80%), var(--lit,60%)), transparent  var(--end,50%) 
    ) border-box;
    
    mask: 
        linear-gradient(transparent), 
        linear-gradient(black);
    mask-repeat: no-repeat;
    mask-clip: padding-box, border-box;
    mask-composite: subtract;
    
}

#menu .shine::before,
#menu .shine::after {
    content: "";
    width: auto;
    inset: -2px;
    mask: none;
}
    
#menu .shine::after { 
    z-index: 2;
    --start: 17%;
    --end: 33%;
    background: conic-gradient(
        from var(--conic, -45deg) at center in oklch,
        transparent var(--start,0%), hsl( var(--hue), var(--sat,80%), var(--lit,85%)), transparent var(--end,50%) 
    );
    
}

#menu .shine-bottom {
    top: auto;
    bottom: calc(var(--border) * -1);
    left: calc(var(--border) * -1);
    right: auto;
}

#menu .glow {
    
    pointer-events: none;
    
    border-top-right-radius: calc(var(--radius) * 2.5);
    border-bottom-left-radius: calc(var(--radius) * 2.5);
    border: calc(var(--radius) * 1.25) solid transparent;
    inset: calc(var(--radius) * -2);
    
    width: 75%;
    height: auto;
    min-height: 0px;
    aspect-ratio: 1;
    display: block;
    position: absolute;
    left: auto;
    bottom: auto;
    
    mask: url('assets/noise-base.webp');
    mask-mode: luminance;
    mask-size: 29%;
    
    opacity: 1;
    filter: blur(12px) saturate(1.25) brightness(0.5);
    mix-blend-mode: plus-lighter;
    z-index: 3;
    
    &.glow-bottom {
        inset: calc(var(--radius) * -2);
        top: auto;
        right: auto;
    }
    
    &::before, 
    &::after {
        content: "";
        position: absolute;
        inset: 0;
        border: inherit;
        border-radius: inherit;
        background: conic-gradient(
            from var(--conic, -45deg) at center in oklch,
            transparent var(--start,0%), hsl( var(--hue), var(--sat,95%), var(--lit,60%)), transparent  var(--end,50%) 
        ) border-box;
        mask: 
            linear-gradient(transparent), 
            linear-gradient(black);
        mask-repeat: no-repeat;
        mask-clip: padding-box, border-box;
        mask-composite: subtract;
        filter: saturate(2) brightness(1);
        
    }
    
    &::after {
        --lit: 70%;
        --sat: 100%;
        --start: 15%;
        --end: 35%;
        border-width: calc(var(--radius) * 1.75);
        border-radius: calc(var(--radius) * 2.75);
        inset: calc(var(--radius) * -0.25);
        z-index: 4;
        opacity: 0.75;
    }
}

#menu .glow-bright {
    
    --lit: 80%;
    --sat: 100%;
    --start: 13%;
    --end: 37%;
    
    border-width: 5px;
    border-radius: calc(var(--radius) + 2px);
    inset: -7px;
    left: auto;
    filter: blur(2px) brightness(0.66);
    
    &::after {
        content: none;
    }
    
    &.glow-bottom {
        inset: -7px;
        right: auto;
        top: auto;
    }
}

#menu .inner, #menu .inner {
    font-size: 0.875rem;
}

#menu hr {
    width: 100%;
    height: 0.5px;
    background: var(--border-color);
    border: none;
    margin: 1.5em 0 0.75em;
    opacity: 0.66;
}

#menu input {
    --tint2: hsl(var(--hue2) 50% 90% / 0.1);
    font-weight: 300;
    box-shadow: 0 0 0 1px transparent;
    border: 1px solid hsl(var(--hue2) 13% 18.5% / 0.5);
    background: hsl(var(--hue1) 0% 40% / 0.05);
    border-radius: calc(var(--radius) * 0.33333);
    padding-left: 2.33em;
}

#menu label:not(.select) {
    display: grid;
    grid-template: 1fr/1fr;
    margin: 1em 0;
    width: 100%;
    & > * {
        grid-area: 1/1;
        align-self: center;
    }
}


@property --item-opacity {
    syntax: "<number>";
    inherits: false;
    initial-value: 0;
}

#menu svg {
    fill: none;
    stroke-width: 1;
    height: 20px;
    position: absolute;
    top: 1.65em;
    left: .45em;
}
#menu .searchbox {
    label {
        margin-bottom: 0.2em;
    }
    position: relative;
    input {
        color: inherit;
        padding: .5em .25em .5em 2.3em;
    }
    button {
        padding: .55em .75em;
        min-width: 5em;
        background-color: #121521;
        color: inherit;
        transition: opacity .25s ease-in-out, background-color .3s ease-in-out, border-color .25s ease-in-out;
        opacity: .9;
        cursor: pointer;
        box-shadow: none;
        outline: none;
        border: 1px solid hsl(var(--hue2) 13% 18.5% / 1);
        border-radius: 5px;
        &:hover, &:focus, &:active {
            background-color: #04060c;
            opacity: 1;
            box-shadow: none;
            outline: none;
            border-color: inherit;
        }
        &.disabled {
            opacity: .3;
            cursor: not-allowed;
            pointer-events: none;
        }
        
    }
}


@keyframes glow {
    0% {
        opacity: 0;
    }
    3% {
        opacity: 1;
    }
    10% {
        opacity: 0;
    }
    12% {
        opacity: 0.7;
    }
    16% {
        opacity: 0.3;
        animation-timing-function: var(--ease);
    }
    100% {
        opacity: 1;
        animation-timing-function: var(--ease);
    }
}

@keyframes glowoff {
    to {
        opacity: 0;
    }
}

@keyframes flash {
    0% {
        opacity: 0;
        --item-opacity: 0;
    }
    7% {
        opacity: 0.5;
        --item-opacity: 1;
    }
    14% {
        opacity: 0;
        --item-opacity: 0.5;
    }
    21%, 100% {
        opacity: 1;
        --item-opacity: 1;
    }
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
  appearance: none;
  border: 0;
  outline: 0;
  background: none;
  color: inherit;
  box-shadow: none;
}
select::-ms-expand {
  display: none;
}
.select {
  position: relative;
  display: block;
  margin-top: 1em;
  &::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    display: block;
  width: 100%;
  height: 36px;
  background: var(--background-select);
  border-radius: 0.25rem;
  z-index: -1;
  }
}
select {
  flex: 1;
  padding: 1em;
  cursor: pointer;
  width: 100%;
  &:focus {
    outline: none;
  }
}
.select::after {
  content: "\21C5";
  position: absolute;
  right: 1rem;
  top: 30px;
  transition: 0.25s color ease;
  pointer-events: none;
}
.select:hover::after {
  color: hsla(214, 66%, 45%, 0.664);
}
option {
    background-color: transparent;
    color: inherit;
}
input[type=number], input[type=range] {
  outline: 0;
  padding-left: 0!important;
}
.range-slider {
  width: 275px;
  text-align: center;
  position: relative;
  height: 5em;
  margin-bottom: 1em;
  .hidden {
    margin: 0!important;
    visibility: hidden;
    height: 0;
  }
  > div {
    position: absolute;
    max-width: 50%;
    top: 4px;
    input[type=number] {
        max-width: 40%;
        text-align: left;
        padding: 7.5px 0;
    }
  }
  .min-ctn {
    left: 0;
    text-align: left;
  }
  .max-ctn {
    right: 0;
    text-align: right;
    input[type=number] {
      text-align: right;
    }
  }
}
.range-slider svg,
.range-slider input[type=range] {
  position: absolute;
  left: 0;
  bottom: 10px;
}
input[type=number] {
  color: #a4acbd;
  text-align: center;
  -moz-appearance: textfield;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type=number]:invalid,
input[type=number]:out-of-range {
  border: 2px solid #ff6347;
}
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: hsla(214, 66%, 45%, 0.664);
}
input[type=range]:focus::-ms-fill-lower {
  background: hsla(214, 66%, 45%, 0.664);
}
input[type=range]:focus::-ms-fill-upper {
  background: hsla(214, 66%, 45%, 0.664);
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 3px;
  cursor: pointer;
  animation-duration: 0.2s;
  background: hsla(214, 66%, 45%, 0.54);
  border-radius: 1px;
  box-shadow: none;
  border: 0;
}
input[type=range]::-webkit-slider-thumb {
  z-index: 2;
  position: relative;
  box-shadow: 0px 0px 0px #000;
  border: 1px solid hsla(214, 66%, 45%, 0.864);
  height: 16px;
  width: 16px;
  border-radius: 25px;
  background: hsl(214, 66%, 45%);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animation-duration: 0.2s;
  background: hsla(214, 66%, 45%, 0.54);
  border-radius: 1px;
  box-shadow: none;
  border: 0;
}
input[type=range]::-moz-range-thumb {
  z-index: 2;
  position: relative;
  box-shadow: 0px 0px 0px #000;
  border: 1px solid hsla(214, 66%, 45%, 0.664);
  height: 16px;
  width: 16px;
  border-radius: 25px;
  background: hsla(214, 66%, 45%, 0.664);
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animation-duration: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower,
input[type=range]::-ms-fill-upper {
  background: hsla(214, 66%, 45%, 0.664);
  border-radius: 1px;
  box-shadow: none;
  border: 0;
}
input[type=range]::-ms-thumb {
  z-index: 2;
  position: relative;
  box-shadow: 0px 0px 0px #000;
  border: 1px solid hsl(214, 66%, 45%);
  height: 16px;
  width: 16px;
  border-radius: 25px;
  background: hsla(214, 66%, 45%, 0.664);
  cursor: pointer;
}

.open-menu {
    position: absolute;
    top: 1em;
    right: 1em;
    font-size: .9em;
    z-index: 10900;
    button {
        color: #9dc3f7;
        cursor: pointer;
        background: none;
        border: none;
        &:hover, &:focus, &:active {
            color: #d8ecf8;
            box-shadow: none;
            outline: none;
        }
    }

    .qs {
    background-color: hsla(214, 66%, 45%, 0.25);
    border-radius: 16px;
    color: #9dc3f7;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    height: 25px;
    line-height: 25px;
    position: relative;
    text-align: center;
    width: 25px;
    
    .popover {
        background-color: hsla(214, 66%, 45%, 0.25);
        border-radius: 5px;
        top: 37px;
        box-shadow: 0 0 5px hsla(214, 66%, 45%, 0.664);
        color: #d8ecf8;
        display: none;
        font-size: 12px;
        font-family: 'Helvetica',sans-serif;
        left: -162px;
        padding: 7px 10px;
        position: absolute;
        width: 200px;
        z-index: 4;
        line-height: 1.4em;
        
        &:before {
            border-bottom: 7px solid hsla(214, 66%, 45%, 0.25);
            border-right: 7px solid transparent;
            border-left: 7px solid transparent;
            top: -8px;
            content: '';
            display: block;
            left: 87%;
            margin-left: -7px;
            position: absolute;
        }
    }
    
    &:hover {
        .popover {
            display: block;
            -webkit-animation: fade-in .3s linear 1, move-up .3s linear 1;
            -moz-animation: fade-in .3s linear 1, move-up .3s linear 1;
            -ms-animation: fade-in .3s linear 1, move-up .3s linear 1;
        }
        }
    }

    @-webkit-keyframes fade-in {
        from   { opacity: 0; }
        to { opacity: 1; }
    }
    @-moz-keyframes fade-in {
        from   { opacity: 0; }
        to { opacity: 1; }
    }
    @-ms-keyframes fade-in {
        from   { opacity: 0; }
        to { opacity: 1; }
    }
    @-webkit-keyframes move-up {
        from   { bottom: 30px; }
        to { bottom: 42px; }
    }
    @-moz-keyframes move-up {
        from   { bottom: 30px; }
        to { bottom: 42px; }
    }
    @-ms-keyframes move-up {
        from   { bottom: 30px; }
        to { bottom: 42px; }
    }
}
