/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
body {
  background-color: whitesmoke;
  font-size: 18px;
  font-family: Monospace, "Monaco";
  margin: 0;
  background-image: url("/paintbg.png");
  background-attachment: fixed; 
  background-size: cover;
}
p, li {
  line-height: 1.2em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}
hr {
  border: solid whitesmoke
  border-width: 2px 0 0 0;
}
img {
  max-width: 100%;
  height: auto;
}

.pixel-art {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .small {
    max-width: 60%;
    height: auto;
  }
}
.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}
h1, h2, h3, h4, h5, p {
  font-family: Monospace, "Monaco";
  color: teal;
}
/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
    max-width: 900px;
  color: purple; 
  background-color: whitesmoke;
}
#content {
  padding: 10px 5% 20px 5%;
  outline-color: turquoise;
  outline-style: dotted;
  outline-width: 6px;
  outline-offset: 0;

}
/*HEADER STYLE*/
#header {
  background-color: turquoise;
  padding: 0 5%;
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;

}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 0.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
#header li a {
  color: white;
  text-decoration: none;
  background-color: inherit;
}
#header li a:hover {
  text-decoration: underline;
}
/* Drop down style
Learned how to do it here: https://www.w3schools.com/Css/css_dropdowns.asp
Future me will appreciate the link*/
.dropdown {
  position: relative;
}
/* Style the dropdown button */
.dropbtn, .navbar a {
  background-color: turquoise;
  color: white;
  padding: 16px;
  border: none;
  cursor: pointer;
  font-size: 1em;
  font-family: Monospace, "Monaco";
  text-decoration-line: none;
}
/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: turquoise;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  font-size: .8em;
  font-family: Monospace, "Monaco";
}
/* Links inside dropdown content */
.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: .8em;
  font-family: Monospace, "Monaco";
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: white;
  color: turquoise;
  font-size: .8em;
  font-family: Monospace, "Monaco";
}
/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
  display: block;
}
/* Change background color of dropdown button on hover */
.dropdown:hover .dropbtn {
  background-color: white;
  color: turquoise;
}
.navbar {
  padding: 1rem;
  outline-color: turquoise;
  outline-style: dotted;
  outline-width: 6px;
  outline-offset: 0;
  background-color: whitesmoke;
}
.nav-container {
  display: flex;  /* This makes items sit side-by-side */
  align-items: center;
  gap: 1.3rem;  /* Space between items */
  width: 100%;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}
/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}
/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}
/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}