.ham {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background: rgba(221, 221, 221, 0.3);
    display: block;
    position: relative;
    z-index: 50;
    margin-left: 5px;
}

.ham:hover {
    cursor: pointer;
    opacity: 80%;
}

.ham-origin {
    position: absolute;
    top: 50%;
    left: 50%;
}

.ham-bar {
    height: 2px;
    width: 26px;
    position: absolute;
    background: white;
    margin: -1px 0 0 -13px;
    transition: all .5s;
}

.ham-bar--top {
    transform: translateY(-6px);
}

.ham-bar--bottom {
    transform: translateY(6px);
}

#nav-toggle {
    display: none;
}

#nav-toggle:checked~.ham .ham-bar--middle {
    opacity: 0;
}

#nav-toggle:checked~.ham .ham-bar--top {
    transform: rotate(-45deg);
}

#nav-toggle:checked~.ham .ham-bar--bottom {
    transform: rotate(45deg);
}

/* Nav Style */

.menu {
    width: 100%;
    height: 100vh;
    margin-top: 30px;
    position: fixed;
    right: 0;
    top: 3rem;
    bottom: 2rem;
    padding: 10px 0px;
    background: rgba(221, 221, 221, 0.904);
    /* 用 translate 把選單藏到畫面右邊去 */
    transform: translateX(100%);
    transition: transform .5s;
    z-index: 30;
}

#nav-toggle:checked~.menu {
    transform: none;
    
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item+.menu-item {
    margin-top: 20px;
}

.menu-link {
    text-decoration: none;
    /*color: rgb(17, 1, 61);*/
    color: rgb(2, 29, 96);
    font-size: 1.5rem;
    font-weight: 600;
}

.menu-notwork {
    color: rgb(107, 107, 107);
    cursor: none;
    font-weight: 400;
}