body {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    font-family:'Courier New', Courier, monospace;
}

header {
    background-color: #505050;
    height: 10vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

div {
    display: flex;
    justify-content: space-evenly;
    
}

nav {
    background-color: red;
    width: 100vw;
    top: -76vh;
}

main {
    background-color: #707070;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}   

div nav {
    background-color: rgb(10, 100, 10);
    height: 80.5vh;
    width: 120px;
    position: fixed;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    border-radius: 10ch;
    border: solid 2px whitesmoke;
    border-style: double;
    top: 14vh;
}

nav li {
    font-size: large;
    margin: 10px;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 15px;
    margin-right: 135px;
    font-size: 30px;
}



footer {
    background-color: #909090;
    height: 5vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}


/* When the popover is shown, make it visible */
#Navigation[popover]:popover-open {
    display: block;
}


@supports not (selector(:popover-open)) {
  #Navigation {
    display: none;
    position: absolute;
    background-color: red;
    width: 100vw;
    top: 10vh; /* or wherever you want it to appear */
    left: 0;
    z-index: 999;
  }

  /* Show it when we open it via JS */
  #Navigation.show {
    display: block;
  }
}

#Navigation[popover]:popover-open {
    display: block;
}


@media (max-width: 480px) {
    p {
        font-size: 6vw;
    }

    div li {
        line-height: 10px;
    }

    h4 {
        line-height: 2px;
    }
}