/* бургер меню */
.site-burger-menu {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    height: 100%;
    width: 80px;
    border-right:1px solid #ddd;
    z-index: 100;
    background-color: #fff;
}

#menu__toggle {
    opacity: 0;
}

.menu__btn {
    display: flex;
    align-items: center;
    position: fixed;
    /* top: 20px; */
    /* left: 20px; */
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 21;
    visibility: visible;
}

.menu__btn:active .menu__btn:hover{
    transition: transform .5s;
    transform: rotate(-90deg);
}

.menu__btn:hover span::before {
    transition: transform .5s;
    transform: scaleX(0.7);
    
}

.menu__btn:hover span::after {
    transition: transform .5s;
    transform: scaleX(0.7);
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #4b4b4b;
    transition: .5s all;
}

.menu__btn > span::before {
    content: '';
    top: -8px;
}

.menu__btn > span::after {
    content: '';
    top: 8px;
}

.menu__box {
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    text-align: center;
    background-color: #ECEFF1;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
    z-index: 20;
    opacity: .9;
    padding: 10%;
}

.menu__item {
    display: flex;
    align-items: center;
    width: 480px;
    height: 40px;
    padding: 8px 8px;
    color: rgb(49, 47, 47);
    font-family: 'Roboto', sans-serif;
    font-size: 23px;
    font-weight: 550;
    text-decoration: none;
    color: black;
}

.menu__item:hover {
    /* background-color: #e6e6e6; */
    display: flex;
    align-items: center;
    color: #c9002b;
    /* margin-left: 20px; */
    transition-timing-function: ease;
    /* transition: color .2s ease; */
    /* transition: .8s all; */
    transition: width .35s ease,margin .35s ease;
    will-change: width,margin;
}

.menu__item::before {
    /* margin-right: 15px; */
    transition: 2s all;
    width: 0;
    content: "";
    margin-right: 0;
    transition: width .35s ease,margin .35s ease;
    will-change: width,margin;
}

/* .menu__item:hover .menu__item::before  {
    content: "";
    width: 1px;
    height: 1px;
    transform: scale(0);
} */

.menu__item:checked:hover {
    transform: rotate(90deg);
}

.menu__item:hover::before {
    content: "";
    /* transform: scale(4.5,1); */
    /* color: #c9002b;*/
    height: 2px;
    width: 30px;
    margin-right: 10px;
    background-color: #c9002b;
    transition-timing-function: linear;
    transition: width .35s ease,margin .35s ease;
    will-change: width,margin;

}

#menu__toggle:checked ~ .menu__btn > span {
    transform: rotate(45deg);
}

#menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(0);
}

#menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
    transition: .5s all;
}

#menu__toggle:checked ~ .menu__box {
    visibility: visible;
    transition: .5s all;
    left: 0;
}

#product, #product1, #product2, #product3 {
    display: flex;
}

.submenu {
    position: fixed;
    left: 30%;
    top: 30%;
    opacity: 0;
    display: none;
    list-style-type: none
}

.submenu1 {
    position: fixed;
    left: 60%;
    top: 30%;
    opacity: 0;
    display: none;
    list-style-type: none
}

#product:hover .submenu{
    opacity: 1;
    height: 40px;
    transition: .55s opacity, .55s visibility;
    transition: .6s all;
    display: block;
}

#product1:hover .submenu1{
    opacity: 1;
    height: 40px;
    transition: .55s opacity, .55s visibility;
    transition: .6s all;
    display: block;
}


/* лого */

.site-logo {
    background: url("/images/logo_cascate.jpg") no-repeat;
    transform: rotate(-90deg);
    width: 200px;
    height: 45px;
    background-size: contain;
    margin-bottom: auto;
    margin-top: 100px;
}

.link-logo {
    display: block;
    width: 200px;
    height: 45px;
}

/* адаптив */

.site-header {
    display: none;
}

@media (max-width: 1024px) {
    .site-burger-menu {
        display: none;
    }
    .site-header {
        display: block;
    }
}