@charset "utf-8";
/* CSS Document */
html {
  scroll-behavior: smooth;
  color: #a2b0c0;
}
body {
  background-color: #061d40;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1 {
  text-align: center;
  color: #A3B3C8;
  background-color: #061d40;
  margin-top: -12px;
}
h2 {
  margin-top: -12px;
}
a {
  color: #3d7a99;
  font-weight: 700;
}
a:visited {
  color: #6C7D92;
}
a:hover {
  color: #45b2e9;
  background-color: #071121;
}
#retro ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#retro li{
    float: none;
    padding: 2px 12px;
    margin-top: 1.5em;
    position: relative;
    text-align: center;
}



/* NAVIGATION BEGIN */
#nav {
  position: fixed;
  top: 82vh;
  left: 50vw;
  transform: translateX(-50%);
}
#nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex; /* Use flexbox */
  justify-content: center; /* Centers items horizontally */
  flex-wrap: wrap; /* allows wrapping on smaller screens */
}
#nav li {
  float: none;
  padding: 2px 12px;
  position: relative;
  text-align: center;
}
#nav a {
  color: #f8f6e8;
  text-decoration: none;
  padding: 9px;
  text-align: center;
  display: flex;
  border-radius: 21px;
  flex-direction: column;
  align-items: center;
  transition: background-color 0.45s ease-in-out, color 0.45s ease-in-out;
}
#nav a:hover {
  background-color: #094270;
  color: #ffcf40;
}
#nav a img {
  transition: opacity 0.45s;
}
#nav a:hover img {
  opacity: 1;
}
/* NAVIGATION END */
.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  padding: 20px;
  width: 100%;
  max-width: 800px;
  text-align: center;
  box-sizing: border-box;
}
.main img {
  max-width: 100%;
  height: auto;
}
.main #doods {
  background-color: white;
  width: 98%;
}
.booklist li {
  display: flex;
  justify-content: flex-start;
  list-style-type: none;
  font-size: 1.5em;
  color: #307BE3;
}
.booklist .listtopper {
  font-weight: 900;
  color: #80B2CB;
}
#smallnav {
  display: none;
}
#footer {
  margin-top: 4em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    text-align: center;
    padding: 5px 0;
  }
  .navbar li {
    /*width: 100%;*/
    text-align: center;
    padding: 1px;
  }
  .main {
    width: 98%;
    padding: 0px;
  }
  .main h1, .main h2 {
    font-size: 1.5em;
  }
  #smallnav {
    display: flex;
    text-decoration: none;
    text-align: center;
      font-size: 2em;
      margin-left: 2em;
  }
  #smallnav ul {
    list-style-type: none;
  }
  #nav {
    display: none;
  } /**/
}