:root{
  --inkBlack: rgb(5, 12, 16);
  --coffeeBean: rgb(42, 19, 17);
  --espresso: rgb(78, 26, 18);
  --chestnut: rgb(136, 46, 31);
  --strawberryRed: rgb(230, 57, 57);
  --mutedTeal: rgb(124, 171, 158);
  --frozenWater: rgb(214, 237, 230);
  }
  
  .dotgothic16-regular {
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;}
.special-elite-regular {
  font-family: "Special Elite", system-ui;
  font-weight: 400;
  font-style: normal;}

/* 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: var(--inkBlack);
  background-image: url("/images/backgrounds/starryBgSmall.gif");
	background-position: top;
  font-size: 18px;
  font-family: "DotGothic16", sans-serif;
  margin: 0;
}

p {
  font-family: "Special Elite", system-ui;
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

hr {
  border: solid var(--coffeeBean);
  border-width: 2px 0 0 0;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.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;
}

.imageGrid {
  display: grid;
  grid-template-columns: auto auto auto;
  background-color: var(--espresso);
  padding: 10px;
  border-radius: 10px;
  margin: 10px auto;
  }
  
.imageGrid img {
  width: 90%;
  justify-self: center;
  border: ridge 5px;
  border-color: var(--coffeeBean);
  border-radius: 10px;
  }
  
@media screen and (max-width: 500px) {
  .imageGrid {
    grid-template-columns: auto;
    }
  }

a {
  color: var(--strawberryRed);
}

a:hover { 
  background-color: rgba(42, 19, 17, 0.8);
  border-radius: 5px;
}

h1, h2, h3, h4, h5 {
  font-family:  "DotGothic16", sans-serif;
  color: var(--coffeeBean);
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 900px;
	background-color: var(--chestnut);
  color: var(--inkBlack); 
  outline-color: var(--mutedTeal);
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0;
  border-radius: 10px;
}

#content {
  padding: 10px 5% 20px 5%;
}


/*HEADER STYLE*/
#header {
  background-color: var(--coffeeBean);
  padding: 0 5%;
  border-color: var(--mutedTeal);
  border-style: ridge;
  border-width: 0 0 4px 0;
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
#header li a {
  color: var(--frozenWater);
  text-decoration: none;
  background-color: inherit;
}
#header li a:hover {
  text-decoration: underline;
}

/*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%;
}

#footer a {
  color: var(--mutedTeal);
  }
