*,
*:before,
*:after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins",sans-serif;
}

:root {
    --blue: rgb(0, 63, 255);
    --border-radius: 10px;
    --font-size-l: 20px;
    --font-size-m: 18px;
    --font-weight: 500;
}

body {
    height: 100dvh;
    display: -ms-grid;
    display: grid;
    background-color: var(--blue);
    place-items: center;
}

.wrapper {
    position: relative;
    width: 95vmin;
    background-color: #ffffff;
    padding: 2%;
    border-radius: var(--border-radius);
}

.container {
    position: relative;
    width: 100%;
    height: 50px;
}

input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    outline: none;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    background-color: transparent;
    pointer-events: none;
}

.slider-track1, .slider-track2 {
    width: 100%;
    height: 10px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    border-radius: var(--border-radius);
}

input[type="range"]::-webkit-slider-runnable-track{
    -webkit-appearance: none;
    height: 10px;
}

input[type="range"]::-moz-range-track {
    -moz-appearance: none;
    height: 10px;
}

input[type="range"]::-ms-track {
    appearance: none;
    height: 10px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    background-color: var(--blue);
    cursor: pointer;
    margin-top: -5px;
    pointer-events: auto;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--blue);
    pointer-events: auto;
}

input[type="range"]::-ms-thumb {
    appearance: none;
    width: 20px;
    width: 20px;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--blue);
    pointer-events: auto;
}

input[type="range"]:active::-webkit-slider-thumb {
    background-color: #ffffff;
    border: 3px solid var(--blue);
}

.label {
    text-align: center;
    font-size: var(--font-size-l);
    font-weight: var(--font-weight);
    padding: 0 0 2% 0;
}

.values {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--blue);
    width: 33%;
    margin: auto;
    height: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: var(--font-weight);
    font-size: var(--font-size-l);
    color: #ffffff;
}

.values span {
    margin: 0 3px;
}

.values:before {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    margin: auto;
    bottom: -14px;
    left: 0;
    right: 0;
}

button {
    background-color: white;
    color: black;
    font-size: var(--font-size-m);
    font-weight: 600;
    width: 100px;
    margin: 0 10px;
    height: 40px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.row {
    display: flex;
    justify-content: space-between;
}

.row:last-of-type {
    margin-top: 2%;
}

.centBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18%;
    font-size: var(--font-size-l);
    color: white;
    height: 40px;
    border-radius: var(--border-radius);
    background-color: var(--blue);
    cursor: pointer;
}

h1 {
    color: white;
}

p {
    font-size: var(--font-size-m);
    color: white;
}