/* 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: #ffffff; */
  /* background-image: url('../images/background.png'); */
  /* background-repeat: no-repeat; */
  /* background-size: 100%;
	background-position: top; */
  animation: fadeBackgroundColourBody 3s;
  animation-fill-mode: backwards;
  font-size: 18px;
  font-family: "Open Sans", sans-serif;
  margin: 0;
  min-width: 370px;
}

@keyframes fadeBackgroundColourBody {
  from { background-color: #fff0; }
  to { background-color: #ffffff; }
}

hr {
  border: 1px solid #111225;
  /* margin: 0 4em; */
}

p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

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: #ffe6c9;
}

h1, h2, h3, h4, h5 {
  color: #34436f;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 1024px;
}

#content {
  padding: 10px 4em 20px 4em;
  margin: 1em 0;
  border-radius: 10px;
  color: #151515; 
}

h2.inline, h3.inline, p.inline {
  display: inline;
}

blockquote {
  font-style: italic;
  padding-left: 1em;
  border-left: 1px solid #111225;
  margin-left: 1em;
  margin-right: 2em;
}

@media only screen and (max-width: 600px) {
  #container {
    width: 100%;
  }
  #content {
    padding: 10px 1em 20px 1em;
    border-radius: 0;
  }
}

/*INDEX STYLE*/
div.entries {
list-style-type: none;
padding-bottom: 2em;
border-bottom: 1px #3e4285 solid;
margin-bottom: 2em;
}

div.entries h1 a {
  text-decoration: none;
  color: #3e4285;
}

.PageNavigation {
  margin-top: 3em;
  display: block;
  width: auto;
  overflow: hidden;
}

.PageNavigation a {
  display: block;
  float: left;
  width: 50%;
}

.PageNavigation .next {
  text-align: right;
}


/*HEADER STYLE*/
#header {
  background-color: #111225;
  padding: 1% 5%;
  border-radius: 10px;
  font-weight: bold;
}
#header h1 {
  color: white;
  font-size: 5em;
}
#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;
}

@media only screen and (max-width: 600px) {
  #header {
    border-radius: 0;
    padding: 1% 5%;
  }
}

/*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;
}

/*SOLO GAME STYLES*/
div.sologame {
  margin: 2em 0;
}

@media only screen and (max-width: 524px) {
  div.sologame p.right {
    float: none;
    text-align: center;
  }
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}


/*FOOTER STYLE*/
footer {
  font-size: 0.8em;
  padding: 2em 5% 2em 5%;
  background-color: #f6f6fa;
  margin: 0;
  border-radius: 10px;
  clear: both;
}

footer .no-ai img {
  width: 3.8em;
}

footer .no-ai img:hover {
  width: 4em;
}

footer .no-ai a:hover {
  background: none;
}

footer img#rss {
  width: 1em;
}

footer a img#githubfooter {
  width: 1em;
}

@media only screen and (max-width: 600px) {
  footer {
    border-radius: 0;
  }
}