/* 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: externalFont;
    src: url(../fonts/dead-elder-metal-font/DeadeldermetalRegular-1Gx3v.woff);
   }

   body {
    background-image: url('../images/website_background1.jpg');
    background-repeat: repeat-y;
    font-size: 18px;
    font-family: Helvetica;
    margin: 0;
  }
  
    .sidenav {
      position: fixed;
      z-index: 1;
      overflow-x: hidden;
      padding: 0px 0px;
      /*margin: 4em auto;*/
      top: 3em;
      left: 3em;
      width: 100%;
      max-width: 250px;
      background-color: #e1c5f4;
      color: #151515; 
      outline-color: #b771e5;
      outline-style: ridge;
      outline-width: 4px;
      outline-offset: 0;
    }
    
    .sidenav a {
      padding: 6px 8px 6px 16px;
      text-decoration: none;
      font-size: 20px;
      color: black;
      display: block;
    }
    
    .sidenav a:hover {
      color: #f547a5;
    }
  
    /* Icon in sidebar */
    .icon img {
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
  
    /* Title in sidebar */
    .title{
      font-family: externalFont;
      text-align: center;
    }
  
  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;
    /* border: 5px solid #b771e5; */
  }
  
  .right {
    float: right;
    margin-left: 1em;
  }
  .left {
    float: left;
    margin-right: 1em;
    
  }
  .center {
    display: block;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
  
  
  div.content {
    margin-left: 200px;
    padding: 1px 16px;
    height: 1000px;
  }
  
  @media screen and (max-width: 768px) {
    .sidenav {
      display: none;
      /*width: 100%;*/
      /*height: auto;*/
      /*position: relative;*/
    }
    
    /*.sidenav a {*/
    /*  float: left; */
    /*  }*/
      
    /*div.content {*/
    /*  margin-left: 0;*/
    /*  }*/
      
  }
  
  .caption {
    margin-top: 0;
    font-size: 0.9em;
    font-style: italic;
  }
  
  a:hover { 
    background-color: #fff6e6;
  }
  
  h1 {
    font-family: externalFont;
    font-size: 550%;
    text-align: center;
  } 
  
  h2, h3, h4, h5 {
    font-family: Helvetica
    color: #000000;
  }
  
  /*#CONTAINER is the rectangle that contains everything but the background!*/
  #container {
    margin: 3em auto;
    width: 90%;
    max-width: 700px;
    background-color: #fa9dde;
    color: #151515; 
    outline-color: #ff00b0;
    outline-style: ridge;
    outline-width: 4px;
    outline-offset: 0;
  }
  
  #content {
    padding: 10px 5% 20px 5%;
  }
  
  
  /*HEADER STYLE*/
  #header {
    background-color: #ff00b0;
    padding: 0 5%;
    border-color: #ff00b0;
    border-style: ridge;
    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;
  }
  #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 {
    font-size: 0.8em;
    padding: 0 5% 10px 5%;
  }