/* 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: #436a7b;
  background-image: url('../images/bg.jpg');
	background-position: center no-repeat;
	background-size: cover;
  font-size: 18px;
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
}

p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

hr {
  border: solid #c7b591;
  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;
}


a:hover {   
  text-shadow: 
    0 0 5px #F7F5F6,
    0 0 10px #F7F5F6,
    0 0 20px #F7F5F6,
    0 0 40px #F7F5F6;
    
  background: linear-gradient(to right, red, orange, yellow, green, blue, violet, red);
  background-size: 400% 100%;
  
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  
  animation: shift-rainbow 8s linear infinite;
  
}

h1, h2, h3, h4, h5 {
  font-family: Tahoma, Geneva, sans-serif;
  color: #34436f;
  text-align: center;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 700px;
	background-color: #000000;
  color: #ffffff; 
  outline-color: #a9a9a9;
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0;
}

#content {
  padding: 10px 5% 20px 5%;
}

#footer {
 background-color: white;
 color: black;
}


/*HEADER STYLE*/
#header {
  background-color: #000000;
  padding: 0 5%;
  margin-top: 30%;
  text-align: center;
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
}
#header li {
  font-size: 1.2em;
  display: block;
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
#header li a {
  color: white;
  text-decoration: none;
  background-color: inherit;
  transition: text-shadow 0.3s ease, color 0.3s ease; 
}
#header li a:hover {
  text-shadow: 
    0 0 5px #F7F5F6,
    0 0 10px #F7F5F6,
    0 0 20px #F7F5F6,
    0 0 40px #F7F5F6;
    
  background: linear-gradient(to right, red, orange, yellow, green, blue, violet, red);
  background-size: 400% 100%;
  
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  
  animation: shift-rainbow 8s linear infinite;
}

@keyframes shift-rainbow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}
.carousel-inner > .item > img,
  .carousel-inner > .item > a > img {
    width: 70%;
    margin: auto;
  }

/*POST LIST STYLE*/
#postlistdiv ul {

  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {

  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%;
}