.sidepanel {
    height: 100vh;
    width: 0; /* Change with js */
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: white;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px;
    transition: 0.5s;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

/* Sidepanel Links */
.sidepanel a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: black;
    opacity:0;
    display: block;
    transition: 0.6s;
}

.sidepanel a:hover {
    color: white;
    background-color: red;
}

/* Close button */
.sidepanel .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.sidepanel .closebtn:hover {
    background-color: white;
    color: red;
}

.openbtn {
    position: fixed;
    top: 20;
    right: 20;
    font-size: 20px;
    cursor: pointer;
    background-color: white;
    color: black;
    padding: 10px 15px;
    border: none;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border-radius: 10px;
    margin: 20px;
}

/* Phone changes */

@media only screen and (max-width: 600px) {
    .openbtn {
        position: static;
        border-radius:0px;
        width:calc(100vw - 40px);
    }
}