body {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
* {
    text-decoration: none;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    transition: .5s;
    margin: 0;
}
#menu-button {
    display: none;
}


header, footer {
    height: 80px;
    padding: 0 1rem 0 1rem;
    background-color: cadetblue;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

#menu-button + .menuicon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    aspect-ratio: 1;
    background-color: aliceblue;
    border-radius: 50%;
}
.menuicon::before {
    content: "Open";
}

#menu-button:checked + .menuicon::before {
    content: "Close";
}

.menu {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -10;
    height: calc(100vh - 160px);
    
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-wrap: wrap;
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    opacity: 0;
    overflow: hidden;
    translate: 0 100%;
}
.menu a {
    width: 0%;
    height: max-content;
    padding: 1rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.363);
}

.menu a:not(:last-child) {
    border-bottom: 2px solid rgba(0, 0, 0, 0.164);
}

#menu-button:checked + label a {
    width: 10rem;
}
#menu-button:checked + label .menu {
    z-index: 10;
    opacity: 1;
}

.content {
    display: flex;
    flex: 1 1 0;
}
sidebar  {
    background-color: rgba(0, 0, 0, 0.5);
    width: 20%;
}
main {
    background-color: rgba(0, 0, 0, 0.2);
    flex: 1 1 0;
}





@media (max-width: 720px) {
    .menu {
    }
}