.menu_b {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    height: 0;
    width: 100%;
    left: 0;
    transform: translate(0, 20%);
    transition: all .5s;
}
.menu_s {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    height: 0;
    width: 100%;
    left: 0;
    transform: translate(0, 20%);
    transition: all .5s;
}
.menu_b a{
    text-decoration: none;
    color: black;
}
.menu_s a{
    text-decoration: none;
    color: black;
}
    
@media only screen and (min-width: 992px) {
    .but_b:hover {
        background: #fff;
        border-radius: 8px;
    }
    
    .but_s:hover {
        background: #fff;
        border-radius: 8px;
    }
    
    .but_b:hover .menu_b {
        visibility: visible;
        opacity: 1;
        height: auto;
        z-index: 11;
        border-radius: 2px;
        background: #F8F8F8;
        transform: translate(0, 0);
        transition: all .5s;
    }
    .but_s:hover .menu_s {
        visibility: visible;
        opacity: 1;
        height: auto;
        z-index: 11;
        border-radius: 2px;
        background: #F8F8F8;
        transform: translate(0, 0);
        transition: all .5s;
    }
    .punct_m:hover {
        border-radius: 2px;
        background: #fff;
    }
    .nav_c a{
        text-decoration: none;
        background-image: linear-gradient(currentColor, currentColor);
        background-position: 0% 100%;
        background-repeat: no-repeat;
        background-size: 0% 2px;
        transition: background-size .3s;
    }
    .nav_c a:hover {
        background-size: 100% 2px;
    }
    .nav_c {
        position: absolute;
        width: 100%;
        z-index: 2;
        opacity: 0.8;
        margin-top: 40px;
    }
    .header_fon {
        position: absolute;
        height: 30px;
        background: #fff;
        width: 100%;
        opacity: 0.5;
        z-index: 2;
    }
    .header_text_left {
        position: absolute;
        width: 100%;
        z-index: 3;
    }
    .header_text_right {
        position: absolute;
        width: 100%;
        z-index: 3;
    }
    .logo {
        height: 40px;
    }
    .logo_m {
        display: none;
    }
    .menu_m {
        display: none;
    }
    .category {
        height: 100px;
        width: 100%;
    }
}
@media (max-width: 991px) {
    .menu_b {
        display: none;
    }
    .menu_s {
        display: none;
    }
    .but_b {
        display: none;
    }
    .but_s {
        display: none;
    }
    .header_text_left {
        display: none;
    }
    .header_text_right {
        display: none;
    }
    .logo_m {
        width: 100%;
    }
    .logo {
        display: none;
    }
    .nav-a {
        border-radius: 2px;
        text-decoration: none;
        background: #6c757d;
    }
}