@media (min-width: 0) {
    .calc {
        background: #1f1c1a;
    }
    .calc__inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 70px 0;
        color: #fff;
      }
    .calc__title {
        font-size: 26px;
        text-align: center;
        font-family: "GothamMedium";
        line-height: 1.3;
    }
    .calc__block {
        padding: 55px;
        background-color: #2d2926;
        width: 100%;
        margin: 50px auto 0 auto;
        border-radius: 5px;
        border: none;
    }
    .block__subtitle {
        color: #a9a9a9;
        /*font-family: "FuturaGotham";*/
        opacity: 0.8;
        font-size: 12px;
        margin: 5px 0 0 0;
        
    }
    .input-wrapper input[type="number"] {
        width: 80px;
        text-align: center;
        padding-left: 0px;
        background-color: #c7c7c7;
        border-radius: 5px;
        height: 34px;
        font-weight: 500;
        font-size: 18px;
        line-height: 22px;
        color: #071124;
        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"] {
        width: 100%;
        -webkit-appearance: none;
        background-color: #fff;
        height: 2px;
    }
    
    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        cursor: ew-resize;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #bc4f54;
    }
    .block__value {
        display: flex;
        justify-content: space-between;
    }
    .block__value p {
        color: white;
    }
    .block__result {
        margin: 30px 0 0 0;
    }
    .block__result p {
        color: white;
        font-size: 14px;
    }
    .block__title:not(:first-of-type) {
        margin: 35px 0 0 0;
    }
}

@media (min-width: 480px) {
    .calc__inner {
        padding: 70px 0 100px 0;
    }
}

@media (min-width: 640px) {
   .calc__title {
       font-size: 42px;
   } 
   .block__title {
       font-size: 16px;
   }
   .block__subtitle {
       font-size: 10px;
   }
   .calc__inner {
        padding: 70px 0 130px 0;
    }
}

@media (min-width: 958px) {
    .calc__block {
        max-width: 570px;
    }
    .calc__inner {
        padding: 70px 0 150px 0;
    }
}

@media (min-width: 1700px) {
    .calc__inner {
        padding: 100px 0 200px 0;
    }
    .calc__title {
        font-size: 55px;
    }
    .calc__block {
        max-width: 750px;
    }
    .block__title {
        font-size: 25px;
    }
    .block__subtitle {
        font-size: 17px;
    }
    .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: 20px;
    }
}