/* 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 {
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  background-color: #e5e5f7;
  background-color: #e5e5f7;
  background-image:  linear-gradient(rgb(239, 245, 218) 1px, transparent 1px), linear-gradient(to right,rgb(239, 245, 218) 1px, rgb(248, 255, 226) 1px);
  background-size: 20px 20px;
  
}

p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
  text-align: justify;
}

iframe {
  width: 100%;
}

hr {
  border: solid rgb(131, 132, 209);
  border-width: 1px 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;
}

a:hover { 
  background-color: #ff00bb;
  color: white;
}

h1, h2, h3, h4, h5 {
  font-family: Arial, Helvetica, sans-serif;
  color: #4446e3;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 500px;
	background-color: #ffffff;
  color: #151515; 
  border: 1px solid rgb(131, 132, 209);
  border-top: 0px;
  outline-offset: 0;
  border-radius: 30px 30px 0px 0px;
}

#content {
  padding: 10px 5% 20px 5%;
}


/*HEADER STYLE*/
#header {
  background: linear-gradient(rgb(174, 174, 218), rgb(194, 200, 219),rgb(68, 70, 227));
  padding: 0 5%;
  border-radius: 30px;
  box-shadow: 0 12px 20px -10px rgba(42, 44, 2, 0.25);
  border-top: 1px solid rgb(131, 132, 209);
}
#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 {
  color: #4446e3;
}

/*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%;
}