.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    color: #5e5e5e;
    padding: 20px;
    font-size: 14px;
}

.menu li {
    margin-right: 32px;
    padding-top: 11px;
    letter-spacing: 0.143em;
}

.menu li.active {
    color: #000;
    font-weight: 600;
    border-top: 2px solid black;
}

.menu li:last-child {
    margin-right: 0;
}

.menu a {
    color: #5e5e5e;
    text-decoration: none;
}

.submenu {
    display: none;
    position: absolute;
    box-shadow: 0 3px 6px 3px rgba(0,0,0,0.24);
    border-radius: 4px;
    background-color: #fff;
    list-style: none;
    padding: 16px;
    white-space: nowrap;
    max-height: 45vh;
    right: 110px;
    top: 70px;
}

.submenu li {
    margin-bottom: 5px;
    margin-right: 0;
}

.chevron-image {
    width: 10px;
    height: 10px;
}

.burger-menu {
    display: none;
    z-index: 99999;
}

.burger-image {
    display: none;
    cursor: pointer;
    padding-top: 16px;
    margin-top: 4px;
    padding-bottom: 4px;
}

.burger-item {
    padding: 16px 24px;
    font-size: 22px;
    border-bottom: 1px solid #4c4c4c80;
    cursor: pointer;
}

.burger-item a {
    text-decoration: unset;
    color: #f7f7f7;
}

.burger-item:hover {
    color: #aacadb;
}

.burger-item:last-child {
    border: 0;
}

.close-image-block {
    text-align: right;
}

.close-image {
    width: 18px;
    padding: 6px;
    cursor: pointer;
}

.warnings-instructions-menu {
    display: block;
}

.warnings-instructions-submenu {
    display: none;
}

@media (min-width: 1024px) and (max-width: 1142px) {
    .warnings-instructions-menu {
        display: none;
    }
    
    .warnings-instructions-submenu {
        display: block;
    }
}

@media screen and (max-width: 1024px) {
    .menu {
        display: none;
    }
    .burger-image {
        display: block;
        width: 24px;
        cursor: pointer;
    }

    .burger-menu {
        position: absolute;
        width: calc(100% - 40px);
        height: calc(100% - 24px);
        background-color: #161616;
        left: -8px;
        top: -32px;
        flex-direction: column;
        padding-top: 56px;
        padding-left: 24px;
        padding-right: 24px;
    }
}