body > section:last-of-type{
    display: block;
        min-height: calc(100vh - 115px - 194px - 2.5rem);
}

.header {
    background-color: var(--primary);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    h1 {
        text-align: center;
        margin: 0;
        font-size: 3rem;
        font-family: 'Roboto-Bold', 'Montserrat', sans-serif;
        font-weight: normal;
    }

    h3 {
        margin: 0.5rem 0 0;
        text-align: center;
    }
}



.pricing-slider {
    padding: 5rem 0;
    > div {
        display: flex;
        justify-content: space-between;
        padding: 0 5rem;
        .price-estimate {
            font-size: 1.5rem;
            text-align: end;
        }
    }
    .input-container {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2rem;
        input[name="vehicles"] {
            font-size: 2rem;
            display: block;
            outline: none;
            border: 1px solid black;
            border-radius: 1rem;
            padding-left: 1rem;
            margin-left: 0.5rem;
            width: 7rem;
        }
    }
    .contact {
        display: none;
        font-size: 2rem;
        text-align: center;
    }
    &.max {
        .contact {
            display: block;
        }
        .input-container {
            display: none;
        }
    }
    input[type="range"] {
        cursor: grabbing;
        appearance: none;
        -webkit-appearance: none;
        width: 100%;
        margin-bottom: 2rem;
        height: 25px;
        padding: 0 5rem;
        /* background: white; */
        background: #fff0;

        --min: 1;
        --max: 100;
        --val: 10;

        --range: calc(var(--max) - var(--min));
        --ratio: calc((var(--val) - var(--min)) / var(--range));
        --sx: calc(.5 * 33px + var(--ratio) * (100% - 33px));
        outline: none;
        color: var(--secondary);
        --thumb-height: 5rem;
        --thumb-width: 5rem;
    }

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: var(--thumb-width);
        height: var(--thumb-height);
        border-radius: 50%;
        border: 0.5rem solid var(--secondary);
        background: white;
        cursor: pointer;
        margin-top: -2rem;
    }

    input[type="range"]::-moz-range-thumb {
        width: var(--thumb-width);
        height: var(--thumb-height);
        border-radius: 50%;
        border: 0.5rem solid var(--secondary);
        background: var(--secondary);
        cursor: pointer;
    }
    /* .slider::-moz-range-progress, */
    input[type="range"]::-webkit-slider-runnable-track {
        /* background: linear-gradient(var(--track-color) 0 0) scroll no-repeat center / 100% calc(var(--track-height) + 1px); */
        /* background-color: var(--secondary); */
        background: linear-gradient(var(--secondary), var(--secondary)) 0 / var(--sx) 100% no-repeat #dadce0;
        height: 1rem;
    }
}

.pricing-tiers {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    .text {
        width: 100%;
        max-width: 26.5rem;

        h2 {
            margin: 0;
        }
        hr {
            margin: 2.5rem -2.5rem;
            border: none;
            border-bottom: 1px solid black;
        }

        div, a {
            margin-top: 0.5rem;
        }

        small {
            font-style: oblique;
        }
        &.normal {
            background-color: #eeeeee;
            padding-bottom: calc(2.5rem - 20px);
        }

        &.enterprise {
            background-color: black;
            color: white;
            hr {
                border-color: white;
            }
        }
    }
}


.background {
    position: absolute;
    width: 100% !important;
    height: 150%;
    top: -100%;
    left: 0;
    transform: skewY(-7deg);
    z-index: -1;
    background-color: var(--primary);
}
.pricing {
    margin-bottom: 2.5rem;
    position: relative;
}
.features {
    a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        border-radius: 0;
    }
}
@media (max-width: 1024px) {
    .pricing-tiers {
        align-items: center;
        flex-direction: column;
        > * {
            max-width: 30rem;
        }
    }
}
