div#page-container {
    display: block;
    width: 100%;
}

.floatbox {
    margin: 0;
}

div#sidebar {
    display: inline-block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: scroll;
    z-index: 999;
    transform: translate(0, 110%);
    opacity: 0;
    transition: all 0.3s;
}

div#sidebar.active {
    transform: translate(0, 0);
    opacity: 1;
}

div#menu-button {
    display: block;
    position: fixed;
    bottom: 1em;
    right: 1em;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background-color: #ddd;
    z-index: 1000;
    opacity: 0.8;
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
    position: relative;
    display: block;
    width: 30px; 
    height: 3px;
    border-radius: 4px;
    background-color: #666;
    transition: all 0.3s linear;
}

/* center the span element in the middle of its containing button */
.hamburger-icon {
    top: calc(50% - 1px);
    left: calc(50% - 15px);
}

/* position the two pseudo-elements to the very left*/
.hamburger-icon::before,
.hamburger-icon::after {
    content: "";
    left: 0;
}
/* this is the top dash of the hamburger */
.hamburger-icon::before {
    bottom: 11px;
}
/* this is the bottom dash of the hamburger */
.hamburger-icon::after {
    top: 8px;
}

#menu-button.active .hamburger-icon {
    transform: rotate(-45deg);
    top: calc(50% - 2px);
}

#menu-button.active .hamburger-icon::before {
    transform: scale(0);
}

#menu-button.active .hamburger-icon::after {
    transform: rotate(90deg);
    top: calc(50% - 4px);
}