#menu, #menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#menu {
    width: 100%;
    margin: 20px auto;
    border: 1px solid #1F0B05;
    background: linear-gradient(0deg, rgba(240,192,113,1) 0%, rgba(71,46,28,1) 100%);
    border-radius: 6px;
    box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
    text-align: center;
}

#menu:before,
#menu:after {
    content: "";
    display: table;
}

#menu:after {
    clear: both;
}

#menu {
    zoom: 1;
}

#menu ul {
    display: inline-block;
}

#menu li {
    display: inline-block;
    border-right: 1px solid #1F0B05;
    box-shadow: 1px 0 0 #444;
    position: relative;
}

#menu li:first-child {
    border-left: 1px solid #1F0B05;
    box-shadow: -1px 0 0 #444;
}

#menu a {
    display: inline-block;
    padding: 12px 30px;
    color: #bbb;
    text-transform: uppercase;
    font: bold 12px Arial, Helvetica;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
    transition: all 0.3s ease;
}

#menu a:hover,
#menu a:focus {
    color: #fff;
    background: #A87101;
}

#menu-trigger {
    display: none;
    cursor: pointer;
    padding: 10px;
    font-size: 24px;
    color: #fff;
    background: #333;
    border-radius: 4px;
    text-align: center;
    position: relative;
    z-index: 1001;
}

@media (max-width: 600px) {
    #menu-trigger {
        display: block;
    }
    #menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        transform: translateY(-100%);
        transition: transform 0.3s ease, opacity 0.3s ease;
        opacity: 0;
    }
    #menu.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }
    #menu ul {
        display: block;
        text-align: left;
    }
    #menu li {
        display: block;
        border-right: none;
        border-bottom: 1px solid #ddd;
        box-shadow: none;
    }
    #menu li:first-child {
        border-left: none;
        box-shadow: none;
    }
    #menu a {
        display: block;
        padding: 15px;
        color: #333;
        text-transform: none;
        font: normal 16px Arial, Helvetica;
        text-shadow: none;
        touch-action: manipulation;
        pointer-events: auto;
        cursor: pointer;
    }
    #menu a:hover,
    #menu a:focus {
        background: #f9f9f9;
        color: #A87101;
    }
}