nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    height: 50px;
    text-align: center;
}
nav a{
    text-decoration: none;
}

.nav-links {
    float: left;
}
.menu li {
    padding: 2px 8px;
}

/* ------------------------------------
Responsive nav-menu
------------------------------------- */
.nv-check {
    display: none;
}
.menu {
    display: none;
    position: fixed;
    background: rgba(37, 37, 37, 0.9);
    right: 0;
    top: 0;
    padding: 60px 0 40px;
    width: 250px;
    height: 100vh;
    color: #fff;
    z-index: 1000;
}
.menu li a{
    color: rgb(201, 201, 201);
}
.menu li a:hover {
    color: #fff;
    text-decoration: none;
    border-bottom: 0;
    transition: 0.3s ease-out;
}
.menu li + li {
    margin-top:  12px;
}
.nv-check:checked ~ .menu{
    display: block;
}
.menu-btn {
    display: block;
    cursor: pointer;
    display: inline-block;
    height: 40px;
    position: relative;
    width: 40px;
    z-index: 1500;
    user-select: none;
}
.menu-btn  span {
    background:  #999;
    border-radius: 5px;
    display: block;
    height: 8%;
    left: 50%;
    margin: -8% 0 0 -42%;
    position: absolute;
    top: 50%;
    transition: all 0.3s ease-in-out;
    width: 80%;
}
.menu-btn  span::before,
.menu-btn  span::after {
    -webkit-transform: rotate(0);
    background: #999;
    border-radius: 5px;
    content: "";
    display: block;
    height: 100%;
    left: 50%;
    margin: -8% 0 0 -50%;
    position: absolute;
    top: 82%;
    transform: rotate(0);
    transition: all 0.3s ease-in-out;
    width: 100%;
}
.menu-btn  span::before {
    margin-top: -38%;
}
.menu-btn  span::after {
    margin-top: 19%;
}

#checkbox_toggle:checked ~ .menu-btn  span {
    background: rgba(51, 51, 51, 0);
}

#checkbox_toggle:checked ~ .menu-btn  span::before,

#checkbox_toggle:checked ~ .menu-btn  span::after {
    content: "";
    display: block;
    height: 100%;
    left: 50%;
    margin: -8% 0 0 -42%;
    position: absolute;
    top: 50%;
    width: 100%;
}

#checkbox_toggle:checked ~ .menu-btn  span::before {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

#checkbox_toggle:checked ~ .menu-btn  span::after {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}

.nv-pc {
    display: none;
}
.nv-mobile {
    display: block;
}

#checkbox_toggle:checked ~ .menu-back {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(3,3,3,.5);
    display: block;
}

@media only screen and (min-width: 768px) {
    .menu {
        display: flex;
        position: absolute;
        background: transparent;
        padding: 10px;
        width: auto;
        height: 50px;
        align-items: center;
        color: #666;
        gap: 0;
    }
    .menu li a{
        color: #666;
    }
    .menu li a:hover {
        color: #8f2e14;
    }
    .menu li + li {
        margin-top:  0;
    }
    .menu-btn {
        display: none;
    }
    .nv-pc {
        display: block;
    }
    .nv-mobile {
        display: none;
    }
}