body {
  background-color: #dcdcdc;
  background-image: url("../images/bg.gif");
  font-size: 1.2em;
  font-family: "Courier New", sans-serif;
  margin: 0;
  color: #EEE5E5;
  line-height: 1.6em;
}

a, a:visited {
  color: #ECA400;
  text-decoration: underline;
}
a:hover {
  text-decoration: underline;
  background-color: #006992;
}

* {
  box-sizing: border-box;
}

#container {
  max-width: 700px;
  margin: 3em auto;
  width: 90%;
}

#navbar {
  background-color: #001D4A;
  width: 100%;
  padding: 0 5%;
  font-weight: bold;
  margin-bottom: 10px;
  outline-width: 4px;
  outline-style: solid;
  outline-color: #006992;
}
#navbar ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  justify-content: space-evenly;
}
#navbar li {
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 1.2em;
  display: inline-block;
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
#navbar li a, #navbar li a:visited {
  color: #ECA400;
  text-decoration: none;
  padding: 3px;
}
#navbar li a:hover {
  background-color: #006992;
  color: #ECA400;
  text-decoration: none;
}

#flex {
  display: flex;
}

article {
  padding: 10px 5% 20px 5%;
  background-color: #001D4A;
  outline-style: none;
  margin-bottom: 10px;
  width: 100%;
  outline-width: 4px;
  outline-style: solid;
  outline-color: #006992;
}

footer {
  background-color: #001D4A;
  width: 100%;
  padding: 10px;
  text-align: center;
  outline-style: none;
  outline-width: 4px;
  outline-style: solid;
  outline-color: #006992;
}

h1, h2, h3, h4 {
  color: #ECA400;
}

hr {
  border: solid #ECA400;
  border-width: 1px 0 0 0;
}

blockquote {
  padding: 0 20px;
  margin-left: 0;
  border-left: 2px dotted #006992;
  font-size: 1.1em;
  line-height: 1.6em;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

ul.none {
    padding: 0;
    list-style-type: none;
}

/* Alignment classes */
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* Recent Blog Posts block in index.html */
#recentPostList ul {
  padding: 0;
  list-style-type: none;
}

/* Date/tags bar at the top of blog posts */
.postMetadata {
  background-color: #dcdcdc;
  width: 100%;
  padding: 5px;
  text-align: center;
  outline-width: 1px;
  outline-style: solid;
  outline-color: #BBCFEA;
  border-radius: 10px;
}

/* At the bottom of blog posts */
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

@media only screen and (max-width: 900px) {
  #flex {
    flex-wrap: wrap;
  }
#navbar ul {
  flex-wrap: wrap;
  }
}

/* Go To Top button */
#topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline-width: 4px;
  outline-style: solid;
  outline-color: #006992;
  background-color: #dcdcdc;
  color: #ECA400;
  cursor: pointer;
  padding: 15px;
  font-size: 18px;
  font-family: "Courier New", sans-serif;
}
#topBtn:hover {
  color: #ECA400;
  background-color: #006992;
}
.grid {
  display: grid;
  gap: 30px;
  place-items: center;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.item img {
  width: 150px;
  height: 150px;
object-fit: cover;
}