@media (min-width: 0) {
    .calc__inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 40px;
        color: #fff;
    }

    .calc__title {
        font-size: 24px;
        line-height: 120%;
        margin-top: 10px;
        text-transform: uppercase;
        align-self: start;
    }


    .block__img-result {
        background-image: url("../img/calc_img.png");
        width: 100%;
        height: 330px;
        background-repeat: no-repeat;
        background-position-x: center;
        display: flex;
        justify-content: center;
        margin-top: 85px;
        position: relative;
        margin-bottom: 40px;
    }

    .block__img-result svg {
        position: absolute;
        z-index: -1;
        bottom: 0;
        width: 100%;
    }


    .calc .design-courses {
        align-self: flex-start;
    }

    .calc__block {
        width: 100%;
        margin: 40px auto 0 auto;
        border-radius: 5px;
        border: none;
    }

    .block__subtitle {
        font-family: 'Gotham Pro', sans-serif;
        font-size: 14px;
        line-height: 150%;
        margin: 5px 0 0 0;

    }

    .input-wrapper input[type="number"] {
        width: 80px;
        text-align: center;
        padding-left: 0px;
        background-color: #BC625C;
        border-radius: 5px;
        height: 34px;
        font-weight: 500;
        font-size: 18px;
        line-height: 22px;
        color: #F3F4F6;
        margin-left: 50%;
        -webkit-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }

    .input-wrapper {
        margin-top: 15px;
    }

    input[type="number"] {
        -moz-appearance: textfield;
    }

    input[type="range"] {
        width: 100%;
        overflow: visible;
    }

    input[type="range"] {
        -webkit-appearance: none;
        width: 100%;
    }

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
    }

    input[type="range"]:focus {
        outline: none;
    }

    input[type="range"] {
        margin-top: 20px;
        width: 100%;
        -webkit-appearance: none;
        background-color: #BC625C;
        height: 2px;
    }

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        cursor: ew-resize;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #bc4f54;
        z-index: 22;

    }


    input[type="range"]::-webkit-slider-thumb:before {
        content: '.';
        width: 12px;
        height: 12px;
        color: #000000;
        z-index: 44;
    }

    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .block__value {
        display: flex;
        justify-content: space-between;
        position: relative;
        bottom: 30px;

    }

    .block__value p {
        color: #1D1D1B;
    }

    .block__result {
        margin: -25px 0 0 0;
    }

    .block__result p {
        color: #fff;
        font-size: 14px;
        border: 1px solid rgba(188, 98, 92, 0.5);
        backdrop-filter: blur(24px);
        border-radius: 24px;
        width: 300px;
        background: rgba(188, 98, 92, 0.5);
        padding: 24px 10px;
        text-align: center;
    }

    .block__title:not(:first-of-type) {
        margin: 35px 0 0 0;
    }

    .block__title {
        color: #BC625C;
        font-size: 18px;
        line-height: 120%;
    }

}


@media (min-width: 639px) {
    .calc__title {
        font-size: 42px;
    }

    .calc__flex {
        width: 100%;
    }

    .block__title {
        font-size: 16px;
    }

    .block__subtitle {
        font-size: 10px;
    }
}

@media (min-width: 958px) {
    .calc__block {
        max-width: 570px;
    }

    .calc__flex {
        display: flex;
        gap: 15px;
        align-items: flex-end;
    }

    .block__img-result {
        margin-bottom: unset;
        background-size: contain;
        height: 400px;
    }
}

@media (min-width: 1243px) {
    .calc__title {
        font-size: 36px;
    }

    .calc__block {
        max-width: 750px;
    }

    .block__title {
        font-size: 18px;
    }

    .block__subtitle {
        font-size: 14px;
    }

    .block__value {
        font-size: 22px;
    }

    .input-wrapper .input:not(:first-of-type) {
        margin: 10px 0 0 0;
    }

    .block__title:not(:first-of-type) {
        margin: 50px 0 0 0;
    }

    .block__result p {
        font-size: 30px;
        position: relative;
        bottom: 65px;
        width: 400px;
        transform: rotate(-15deg);
    }

    .block__img-result {
        margin-top: unset;
        height: 600px;
        align-items: end;
    }

    .block__img-result svg {
        height: 1000px;
        width: 610px;
    }
}
