.burger-wrapper {
  cursor: pointer;
}
#meny {
    position: relative;
    background: rgba(0,0,0,.5);
    width: 180px;
    height: 278px;
    float: right;
    clear: left;
    margin: 0 30px 0 0;
    transition-timing-function: cubic-bezier(.29,2,3,1);
    transform: translateY(-50rem);
    z-index: 0;
    transition: .65s;
    border-radius: 0 0 6px 6px;
    /*box-shadow: 0px 8px 8px grey;*/
    font-size: 1.25em;
}
#meny a {
    display: block;
    width: 160px;
    height: 40px;
    line-height: 40px;
    padding: 0 0 0 20px;
}
.round-bottom {
    border-radius: 0 0 8px 8px;
}
#meny a:link {
    color: #fff;
    text-decoration: none;
}
#meny a:hover {
    background: rgba(255,139,51, .5);
}
#meny a:visited {
    color: #fff;
}
#menyAvPaa {
    display: none;
}

#menyAvPaa:checked ~ #meny {
    transform: translateX(0px);
}

#burger {
    position: absolute;
    cursor: pointer;
    width: 38px;
    height: 2rem;
    margin: 20px 20px 0 0;
    right: 1rem;
    top: 1rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

#burger > div {
    height: 6px;
    background-color: #000;
    transition: 0.5s;
    z-index: 999;
}

#menyAvPaa:checked ~ #burger > div {
  background-color: #fff;
}

#menyAvPaa:checked ~ #burger > div:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
#menyAvPaa:checked ~ #burger > div:nth-child(2) {
    opacity: 0;
}
#menyAvPaa:checked ~ #burger > div:nth-child(3) {
    transform: translateY(-15px) rotate(-45deg);
}
@media screen and (max-width: 700px) {
    #meny {
      margin: 0px;
   }
}