/* 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: white ;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left:0px;
  background-image: url('../images/smiley wallpaper.jpg'); /* pk faut faire '../' pr mettre l'image?*/
	background-position: top;
	background-repeat: no-repeat;
  height: 100vh; /* set viewport constraint // MERCI STACKFLOW HAHAHAHAHAHAHA */
  min-height: 100%; /* enforce height */
	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 { 
  background-color: #fff6e6;
}

h1, h2, h3, h4, h5 {
  font-family: Tahoma, Geneva, sans-serif;
  color: #34436f;
}



#banner {
  margin: 10px;
  margin-top: 15px;
  width:100%;
  max-width: 1515px;
  background-color: #f1e3c9;
  height: 150px;
  background-image: url('../images/rainbow landscape.jpg');
  background-repeat: no-repeat;
  background-size: 1515px 150px;
  
}

#title{
  margin-top: 20px;
  height: 150px;
  background-image: url('../images/PIWIXED RED FONT.png');
  background-repeat: no-repeat;
  background-position: center;
}

#sidebar{
  background-color: #f1e3c9;
  float:right;
  margin-top:50px;
  margin-right: 100px;
  background-image:url("../images/brainz bg.png");
  
  width: 390px;
	height: 1000px;
}
  
#stickynote{
  
  background-image: url("../images/sticky note.png");
  background-size: 400px 400px;
  background-position: center;
  width: 350px;
	height: 350px;
  margin: 2em auto;
 
}

#updatelog{
  font-family: schoolbell;
  width: 200px;
	height: 200px;
	margin: 2em auto;
	position: relative;
	top:70px;
	overflow-y:scroll;
	font-size:15px;;
}

#mainbarbg{
  float:left;
  background-color:white;
  height:950px;
  width:930px;
  margin-top: 50px;
  margin-left: 100px;
  
}

#mainbar{
  float:left;
  background-image: url("../images/intestine bg.jpg");
  height:1000px;
  width:930px;
  background-repeat: no-repeat;
  background-size: 1000px 950px;
  opacity: 0.80;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/

#container {
  float: none;
  margin: 4em auto;
  margin-bottom:0px;
  width: 90%;
	max-width: 700px;
	background-color: #f1e3c9;
  color: #151515; 
  outline-color: #a9a9a9;
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0;
}

#content {
  
  padding: 10px 5% 20px 5%;
}


/*HEADER STYLE*/
#header {
  background-color: #384879;
  padding: 0 5%;
  border-color: #a9a9a9;
  border-style: ridge;
  border-width: 0 0 4px 0;
  
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
}
#header li {
  display: inline-block;
  font-size: 1.2em;
  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;
}

/*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 {
  
  padding: 0 5% 10px 5%;
}