:root {
    --border-color:#2a6738;
    --textcolor-one:#f0ffc4;
    --textcolor-two:#ffffff;
    --link-color:#10200b;
}


body {
  background: #234647;
  background: url('files/ditheredleaves.png');
  background-position:center;
	background-size: cover;
	
  font-family: "Candara", "Open Sans", sans-serif;
  font-size:16px;
  color: var(--textcolor-two);
}
  
a {
    color: var(--link-color);
}
  
.tiny {
  font-size: 9px;
  margin: 0 auto;
  text-align: center;
}
  
/*Everything in the article box goes in this*/
main {
  width: 750px;
  border: 3px solid var(--border-color);
  margin: 0 auto;
  top: 0px;
  }
  
header {
  background: black;
  height: 300px;
  border-bottom: 3px solid var(--border-color);
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(rgb(0,0,0,0.7),rgb(0,0,0,0.7)), url("/img/pond.gif"); /*Header image -- replace with your own!*/
  background-size:cover;
  }
  
/*This and the header-title class are deprecated now that this style uses a background image for the header div.*/
/*header img {
  display: block;
  opacity: 0.35;
  width: 100%;
  height: 100%;
  overflow: hidden;
  }
*/

 /*If you want to use a smaller title or normal text, add header p or header h4 or whatever to the list*/
header h2, header h3, header h1 {
  font-weight: bold;
  color: white;
  text-align: center;
  border: 0px solid green;
  margin: 18% auto; /*approx centered*/
  opacity: 0.999999;
}

nav {
  background: var(--border-color);
  padding: 10px;
  border-bottom: 3px solid var(--border-color);
}
  
nav a {
  color: white;
  padding: 3px;
  margin-left: 5px;
  margin-right:5px;
  text-decoration: none;
  font-size:17px;
  
  border-radius: 3px;
  
  background: url('files/ditheredleaves.png');
}

nav a:hover{
  color: white;
  padding: 3px;
  margin-left: 5px;
  margin-right:5px;
  text-decoration: none;
  font-size:17px;
  
  background: #87af69;
}

article {
  padding: 50px;
  margin: 0 auto;
  background:#87af69eb;
  
  height: auto;
  }
  
/*Prevent overflow of large images in article text areas.*/
article img {
  max-width: 100%;
  height: auto;
  }
  
footer {
  background: var(--border-color);
  padding: 20px;
  padding-top:5px;
  padding-bottom:5px;
  border-top: 3px solid var(--border-color);
  font-size:14px;
  }
  
  
/*For narrow screens*/
@media(max-width: 790px) {
  main {
    width: 95%;
    }
  header h1, header h2, header h3 { /*Vertical centering gets wonky when the box is variable width*/
    margin: 20% 5% auto;
    }
  }  

/*Mobile compatibility*/
@media(orientation: portrait) {
  main {
    width: 95%;}
  header {
    height:230px;
    }
  header h1, header h2, header h3 {
    margin: 20% 3% auto;
    }
  }