header {
    height: 80px;
    background: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    transition: all .3s ease-out;
    z-index: 2;
}

header.scrolled {
    background: #f7f7f7;
}

header .menu-btn {
    background: transparent;
    height: 30px;
    width: 40px;
    position: absolute;
    z-index: 4;
    left: 30px;
    top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

header .menu-btn span {
    width: 100%;
    border-bottom: 2px solid white;
    box-shadow: 0px 0px 3px rgb(56,56,56);
}

header .menu-btn span.top-line {
    transition: transform .3s ease-out;
}

header .menu-btn span.bottom-line {
    transition: transform .3s ease-out;
}

header .menu-btn span.middle-line {
    transition: opacity .3s ease-out;
}

header .menu-btn.menu-open span.top-line {
    transform: rotate(45deg) translate(10px,10px) scale(1.2);
}

header .menu-btn.menu-open span.bottom-line {
    transform: rotate(-45deg) translate(10px,-10px) scale(1.2);
}
header .menu-btn.menu-open span.middle-line {
    opacity: 0;
}

header .menu-block {
    position: fixed;
    height: auto;
    width: 200px;
    background-color: #dedede;
    z-index: 2;
    top: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all .3s ease-out;
    left: -300px;
    padding-top: 30px;
}

header .menu-block.menu-open {
    left: 30px;
}

header .menu-block .menu-item {
    padding: 1rem;
    color: #9a9a9a;
    text-decoration: none;
    transition: color .3s ease-out;
}

header .menu-block .menu-item:hover {
    color: #f7f7f7;
}

header .logo {
    width: 200px;
    position: absolute;
    left: 0;
    right: 0;
    top: 10px;
    color: #f7f7f7;
    z-index: 1;
    margin: auto;
    text-align: center;
}

header .logo a {
    background-image: url("img/logo_gold.png");
    width: 200px;
    height: 100px;
    display: block;
    background-size: 170%;
    background-position: 50% 70%;
    opacity: 0;
}

header.scrolled .logo a {
    opacity: 1;
    transition: opacity .3s ease-out;
}

header .logo h4 {
    color: #f7f7f7;
}

header .cart-icon {
    height: 40px;
    width: 40px;
    background-image: url("img/shopping-cart.svg");
    position: absolute;
    z-index: 3;
    background-size: contain;
    top: 26px;
    left: 90px;
}
header .cart-icon.cart-full {
    background-image: url("img/shopping-cart-full.svg");
}


header .cart-container {
    width: 400px;
    position: absolute;
    z-index: 3;
    top: 85px;
    left: 110px;
    background-color: rgba(56,56,56,.3);
    color: white;
    padding: 3rem 1rem 1rem;
    opacity: 0;
    display: none;
    transition: all .3s ease-out;
}
header .cart-container.visible {
    opacity: 1;
    display: flex;
}
header .cart-container.shown {
    opacity: 1;
    display: flex;
}

header .cart-container .cart-item {
    display: flex;
    margin-bottom: 1rem;
}
header .cart-container .cart-item img {
    height: 60px;
}
header .cart-container .cart-item p {
    margin-left: 1rem;
}
header .cart-container .cart-item p.remove {
    cursor: pointer;
    font-size: 1.5rem;
}

header .cart-container .empty-cart {
    display: none;
}

header .order-btn {
    padding: 1rem;
    margin: 1rem;
    background-color: #383838;
    color: white;
    float: right;
    display: none;
    border: none;
}

header .total {
    display: none;
}

.display-block {
    display: block !important;
}

.cart-container-cancel {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}

.langs {
    position: absolute;
    display: flex;
    width: 60px;
    height: 20px;
    right: 50px;
    top: 26px;
    justify-content: space-between;
}

.langs .ua-img, .langs .uk-img {
    width: 24px;
    height: 20px;
}
.langs .ua-img {
    background-image: url('img/ukraine.png');
}

.langs .uk-img {
    background-image: url('img/united-kingdom.png');

}

@media screen and (max-width: 1024px) {
    header {
        top: 0;
    }

    header .menu-btn {
        height: 20px;
        width: 25px;
        left: 15px;
    }
    header .cart-icon {
        height: 30px;
        width: 30px;
        top: 26px;
        left: 50px;
    }

    header .cart-icon.cart-full {
        background-image: url("img/shopping-cart-full.svg");
    }

    header .menu-btn.menu-open span.top-line {
        transform: rotate(45deg) translate(5px, 5px) scale(1.2);
    }

    header .menu-btn.menu-open span.bottom-line {
        transform: rotate(-45deg) translate(8px, -7px) scale(1.2);
    }
}

@media (max-width: 767px) {
    header .logo {
        display: none;
    }

    header .menu-block {
        top: 17px;
    }

    header .menu-block.menu-open {
        left: 17px;
    }

    header .cart-container {
        left: 1rem;
    }
}