/* 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." */


  
@font-face {
font-family: "CompagnonRoman";
src: url("../style/Compagnon-Roman.woff2") format("woff2");      
}


@font-face {
font-family: "CompagnonBold";
src: url("../style/Compagnon-Bold.woff2") format("woff2");          
}

@font-face {
font-family: "CompagnonItalic";
src: url("../style/Compagnon-Italics.woff2") format("woff2");            
}

@font-face {
font-family: "CompagnonLight";
src: url("../style/Compagnon-Light.woff2") format("woff2");            
}

@font-face {
font-family: "CompagnonMedium";
src: url("../style/Compagnon-Medium.woff2") format("woff2");            
} 


body {
  background-color: #FFC259;
  background-image: url('../images/background_plants.png');
	background-position: top;
	background-attachment: fixed;
  font-size: 18px;
  font-family: "CompagnonRoman", serif;
  margin: 0;
}

p {
  line-height: 1.4em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}
#content li {
  line-height: 1.em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

/*This makes images shrink when their container becomes too small (responsive design)*/
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: 1em;
  font-style: italic;
}

a:hover { 
  font-weight:bold;
  /*background-color: #bdd7d2;*/
}

/*header in content */
h1, h2, h3, h4, h5 {
  font-family: CompagnonBold;
  color: #ffa71a ;
}
/* unvisited link */
a:link {
  color: #2d75bb;
}

/* visited link */
a:visited {
  color: #1B0699;
}

code, textarea {
  font-family: ui-monospace, SF Mono, Menlo, Monaco, Andale Mono, monospace;
  font-size: 1em;
  opacity: .7;
}

a code {
  opacity: 1;
}

pre, textarea { /* for code samples */
  font-size: .9em;
  color: inherit;
  line-height: inherit;
  padding: .6em .9em;
  margin: .8em 0 1em 0;
  position: relative;
  display: block;
  width: 100%;
  white-space: pre-wrap; /* Changed from pre to pre-wrap */
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 100, .075);
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .2), inset -1px -1px 0 rgba(0, 0, 0, .04);
}



/*#CONTAINER is the rectangle that has contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 700px;
	background-color: white;
  color: black; 
  outline-color: #FFC259;
  outline-style: dotted;
  outline-width: 4px;
  outline-offset: -2px;
}


@media all and (max-width: 400px) {
  #container {
      margin: 5em auto;
      width: 100%;
      outline-width: 1px;
   }

}

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


/*HEADER STYLE*/
#header {
  background-color: #FFC259;
  outline-color: #FFC259;
  outline-style: dotted;
  outline-width: 4px;
  outline-offset: -2px;
  padding: 0 5%;
}
#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;
}


/* Dropdown */
/* Dropdown Button */
.dropbtn {
  color: white;
  text-decoration: none;
  background-color: inherit;
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #FFC259;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #f5abb9; /* Darker blue */
}




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