#menu {
    background-color : #dfdfdf;
    z-index          : 1000;
    position         : fixed;
    top              : 1%;
    right            : 0;
    width            : 116px;
    margin           : 1px 1.2% 1px auto;
    display          : flex;
    flex-wrap        : wrap;
    justify-content  : space-between;
    padding          : 20px;
    transition       : 1s;
    border-radius    : 3px 3px 0 3px;
    font-size        : 90%;
    font-weight      : bold;
}
#sp-menu {
    display          : none;
}
#menu.hide{
    top              : -30%;
}
#menu-list {
    list-style       : none;
}
#menu-list li::marker {
    color: #fff9ed;
}
#menu-nav ul {
    padding-left     : 20px;
}
#menu-list li {
    margin-bottom    : 20px;
    transition       : font-size 0.5s;
}
#menu-list li:hover{
    font-size        : 115%;
}
#menu-list a:link, a:visited, a:hover, a:active {
    color            : dimgray;
    text-decoration  : none;
}

/* -------------------------------------------------------- */
@media screen and (max-width: 600px) {
    #menu {
        display          : none;
    }
    #sp-menu {
        display          : block;

    }
    #sp-menu #menu-btn-check {
        display          : none;
    }
    #sp-menu #menu-btn {
        position         : fixed;
        top              : 1px;
        right            : 4px;
        display          : flex;
        height           : 48px;
        width            : 48px;
        justify-content  : center;
        align-items      : center;
        z-index          : 1000;
    }
    #sp-menu #menu-btn span,
    #sp-menu #menu-btn span:before,
    #sp-menu #menu-btn span:after {
        content          : "";
        display          : block;
        height           : 3px;
        width            : 25px;
        border-radius    : 3px;
        background-color : #8f95ad;
        position         : absolute;
    }
    #sp-menu #menu-btn span:before {
        bottom           : 8px;
    }
    #sp-menu #menu-btn span:after {
        top              : 8px;
    }
    #menu-btn-check:checked ~ #menu-btn span {
        background-color : rgba(255, 255, 255, 0);
    }
    #menu-btn-check:checked ~ #menu-btn span::before {
        bottom           : 0;
        transform        : rotate(45deg);
        transition       : 0.5s;
    }
    #menu-btn-check:checked ~ #menu-btn span::after {
        top              : 0;
        transform        : rotate(-45deg);
        transition       : 0.5s;
    }
    #sp-menu #menu-content {
        width            : 100%;
        height           : 100%;
        position         : fixed;
        top              : 0;
        left             : 100%;
        z-index          : 900;
        background       : linear-gradient(to left, #0a0a04e3, #e7e4cce3);
        transition       : 0.5s;
    }
    #sp-menu #menu-content ul li {
        list-style: none;
    }
    #sp-menu #menu-content ul {
        padding          : 70px 10px 20px 50px;
    }
    #sp-menu #menu-content li {
        padding-top      : 10%;
    }
    #sp-menu #menu-content ul li a {
        display          : block;
        width            : 100%;
        box-sizing       : border-box;
        color            : #383b19;
        text-decoration  : none;
        font-size        : x-large;
        font-weight      : bolder;
        padding          : 9px 15px 10px 0;
        position         : relative;
    }
    #sp-menu #menu-content #menu-content-a {
        display          : inline-block;
        width            : 43%;
    }
    #sp-menu #menu-content #menu-content-b {
        font-size        : small;
    }
    #sp-menu #menu-content #contact a {
        color            : #8600bd;
        font-size        : larger;
        font-weight      : bolder;
    }
    #sp-menu #menu-content ul li a::before {
        content          : "";
        width            : 7px;
        height           : 7px;
        border-top       : solid 2px #8f95ad;
        border-right     : solid 2px #8f95ad;
        transform        : rotate(45deg);
        position         : absolute;
        right            : 11px;
        top              : 16px;
    }
    #sp-menu #menu-btn-check:checked ~ #menu-content {
        left             : 0;
    }
    #sp-menu #menu-border {
        width            : 60%;
        border-bottom    : 1px solid #ffffff;
        margin           : 0 14% 0 14%;
    }
    #sp-menu #contact {
        padding          : 14% 0 0 14%;
    }
    #sp-menu #contact a {
        text-decoration  : none;
    }
}

/* -------------------------------------------------------- */
#page_top {
    width            : 74px;
    height           : 74px;
    position         : fixed;
    right            : 0;
    bottom           : 0;
    opacity          : 0.6;
    z-index          : 800;
}
#page_top a {
  position           : relative;
  display            : block;
  width              : 68px;
  height             : 68px;
  text-decoration    : none;
}
#page_top a::before {
  font-family        : 'Font Awesome 5 Free';
  font-weight        : 900;
  content            : "\0ab";
  font-size          : 1.8em;
  color              : #274edc;
  position           : absolute;
  width              : 25px;
  height             : 25px;
  top                : -20px;
  bottom             : 0;
  right              : -4px;
  left               : 0;
  margin             : auto;
  text-align         : center;
  transform          : rotate( 90deg );
}
#page_top a::after {
  content            : 'Back to Top';
  font-size          : 0.7em;
  position           : absolute;
  top                : 38px;
  bottom             : 0;
  right              : 0;
  left               : -12px;
  margin             : auto;
  text-align         : center;
  color              : #274edc;
}
