/* 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." */

/* Commit Mono Regular */
@font-face {
  font-family: "Commit Mono";
  src: url(fonts/CommitMono-Web-v1-400-Regular.otf);
  font-weight: normal;
  font-style: normal;
}

/* Commit Mono Italic */
@font-face {
  font-family: "Commit Mono";
  src: url(fonts/CommitMono-Web-v1-400-Italic.otf);
  font-weight: normal;
  font-style: italic;
}

/* Commit Mono Bold */
@font-face {
  font-family: "Commit Mono";
  src: url(fonts/CommitMono-Web-v1-700-Regular.otf);
  font-weight: bold;
  font-style: normal;
}

/* Commit Mono Bold Italic */
@font-face {
  font-family: "Commit Mono";
  src: url(fonts/CommitMono-Web-v1-700-Italic.otf);
  font-weight: bold;
  font-style: italic;
}

/* Caveat Brush Normal */
@font-face {
    font-family: "Caveat Brush";
    src: url(fonts/CaveatBrush-Regular.ttf);
    font-weight: normal;
    font-style: normal;
}

html {
  min-height:100%;
  background-repeat: no-repeat;
  background-color: rgb(29, 33, 71); /* For browsers that do not support gradients */
  background-image: radial-gradient(farthest-corner at 50% 100%, rgb(0, 0, 82), rgb(3, 0, 19));
}

body {
  background-position: top;
  font-size: 20px;
  font-family: "Commit Mono", Georgia, "Times New Roman";
  line-height: 1.6em;
  margin: 0;
}

p {
  line-height: 1.5em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

hr {
  border: solid #5eb5ba;
}

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:link {
    color: rgb(0, 158, 92);
}

a:visited {
    color: rgb(28, 109, 59);
}

a:hover { 
  background-color: #3173a8;
  color: rgb(0, 0, 0);
}

h1, h2, h3, h4, h5 {
  font-family: "Caveat Brush", Geneva, sans-serif;
  color: #53a0db;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem
}

h3 {
  font-size: 1.5rem
}

h4 {
  font-size: 1.25rem
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
  max-width: 900px;
  background-color: rgba(0, 0, 0, 0.5);
  color: rgb(255, 255, 255);
  outline-color: #a9a9a9;
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0;
}

#content {
  padding: 10px 5% 20px 5%;
}


/*HEADER STYLE*/
#header {
  background-color: #384879;
  padding: 0 5%;
  border-color: #a9a9a9;
  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: white;
  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%;
  text-align: center;
}

#centered_image {
margin-left: auto;
margin-right: auto;
width: 50%;
}

#wb_container {
  padding: 5px;
  display: inline-block;
}

#webbadge {
  height: auto;
  margin: 0;
  vertical-align: top;
}
