body {
  background-color: #212c34;
  background-image: 
		linear-gradient(to bottom, #1f193488, #21254388), 
		url('/images/bg_diamond.png');
	background-attachment: scroll;
	background-position: top;
  font-size: 18px;
  font-family: "Inter Display", "Inter", sans-serif;
  margin: 0;
	height: 100%;
}

html {
	min-height: 100%;
}

p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

hr {
  border: solid #ff003b;
  border-width: 2px 0 0 0;
}

code {
	font-family: "JetBrains Mono", "Consolas", monospace;
	padding: 4px;
	color: #fefeee;
	background-color: #202b33;
	border-radius: 4px;
}

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;
}

a:hover { 
  background-color: #cfcfbf;
}

h1, h2, h3, h4, h5 {
  font-family: "Inter Display", "Inter", sans-serif;
  color: #ff003b;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 700px;
	background-color: #ffffef;
  color: #000004; 
  /* outline-color: #4c575f;
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0; */

	border-image-source: url("/images/border.webp");
	border-image-width: 40px;
	border-image-outset: 40px;
	border-image-repeat: stretch;
	border-image-slice: 25%;
	height: 100%;
	box-shadow: 0px 0px 40px inset rgba(0, 0, 0, 0.4);
}

#content {
  padding: 10px 5% 20px 5%;
}

/* CSS for the bio and socials in the landing page */
#bio {
	display: flex;
	background-color: #212c34;
}

.bio-column {
	flex: 50%;
	margin: 10px;
	padding: 10px 5% 10px 5%;
	outline-color: #00ccff;
	outline-width: 2px;
	outline-style: solid;
	outline-offset: 0;
	color: #ffffef;
	text-shadow: 0px 0px 10px #00ccff;
}

.bio-column a {
	color: #ffffef;
}


/*HEADER STYLE*/
#header {
  background-color: #009ccf;
  padding: 0 5%;
  border-color: #4c575f;
  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: #ffffef;
  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%;
}
