.container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: space-between;
    align-items: center;
    padding: 32px;

    background: white;
    border-radius: 32px;
}

.weights-container {
    display: flex;
    flex: 1;
    width: 100%;
}

.main-heading {
    font-size: 46px;
    line-height: 42px;
    font-weight: 600;
    color: #020701;
    text-align: center;
}

.unit-text {
    font-size: 40px;
    line-height: 32px;
    color: #020701;
    text-align: center;
}

.sub-heading {
    font-size: 20px;
    line-height: 20px;
    font-weight: 600;
    color: rgba(2, 7, 1, 0.5);
    text-align: center;
}


.slider-container {
    display: flex;
    /* padding: 20px 0; */
    flex: 1 1 0;
    width: 100%;
    transition: all 0.2s ease-in-out;
}

.progress-container {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    width: 100%;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(to right, #29911C, #FFEFDA);
    outline: none;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #6E9572;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #6E9572;
    cursor: pointer;
}


.weight-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.weight {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
}


@media screen and (max-width: 767px) {

    .container {
        gap: 24px;
        padding: 24px;
        border-radius: 24px;
    }

    .main-heading {
        font-size: 32px;
        line-height: 32px;
    }

    .unit-text {
        font-size: 28px;
        line-height: 28px;
    }

    .sub-heading {
        font-size: 14px;
        line-height: 14px;
    }

    .weight-wrapper {
        gap: 8px;
    }

    .weight {
        gap: 4px;
    }
}
