.inter-text {
    color: #000;
    font-family: Inter;
    font-size: 35px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.inter-text-BIG {
    color: #000;
    font-family: Inter;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
}

.inter-mini {
    color: #000;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.modal {
    position: fixed;
    /* фиксированное положение */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    /* фон */
    z-index: 1050;
    opacity: 0;
    /* по умолчанию модальное окно прозрачно */
    -webkit-transition: opacity 200ms ease-in;
    -moz-transition: opacity 200ms ease-in;
    transition: opacity 200ms ease-in;
    /* анимация перехода */
    pointer-events: none;
    /* элемент невидим для событий мыши */
    margin: 0;
    padding: 0;
}

.quantity-num {
    width: 350px;
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    outline: none;
}

.quantity-num-mini {
    width: 250px;
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    outline: none;
    margin-right: 50px;
}

/* При отображении модального окно */
.modal:target {
    opacity: 1;
    /* делаем окно видимым */
    pointer-events: auto;
    /* элемент видим для событий мыши */
    overflow-y: auto;
    /* добавляем прокрутку по y, когда элемент не помещается на страницу */
}

/* ширина модального окна и его отступы от экрана */
.modal-dialog {
    position: relative;
    width: 1040px;
    margin: 30px auto;
}

/* Стили для блока с контентом окна */
.modal-content {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
}

@media (min-width: 768px) {
    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    }
}

/* Стили заголовка окна */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 35px;
    border-bottom: 1px solid #eceeef;
}

/* Стили кнопки "х" ("Закрыть")  */
.close {
    float: right;
    font-family: sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    text-decoration: none;
}

/* Стили для закрывающей кнопки в фокусе или наведении */
.close:focus,
.close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .75;
}

.footer-img {
    margin-left: 30px;
    width: 215px;
}

.modal-calculate {
    display: flex;
    align-items: flex-end;
}

.modal-footer {
    display: flex;
}

.footer-calculate {
    display: flex;
}

.primal-info {
    background-color: #6B9900;
    width: 520px;
    height: 330px;
    padding-left: 60px;
    padding-top: 30px;
}

.result {
    background-color: #FFE95E;
    width: 520px;
    height: 330px;
    padding-left: 60px;
    padding-top: 30px;
}

.modal-footer {
    background-color: #E9CDB7;
}

.quantity-block {
    margin-bottom: 10px;
}

.name-info {
    padding-bottom: 5px;
}

.footer-right {
    margin-left: 30px;
}

.modal-footer {
    padding: 30px 0px;
}

.footer-description {
    margin-top: 30px;
}

@media screen and (max-width : 1050px) {
    .inter-text {
        color: #000;
        font-family: Inter;
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }
    
    .inter-text-BIG {
        color: #000;
        font-family: Inter;
        font-size: 15px;
        font-style: normal;
        font-weight: 700;
    }
    
    .inter-mini {
        color: #000;
        font-family: Inter;
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
    }

    .quantity-num {
        width: 350px;
        font-size: 15px;
        padding: 10px 20px;
        border-radius: 4px;
        outline: none;
    }
    
    .quantity-num-mini {
        width: 200px;
        font-size: 15px;
        padding: 10px 20px;
        border-radius: 4px;
        outline: none;
        margin-right: 50px;
    }

    .modal-calculate {
        display: flex;
        align-items: flex-end;
        flex-direction: column;
    }

    .modal-footer {
        background-color: #E9CDB7;
        display: flex;
        flex-direction: column;
    }

    .footer-left {
        display: none;
    }

    .modal-dialog {
        position: relative;
        width: 500px;
    }

    .primal-info {
        background-color: #6B9900;
        width: 449px;
        height: 240px;
        padding-left: 50px;
        padding-top: 30px;
    }
    
    .result {
        background-color: #FFE95E;
        width: 449px;
        height: 240px;
        padding-left: 50px;
        padding-top: 30px;
    }

    .footer-head {
        text-align: center;
        margin-top: 15px;
    }

    .footer-calculate {
        flex-direction: column;
        align-items: center;
    }

    .modal-footer {
        padding: 10px;
    }
}

@media screen and (max-width : 550px) {
    .inter-text {
        color: #000;
        font-family: Inter;
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }
    
    .inter-text-BIG {
        color: #000;
        font-family: Inter;
        font-size: 15px;
        font-style: normal;
        font-weight: 700;
    }
    
    .inter-mini {
        color: #000;
        font-family: Inter;
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
    }

    .quantity-num {
        width: 200px;
        font-size: 15px;
        padding: 10px 20px;
        border-radius: 4px;
        outline: none;
    }
    
    .quantity-num-mini {
        width: 150px;
        font-size: 15px;
        padding: 10px 20px;
        border-radius: 4px;
        outline: none;
        margin-right: 50px;
    }

    .modal-calculate {
        display: flex;
        align-items: flex-end;
        flex-direction: column;
    }

    .modal-footer {
        background-color: #E9CDB7;
        display: flex;
        flex-direction: column;
    }

    .footer-left {
        display: none;
    }

    .modal-dialog {
        position: relative;
        width: 300px;
    }

    .primal-info {
        background-color: #6B9900;
        width: 269px;
        height: 240px;
        padding-left: 30px;
        padding-top: 30px;
    }
    
    .result {
        background-color: #FFE95E;
        width: 269px;
        height: 240px;
        padding-left: 30px;
        padding-top: 30px;
    }

    .footer-head {
        text-align: center;
        margin-top: 15px;
    }

    .footer-calculate {
        flex-direction: column;
        align-items: center;
    }

    .modal-footer {
        padding: 10px;
    }
}