:root {
    --h: 222;
    --s: 20%;
    --fg: hsl(var(--h), var(--s), 95%);
    --bg: hsl(var(--h), var(--s), 20%);
    --tint: hsl(180, 85%, 60%);
    --tint2: hsl(210, 85%, 60%);
    --bor: #3b3d4c;
}

#app {
    width: 100vw;
    height: 100vh;
    display: grid;
    place-items: center;
    background: #090b0b;
}

#app .rangeSlider.pips {
    --range: white;
    --rangebg: #3b3d4b;
    background: var(--rangebg);
    margin: 6.5em 5px 2em;
}

#app .rangeSlider.pips:after {
    content: "";
    height: 5px;
    border-radius: 5px;
    background: inherit;
    width: calc(100% + 1em);
    position: absolute;
    bottom: 0;
    left: -0.5em;
}

#app .rangeSlider,
#app .rangeSlider .rangeBar {
    height: 5px;
}

#app .rangeSlider .rangePips {
    bottom: 5px;
}

#app .rangeSlider .pip {
    width: 3px;
    min-height: 10px;
    top: auto;
    bottom: 0;
    translate: -1px 0;
    background-color: var(--rangebg);
    background-image: linear-gradient(0deg, transparent 20px, rgba(255, 255, 255, 0.2) 50px);
    -webkit-animation: pipIn 0.5s cubic-bezier(0.36, 1.35, 0.48, 1.02) both 0.2s;
    animation: pipIn 0.5s cubic-bezier(0.36, 1.35, 0.48, 1.02) both 0.2s;
    transition: all 0.5s ease;
    opacity: 0.8;
    transform-origin: bottom center;
    border-radius: 10px 10px 0 0;
}

#app .rangeSlider .pip {
    width: 1px;
}

@media screen and (min-width: 500px) {
    #app .rangeSlider .pip {
        width: 3px;
        translate: -1.5px 0;
    }
}

@media screen and (min-width: 800px) {
    #app .rangeSlider .pip {
        width: 4px;
        translate: -2px 0;
    }
}

#app .rangeSlider .pip.in-range,
#app .rangeSlider .pip.selected {
    background: linear-gradient(to top, #ffa500, #ff4500);
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

#app .rangeSlider .rangeHandle {
    width: 19px;
    height: 19px;
}

#app .rangeSlider .rangeHandle .rangeNub {
    background: white;
}

#app .rangeSlider.range:not(.min):not(.max) .rangeNub {
    border-radius: 100%;
    box-shadow: inset 0 0 0 4px white;
}

#app .rangeFloat {
    background: white;
    color: var(--bg);
    border-radius: 5px;
    padding: 0.4em 0.6em 0.3em;
    top: -0.5em;
}

fieldset {
    width: auto;
    min-width: none;
}

.prices {
    min-height: 5px;
    margin: 6.5em 5px 2em;
}

.fields {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
}

@media screen and (min-width: 500px) {
    .fields {
        grid-template-columns: 1fr 24px 1fr;
    }
}

.fields hr {
    width: 100%;
    height: 1px;
    background: var(--bor);
    border: none;
    justify-self: center;
    align-self: end;
    margin: 0 0 23px;
    display: none;
}

@media screen and (min-width: 500px) {
    .fields hr {
        display: block;
    }
}

.ui {
    background: linear-gradient(155deg, var(--token-b3885b05-55ea-41ca-8f31-34b1d60584f5, rgb(35, 35, 35)) 0%, var(--token-3b8d4a51-7492-403d-99f4-f65fc86cabf5, rgb(16, 16, 16)) 66%);
    border-color: transparent;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 14px 28px, rgba(0, 0, 0, 0.12) 0px 10px 10px;
    border-radius: 10px;
    padding: clamp(20px, 5vw, 50px) clamp(20px, 6vw, 80px);
    color: #696c80;
}

h1 {
    font-size: 1.8rem;
    font-weight: 300;
    margin: 0 0 1rem;
    color: white;
}

header {
    color: inherit;
}

input,
select,
button,
textarea {
    border: 1px solid var(--bor);
    border-radius: 4px;
    background: transparent;
    width: 100%;
}

.ui .field {
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr;
}

.ui .field:after {
    content: "$";
    grid-row: 2;
    grid-column: 1;
    justify-self: flex-end;
    align-self: center;
    text-align: center;
    width: 2.5em;
    height: 2em;
    line-height: 2em;
    border-left: 1px solid var(--bor);
}

.ui .field input {
    grid-row: 2;
    grid-column: 1;
    -moz-appearance: textfield;
}

.ui .field input::-webkit-outer-spin-button,
.ui .field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

label {
    color: white;
    text-transform: none;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #090b0b;
}

body {
    --font: "Manrope", sans-serif;
    background: #3b3d4c;
    font-family: var(--font);
    font-weight: 300;
    color: var(--fg);
}

body * {
    font-family: var(--font);
}

a {
    color: var(--tint);
    text-decoration: none;
}

#app> :not(.ui) * {
    text-shadow: 0 2px 1px rgba(0, 0, 0, 0.4);
}

@-webkit-keyframes pipIn {
    0% {
        scale: 1 0;
    }
    100% {
        scale: 1 1;
    }
}

@keyframes pipIn {
    0% {
        scale: 1 0;
    }
    100% {
        scale: 1 1;
    }
}

#app {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.ui {
    width: 100%;
    max-width: 720px;
}