body {
  font-family: 'Segoe UI', sans-serif;
  background-color: black;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3 {
    color: white;
    text-align: center;
}

a:link {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
    color: blue;
}

a:visited {
    color: inherit;
}

a:focus {
  outline: 2px dashed #00f;
  outline-offset: 2px;
}

main {
    background-image: url("menu_curve3A.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    color: white;
    width: 80%;
    margin: auto;
}

.divider {
    background-image: url(divider.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 8em;
    margin: 3em auto;
    opacity: .25;
}

section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 63%;
    gap: 2em;
    margin: .2em auto;
}

.pic_container {
    flex: 0 0 80px;
    max-width: 80px;
}

.pic_container img {
    width: 100%;
    height: auto;
    border: .02em solid #FFFACD;
    border-radius: 4px;
}

nav ul {
    width: 70%;
    margin: .2em auto;
    color: white;
    list-style-type: none;
    text-align: center;
}

.nav ul li {
    text-decoration: none;
    color: white;
    margin: .5em 0;
}
.previous, .next {
    width: 6em;
    height: 1.2em;
    margin: 1em auto;
    text-align: center;
    color: white;
}

@media screen and (max-width: 600px) {
  body {
    font-size: 0.9em;
    padding: 0.5em;
  }

  main {
    width: 95%;
    background-size: cover;
  }

  section {
    flex-direction: column;
    width: 100%;
    gap: 1em;
  }

  .pic_container {
    flex: 0 0 auto;
    max-width: 80px;
    margin: 0 auto;
  }

  .pic_container img {
    width: 80px;
    height: auto;
  }

  nav ul {
    width: 100%;
    padding: 0;
  }

  .previous, .next {
    width: auto;
    margin: 1em auto;
  }
}