.calculation_container {
    background-color: #f3eef5;
    padding-bottom: 60px;
}

.calculation_heading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
}

.calculation_text {
    margin: 0;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: black;
}

.calculation_heading_text {
    margin: 0;
    font-size: 48px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.calculation_text_container {
    padding-left: 80px;
}

.calculation_maintext {
    margin: 0;
    font-size: 32px;
    margin-top: 5px;
    font-weight: normal;
}

.calculation_subtext {
    margin: 0;
    font-size: 20px;
    margin-top: 20px;
    width: 600px;
    text-align: left;
    font-weight: normal;
}

.calc {
    display: flex;
    flex-direction: row;
}

.txt {
    font-size: 24px;
    font-weight: normal;
}

.calculation_slidertext {
    margin: 0;
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: normal;
}

.calculation_slidertext2 {
    margin: 0;
    font-size: 12px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: normal;
}

.calculation {
    display: flex;
    align-items: center;
}

.sliders {
    margin-left: 80px;
    margin-right: 250px;
    width: 50%;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: #d9d9d9;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #510059;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #510059;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb:hover {
    background: #510059;
}

input[type="range"]::-moz-range-thumb:active {
    background: #510059;
}

.bargraph-container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    width: 300px;
}

.bargraph {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 400px;
    width: 100%;
    max-width: 300px;
    border-left: 2px solid black;
    border-bottom: 2px solid black;
    margin-top: 20px;
    position: relative;
}

.bagp {
    width: 20%;
    text-align: center;
    color: white;
    margin-bottom: 2px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
}

.bar-value {
    position: absolute;
    top: -20px;
    /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: black;
}

#dieselBar {
    background-color: #F44336;
    height: 100%;
    max-height: 400px;
    margin-right: 70px;
}

#electricityBar {
    background-color: #66BB6A;
    height: 100%;
    max-height: 100px;
}

.bagp,
#dieselBar {
    max-height: 100%;
    /* Limit height to 100% of containing block */
}

.y-axis-label {
    transform: rotate(-90deg) translateY(-50%);
    margin-left: -320px;
    margin-bottom: -20px;
}

.x-axis-labels {
    display: flex;
    flex: 1;
    margin-top: 10px;
}

.dieseltext {
    text-align: center;
    margin-left: 55px;
}

.evtext {
    margin-left: 35px;
}

#bargraph {
    transform-origin: bottom;
    transform: scaleY(1);
}

.markers {
    display: flex;
    justify-content: space-between;
    margin-left: 5px;
    cursor: pointer;
}

.markerss {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.marker {
    width: 1px;
    /* Marker width */
    height: 6px;
    /* Marker height */
    background-color: #000;
    /* Marker color */
    cursor: pointer;
}

.numbers1 {
    font-size: 16px;
}

.numbers3 {
    font-size: 16px;
    padding-left: 10px;
}

.numbers4 {
    font-size: 16px;
    padding-left: 10px;
}

.numbers5 {
    font-size: 16px;
    padding-left: 10px;
}

.numbers2 {
    font-size: 16px;
    padding-left: 10px;
}

.numbers6 {
    font-size: 16px;
    padding-left: 10px;
}

.saving_conatiner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: 200px;
}

.saving1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 400px;
    height: 70px;
    background-color: #510059;
    color: #ffffff;
    border-radius: 8px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 20px;
}

.saving1_text {
    margin: 0;
    font-size: 32px;
    font-weight: normal;
}

.saving2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 400px;
    height: 70px;
    background-color: #510059;
    color: #ffffff;
    border-radius: 8px;
    padding-left: 20px;
    padding-right: 20px;
}

.dieseltextoutput {
    font-size: 16px;
    color: #fbfbfd;
    padding: 5px;
    margin: 0;
}

.savingline {
    width: 100%;
    height: 1px;
    background-color: #fbfbfd;
    margin-bottom: 10px;
}

@media screen and (max-width: 1600px) {
    .saving_conatiner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: 100px;
    }
    .sliders {
        margin-left: 80px;
        margin-right: 150px;
        width: 50%;
    }
}

@media screen and (max-width: 1250px) {
    .calc {
        display: flex;
        flex-direction: row;
        align-items: start;
        justify-content: center;
    }
    .calculation {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: start;
    }
    .calculation_container {
        background-color: #f3eef5;
        margin-top: 34px;
        padding-bottom: 34px;
    }
    .calculation_heading {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 34px;
        padding-left: 0;
        text-align: center;
    }
    .calculation_text {
        margin: 0;
        font-size: 24px;
        font-weight: 900;
        letter-spacing: 5px;
        text-transform: uppercase;
        color: black;
        padding: 0px;
    }
    .calculation_heading_text {
        margin: 0;
        font-size: 24px;
        letter-spacing: 3px;
        text-transform: uppercase;
    }
    .calculation_text_container {
        text-align: left;
        padding-left: 24px;
        margin-top: 0px;
    }
    .calculation_maintext {
        margin: 0;
        font-size: 24px;
        font-weight: normal;
    }
    .calculation_subtext {
        margin: 0;
        font-size: 16px;
        margin-top: 10px;
        width: 400px;
        font-weight: normal;
    }
    .calculation_slidertext {
        margin: 0;
        font-size: 16px;
        margin-top: 34px;
        margin-bottom: 34px;
        font-weight: normal;
    }
    .calculation_slidertext2 {
        margin: 0;
        font-size: 8px;
        margin-top: 20px;
        margin-bottom: 20px;
        font-weight: normal;
    }
    .txt {
        font-size: 18px;
        font-weight: normal;
    }
    .sliders {
        margin-left: 24px;
        margin-right: 150px;
        width: 50%;
    }
    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #510059;
        cursor: pointer;
    }
    input[type="range"]::-moz-range-thumb {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #510059;
        cursor: pointer;
    }
    input[type="range"]::-moz-range-thumb:hover {
        background: #510059;
    }
    input[type="range"]::-moz-range-thumb:active {
        background: #510059;
    }
    .bargraph-container {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
        width: 300px;
    }
    .bargraph {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        height: 300px;
        width: 100%;
        max-width: 300px;
        border-left: 2px solid black;
        border-bottom: 2px solid black;
        margin-top: 20px;
        position: relative;
    }
    .bagp {
        width: 17%;
        text-align: center;
        color: white;
        margin-bottom: 2px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        transition: height 0.5s;
        /* Smooth transition for height changes */
        position: relative;
    }
    .bar-value {
        position: absolute;
        top: -20px;
        /* Adjust as needed */
        left: 50%;
        transform: translateX(-50%);
        font-size: 14px;
        color: black;
    }
    #dieselBar {
        height: 100%;
        margin-right: 70px;
    }
    #electricityBar {
        height: 100%;
        max-height: 75px;
    }
    .y-axis-label {
        transform: rotate(-90deg) translateY(-50%);
        margin-left: -320px;
        margin-bottom: 20px;
    }
    .x-axis-labels {
        display: flex;
        flex: 1;
        margin-top: 10px;
    }
    .dieseltext {
        text-align: center;
        margin-left: 50px;
    }
    .evtext {
        margin-left: 35px;
    }
    #bargraph {
        transform-origin: bottom;
        transform: scaleY(1);
    }
    input[type="range"] {
        -webkit-appearance: none;
        appearance: none;
        width: 100%;
        height: 8px;
        border-radius: 10px;
        background: #d9d9d9;
        outline: none;
    }
    .markers {
        display: flex;
        justify-content: space-between;
        margin-left: 5px;
    }
    .markerss {
        display: flex;
        justify-content: space-between;
    }
    .marker1 {
        width: 1px;
        /* Marker width */
        height: 6px;
        /* Marker height */
        background-color: #000;
        /* Marker color */
    }
    .marker2 {
        width: 1px;
        /* Marker width */
        height: 6px;
        /* Marker height */
        background-color: #000;
        /* Marker color */
    }
    .marker3 {
        width: 1px;
        /* Marker width */
        height: 6px;
        /* Marker height */
        background-color: #000;
        /* Marker color */
    }
    .marker4 {
        width: 1px;
        /* Marker width */
        height: 6px;
        /* Marker height */
        background-color: #000;
        /* Marker color */
    }
    .marker5 {
        width: 1px;
        /* Marker width */
        height: 6px;
        /* Marker height */
        background-color: #000;
        /* Marker color */
    }
    .marker6 {
        width: 1px;
        /* Marker width */
        height: 6px;
        /* Marker height */
        background-color: #000;
        /* Marker color */
    }
    .numbers {
        font-size: 10px;
    }
    .saving_conatiner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }
    .saving1 {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-right: 0;
        width: 300px;
        height: 50px;
        background-color: #510059;
        color: #ffffff;
        border-radius: 8px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .savingline {
        width: 100%;
        height: 1px;
        background-color: #fbfbfd;
        margin-bottom: 10px;
    }
    .saving1_text {
        margin: 0;
        font-size: 24px;
        font-weight: normal;
    }
    .saving2 {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-left: 0;
        width: 300px;
        height: 50px;
        background-color: #510059;
        color: #ffffff;
        border-radius: 8px;
        margin-top: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 950px) {
    .numbers1 {
        font-size: 12px;
    }
    .numbers3 {
        font-size: 12px;
        padding-left: 15px;
    }
    .numbers4 {
        font-size: 12px;
        padding-left: 15px;
    }
    .numbers5 {
        font-size: 12px;
        padding-left: 15px;
    }
    .numbers2 {
        font-size: 12px;
        padding-left: 15px;
    }
    .numbers6 {
        font-size: 12px;
        padding-left: 15px;
    }
    .calc {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .calculation {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
    }
    .calculation_container {
        background-color: #f3eef5;
    }
    .calculation_heading {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 34px;
        padding-left: 0;
        text-align: center;
    }
    .calculation_text {
        margin: 0;
        font-size: 24px;
        font-weight: 900;
        letter-spacing: 5px;
        text-transform: uppercase;
        color: black;
        padding: 0px;
    }
    .calculation_heading_text {
        margin: 0;
        font-size: 24px;
        letter-spacing: 3px;
        text-transform: uppercase;
    }
    .calculation_text_container {
        text-align: center;
        padding-left: 0px;
        margin-top: 0px;
    }
    .calculation_maintext {
        margin: 0;
        font-size: 24px;
        font-weight: normal;
    }
    .calculation_subtext {
        margin: 0;
        font-size: 16px;
        margin-top: 10px;
        width: 600px;
        font-weight: normal;
    }
    .calculation_slidertext {
        margin: 0;
        font-size: 16px;
        margin-top: 34px;
        margin-bottom: 34px;
        font-weight: normal;
    }
    .calculation_slidertext2 {
        margin: 0;
        font-size: 8px;
        margin-top: 20px;
        margin-bottom: 20px;
        font-weight: normal;
    }
    .txt {
        font-size: 18px;
        font-weight: normal;
    }
    .sliders {
        margin-left: 0px;
        margin-right: 0px;
        width: 80%;
    }
    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #510059;
        cursor: pointer;
    }
    input[type="range"]::-moz-range-thumb {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #510059;
        cursor: pointer;
    }
    input[type="range"]::-moz-range-thumb:hover {
        background: #510059;
    }
    input[type="range"]::-moz-range-thumb:active {
        background: #510059;
    }
    .bargraph-container {
        display: flex;
        flex-direction: column;
        margin-top: 0px;
        width: 300px;
        margin-left: 42px;
    }
    .bargraph {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        height: 300px;
        width: 100%;
        max-width: 300px;
        border-left: 2px solid black;
        border-bottom: 2px solid black;
        margin-top: 20px;
        position: relative;
    }
    .bagp {
        width: 17%;
        text-align: center;
        color: white;
        margin-bottom: 2px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        transition: height 0.5s;
        /* Smooth transition for height changes */
        position: relative;
    }
    .bar-value {
        position: absolute;
        top: -20px;
        /* Adjust as needed */
        left: 50%;
        transform: translateX(-50%);
        font-size: 14px;
        color: black;
    }
    #dieselBar {
        height: 100%;
        margin-right: 70px;
    }
    #electricityBar {
        height: 100%;
        max-height: 75px;
    }
    .y-axis-label {
        transform: rotate(-90deg) translateY(-50%);
        margin-left: -320px;
        margin-bottom: 20px;
    }
    .x-axis-labels {
        display: flex;
        flex: 1;
        margin-top: 10px;
    }
    .dieseltext {
        text-align: center;
        margin-left: 50px;
    }
    .evtext {
        margin-left: 35px;
    }
    #bargraph {
        transform-origin: bottom;
        transform: scaleY(1);
    }
    input[type="range"] {
        -webkit-appearance: none;
        appearance: none;
        width: 100%;
        height: 7px;
        border-radius: 10px;
        background: #d9d9d9;
        outline: none;
    }
    .markers {
        display: flex;
        justify-content: space-between;
        margin-left: 5px;
    }
    .markerss {
        display: flex;
        justify-content: space-between;
    }
    .marker1 {
        width: 1px;
        /* Marker width */
        height: 6px;
        /* Marker height */
        background-color: #000;
        /* Marker color */
    }
    .marker2 {
        width: 1px;
        /* Marker width */
        height: 6px;
        /* Marker height */
        background-color: #000;
        /* Marker color */
    }
    .marker3 {
        width: 1px;
        /* Marker width */
        height: 6px;
        /* Marker height */
        background-color: #000;
        /* Marker color */
    }
    .marker4 {
        width: 1px;
        /* Marker width */
        height: 6px;
        /* Marker height */
        background-color: #000;
        /* Marker color */
    }
    .marker5 {
        width: 1px;
        /* Marker width */
        height: 6px;
        /* Marker height */
        background-color: #000;
        /* Marker color */
    }
    .marker6 {
        width: 1px;
        /* Marker width */
        height: 6px;
        /* Marker height */
        background-color: #000;
        /* Marker color */
    }
    .numbers {
        font-size: 10px;
    }
    .saving_conatiner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
        margin-left: 0px;
        margin-right: 0px;
    }
    .saving1 {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-right: 0;
        width: 500px;
        height: 50px;
        background-color: #510059;
        color: #ffffff;
        border-radius: 8px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .savingline {
        width: 100%;
        height: 1px;
        background-color: #fbfbfd;
        margin-bottom: 10px;
    }
    .saving1_text {
        margin: 0;
        font-size: 24px;
        font-weight: normal;
    }
    .saving2 {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-left: 0;
        width: 500px;
        height: 50px;
        background-color: #510059;
        color: #ffffff;
        border-radius: 8px;
        margin-top: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 650px) {
    .saving1 {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-right: 0;
        width: 300px;
        height: 50px;
        background-color: #510059;
        color: #ffffff;
        border-radius: 8px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .savingline {
        width: 100%;
        height: 1px;
        background-color: #fbfbfd;
        margin-bottom: 10px;
    }
    .saving1_text {
        margin: 0;
        font-size: 20px;
        font-weight: normal;
    }
    .saving2 {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-left: 0;
        width: 300px;
        height: 50px;
        background-color: #510059;
        color: #ffffff;
        border-radius: 8px;
        margin-top: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .calculation_maintext {
        margin: 0;
        font-size: 20px;
        font-weight: normal;
    }
    .calculation_subtext {
        margin: 0;
        font-size: 16px;
        margin-top: 10px;
        width: 300px;
        margin-left: 20px;
        margin-right: 20px;
        font-weight: normal;
    }
    .calculation_slidertext {
        margin: 0;
        font-size: 16px;
        margin-top: 34px;
        margin-bottom: 34px;
        font-weight: normal;
    }
    .calculation_slidertext2 {
        margin: 0;
        font-size: 8px;
        margin-top: 20px;
        margin-bottom: 20px;
        font-weight: normal;
    }
    .txt {
        font-size: 16px;
        font-weight: normal;
    }
}