@media (min-width: 425px) and (max-width: 768px) {
    
    
    .nasa {
        display: flex;
        /*width: 80%;*/
        margin: 0 auto;
        align-items: center;
        padding: 2%;
    }

    .nasa img {
        display: flex;
        /* margin-left: 12%; */
        width: 100%;
        border-radius: 15px;
    }

        display: flex;
        width: 55%;
        font-size: 6px;
        font-weight: 600;
        text-align: center;
        padding: 0px; 
        margin: 1% 2%;
        border: 2px dashed;
        }

}

@media screen and (max-width: 768px) {

#carouselMain {
    margin-top: 3rem!important;
}

.form_name h1 {
    /*display: none;*/
}

.forma {
    width: 100%;
} 


    #orderForm input {
        margin-bottom: 5px;
        border-radius: 10px;
        text-align: center;
        font-size: 22px;
    }
    
    #orderForm button {
        border-radius: 10px;
        background-color: #cde123;
        font-size: 20px;
        font-weight: 600;
        font-style: italic;
        padding: 4px;
    }

#hamburger {
    display: none;
    width: auto;
    position: relative;
    top: 0;
    right: 0;
    font-size: 28px;          /* размер значка ☰ */
    background: none;         /* убираем фон */
    border: none;             /* убираем рамку */
    cursor: pointer;          /* курсор-рука */
    color: #fff;              /* цвет иконки */
    padding: 8px 12px;        /* внутренние отступы */
    border-radius: 6px;       /* скругление для эффекта при наведении */
    transition: background 0.3s, color 0.3s;
}

.shapik {
    height: auto;
}

.navbar_menu {
    width: 100%;
    height: 60px;
    background-color: #1e1e1e;
    color: #fff;
    display: flex;
    align-items: center;
    position: absolute;
}

.carousel-item img {
    object-fit: contain;
    margin: auto;
    margin-top: 15px;
    height: auto;
}

.modal-content {
    width: 125%;
}

.srch {
    margin-top: 10px;
}

.zag {
    font-size: 25px;
}

.form_name h1 {
    font-size: 25px;
}

.recom_name h1 {
    font-size: 35px;
}

.footer_mob {
    display: none;
}

.allfooter {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    background-color: #28292a;
}

.linkmenu {
    width: 15%;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    border-right: none;
    margin-top: 10px;
}

.contact1 {
    width: 0%;
    float: right;
    font-size: 20px;
    /* color: #fff; */
    /* padding-left: 10px; */
    display: flex;
    flex-direction: column;
    padding-left: 10px;
}

#searchForm {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
}

.form-order {
    width: 100%;
}

header img {
    width: auto;
    height: 90px;
    padding: 0;
    margin-top: 0;
}

navbar_menu {
    top: 0;
    /*margin-top: 3%;*/
}

.logo {
    margin: 0!important;
    width: auto;
}

.imast {
    position: relative;
    font-size: 27px;
    /*margin-left: 20px;*/
}

.katalog-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50px;
    right: 0px;
    /*width: 40%;*/
    height: auto;
    padding-left: 0px;
    /*background: #ccc;*/
    /* padding: 15px; */
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    border-radius: 8px;
    z-index: 4;
}

.katalog-menu.show {
    display: flex;
  }
  
      .katalog-menu.show {
        flex-direction: column;
        position: absolute;
        top: 76px;
        right: -100px;
        width: 40%;
        height: auto;
        padding-left: 0px;
        border-radius: 8px;
        z-index: 4;
    }

navbar_menu li a {
    text-decoration: none !important;
    font-size: 15px;
    color: #000000;
    padding: 5px;
    font-weight: 600;
}

navbar_menu>ul>li {
        width: 120px;
        height: auto;
        list-style-type: none;
        display: flex;
        align-items: center;
        border: 2px solid black;
        background-color: #ccc;
        margin-top: 1px;
        align-content: center;
        /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}

navbar_menu>ul>li:hover {
    background-color: blue;
}

.hamburger:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
}

.carousel-inner {
    height: 300px!important;
}

    .pay_ball {
        right: 0;
        /*top: -5px;*/
        width: 14% !important;
        /*height: 60px;*/
        font-size: 15px !important;
    }

.btn-desk {
    display: none!important;
}

.btn-500 {
    display: block!important;
}

.modal-dialog {
    max-width: 100%!important;
}

#productModal {
    paddong:0!important;
}



@media screen and (max-width: 425px) {

    header img {
        width: auto;
        height: 60px;
        padding: 0;
        top: 0;
        margin-top: 0;
        margin-left: -15px;
    }

    .contact1 a {
        font-size: 20px;
        color: #25853a;
        font-style: italic;
    }

    navbar_menu {
        width: 100%;
        height: 60px;
    }
    
    .imast {
        position: relative;
        font-size: 20px;
        margin-left: 8px;
    }
    
    .pay_ball {
        /*right: 0;*/
        /*top: -5px;*/
        width: 19% !important;
        /*height: 65px;*/
        font-size: 15px !important;
    }
    
    .katalog-menu.show {
        top: 50px;
        right: -25px;
    }
    
    textarea {
        border-radius: 10px;
        text-align: center;
    }
    
    .nasa {
        display: flex;
        /*width: 80%;*/
        margin: 0 auto;
        align-items: center;
        padding: 2%;
    }

    .nasa img {
        display: flex;
        /* margin-left: 12%; */
        width: 100%;
        border-radius: 15px;
    }

    .nasa > p {
        display: flex;
        width: 55%;
        font-size: 6px;
        font-weight: 600;
        text-align: center;
        padding: 0px; 
        margin: 1% 2%;
        border: 2px dashed;
        }
    }
    
    
    .recom_name {
        margin: 0px auto;
        padding: 20px 0;
    }



