* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
   background-color: #fff;
   width: 100vw;
   height: 100vh;
   font-family: sans-serif;
}

header {
    grid-area: header;
}

h1 {
    text-align: center;
    padding-top: 5px;
    font-size: 2.5em;
    text-wrap: nowrap;
}

#top-menu {
    margin: 10px 0;
    width: 100vw;
    padding: 0px 0px 5px 5px;
    background-color: #fff;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    grid-area: menu;
}

#hamburger-icon {
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 2.5em;
    transition: all 0.2s;
}

#hamburger-icon:hover {
    color: orange;
}

a {
    text-decoration: none;
    color: #318aaa;
    transition: all 0.2s;
}

#dropdown-content a {
  display: block;
  width: 98%;
  border-bottom: 1px solid lightgray;
  padding: 10px 1px;
  font-size: 1.2em;
}

#dropdown-content a:last-of-type {
    border-bottom: none;
}

a:hover {
    color: orange;
}

#dropdown-content {
  display: none;
}

#dropdown-content.show {
  display: block;
}

.title {
    font-style: italic;
    font-weight: bold;
    display: block;
}

main {
    grid-area: main;
}

.poem-container {
    display: none;
    width: 95%;
    margin: 30px auto;
    padding: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
    max-width: 500px;
    min-width: 315px;
}

#poem-0 {
    display: block;
}

#poem-0.show {
    display: none;
}

#poem-1.show, #poem-2.show, #poem-3.show, #poem-4.show, #poem-5.show, #poem-6.show, #poem-7.show, #poem-8.show {
    display: block;
}

.poem-title {
    text-align: center;
    font-style: italic;
    font-size: 1.5em;
}

.poem-author {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.15em;
}

.poem-description {
    text-align: center;
    font-size: 1.1em;
}

hr {
    width: 50%;
    margin: 30px auto;
    color: lightgray;
}

.stanza {
    font-family: serif;
    margin-bottom: 10px;
    font-size: 1.1em;
    padding-left: 20px;
}

.source {
    text-align: center;
    font-size: 0.8em;
    font-style: italic;
    color: darkgrey;
}

.footer {
    text-align: center;
    font-size: .8em;
    color: darkgrey;
    margin: 30px auto;
    width: 95%;
    max-width: 700px;
    min-width: 315px;
}

@media only screen and (min-width: 700px) {
    body {
        display: grid;
        grid-template-areas:
            "header header"
            "menu main"
            "footer footer";
        grid-template-columns: auto auto;
    }
    #top-menu {
        width: 100%;
        height: 60px;
        border: none;
        margin: 0;
    }
    #dropdown-content {
        display: block;
    }
    #hamburger-icon {
        display: none;
    }
    main {
        margin: 0;
    }
    footer {
        grid-area: footer;
    }
    .footer {
        max-width: 1000px;
    }
}