/* 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." */
:root {
  /* fonts */
  --bodyfont: Tahoma, Arial, sans-serif;
  --headerfont: "Century Gothic", Futura, sans-serif;
  
  /* colors */
  --bgc: #6A8E75;
  --bodyc: #FDF8ED;
  --accent: #BA788D;
  --textc1: #1F2936;
  --textc2: #435875;
}

body {
  background-color: var(--bgc);
  background-image: url(/images/carno1.png);
  background-size: 57%;
  background-position: top right;
  background-attachment: fixed;
  background-repeat: no-repeat;
  font: 1em var(--bodyfont);
  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 var(--accent);
  border-width: 3px 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;
  }
}

@media only screen and (max-width: 600px) {
  body {
    background-image: url(/images/carno2.png);
    background-size: 60%;
    background-position: center;
    background-repeat: repeat;
  }
}


.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

a {
  color: var(--bgc);
}  

a:hover { 
  color: var(--textc1);
}

h1, h2, h3, h4, h5 {
  font: var(--headerfont);
  color: var(--textc1);
}

h1 {
  font-size: 2em;
  font-weight: 800;
  margin-bottom: 5px;
}

h1::first-letter {
  color: var(--accent);
}

h2 {
  font-size: 1.3em;
  font-weight: 600;
}

h3 {
  font-size: 1.1em;
  font-weight: 400;
}

h4 {
  background-color: var(--accent);
  color: var(--bodyc);
  display: inline-block;
  margin: 1em 0 0 0;
}


/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 1200px;
	background-color: var(--bodyc);
  color: var(--textc2); 
}

#content {
  padding: 10px 5% 20px 5%;
}


/*HEADER STYLE*/
#header {
  background-color: var(--bodyc);
  padding: 0 5%;
  border-color: var(--accent);
  border-style: solid;
  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;
  font: var(--headerfont);
}
#header li a {
  text-decoration: none;
  background-color: inherit;
}
#header li a:hover {
  text-decoration: underline;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1em;
  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%;
}