/* start reset */
/* From https://github.com/vladocar/CSS-Mini-Reset */

img { border: 0; }

/* end reset */



/* begin mobile */

/* Display Overlay with title and excerpt on hover below the image for all screen-sizes 959px wide and under */
@media only screen and (max-width: 959px) {
	.overlay-title-excerpt-hover {
		display: block;
		visibility: visible;
		opacity: 1;
		position: static;
		top: auto;
		left: auto;
	}
	.overlay-title-excerpt-hover .overlay-table-cell,
	.overlay-title-excerpt-hover .overlay-table-cell:hover {
		padding: 20px 0 0;
		transform: scale( 1 );
		text-decoration: none;
	}
}
/* Container holding the image and the text */
.container {
  position: relative;
  float: center;
  color: white;
}
/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Roboto Slab', serif;
  font-size: 1.4vw;
}
img {
    text-align: center;
    margin-top: 10px;
    padding-top: 0px;
    margin-right: 300px;
}
header {
	margin-top: -50px;
}
.container a {
	font-family: 'Roboto Slab', serif;
	font-size: 2.4vw;
	color: white;
	display: inline;
	outline: 1px solid white;
	cursor: grab;
	padding: 3px;
	text-decoration: none;
	font-weight: bold;
}
div.centered {
    font-size: 2.2vw;
    margin-top: -48px;
    font-weight: bold;
}
p {
    font-size: 30px;
	font-family: 'Roboto Slab', serif;
	color: #736357;
	margin-top: -100px;
}
h1 {
    font-size: 40px;
	text-align: left;
	font-family: 'Roboto Slab', serif;
	color: black;
	margin-top: 20px;
}
h2 {
    font-size: 20px;
	font-family: 'Roboto Slab', serif;
	color: black;
	text-align: left;
	padding-bottom: 10px;
	margin-top: -25px;
}
.header {
    margin-top: -40px;
}
body {
	font-family: 'Roboto Slab', serif; 
	background-size: cover;
	margin: 3%;
	background-attachment: fixed;
	overflow: scroll;
}
#hnav {
	padding-top: 10px;
	padding-bottom: 10px;
	margin-top: -70px;
}
#hnav.menu {
    padding-left: 0;
}
#hnav li {
	list-style: none;
	padding: 0;
	text-align: center;
	line-height: 1px;
	display: inline;
}
#hnav a {
    color: #2c2207;
	font-family: 'Roboto Slab', serif;
	font-size: 20px;
	text-align: right;
	text-decoration: none;
	display: block;
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    padding: 8px;
    margin-bottom: 20px;
    margin-right: 40px;
}
#hnav a:hover {
    color: #736357;
    border-bottom: 3px solid #736357;
}
#hnav a:active {
    color: #736357;
    border-bottom: 3px solid #736357;
}
#content, #footer {
	min-width: 0;
	padding: 10px 10px;
	color: #2c2207;
}
#content a {
    font-family: 'Roboto Slab', serif;
	font-size: 10px;
	color: black;
	line-height: 20px;
	display: block;
	outline: 1px solid #2c2207;
	cursor: grab;
	padding: 10px;
	text-decoration: none;
}
#content a:hover {
    color: #736357; 
}
#content p { 
	padding: 5px 5px 5px 5px; 
} 
#footer {
	font-size: .8em;
	color: #2c2207;
	text-align: center;
}
#contact {
    display: none;
}
.container {
    position: relative;
    width: 100%;
}
.image {
    display: block;
    width: 30%;
    height: auto;
    margin-left: 230px;
}
.text {
    color: #736357;
    font-size: 20px;
    position: absolute;
    top: 30%;
    left: 50%;
    text-align: center;
    opacity: 1;
}
hr {
    width: 50%;
    margin-left: 0px;
}

/* end mobile */



/* begin desktop */

@media (min-width: 650px) { /* start 500px media query */

/* Container holding the image and the text */
.container {
  position: relative;
  float: center;
  color: white;
}
/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Roboto Slab', serif;
  font-size: 1.4vw;
}
img {
    text-align: center;
    margin-top: 20px;
}
header {
	margin-top: -50px;
}
.container a {
	font-family: 'Roboto Slab', serif;
	font-size: 1.4vw;
	color: white;
	display: inline;
	outline: 1px solid white;
	cursor: grab;
	padding: 10px;
	text-decoration: none;
}
div.centered {
    font-size: 1.4vw;
    margin-top: -220px;
}
p {
    font-size: 40px;
	font-family: 'Roboto Slab', serif;
	color: #736357;
	margin-right: -200px;
	margin-top: 70px;
}
h1 {
    font-size: 40px;
	text-align: left;
	font-family: 'Roboto Slab', serif;
	color: #2c2207;
	margin-top: 80px;
}
h2 {
    font-size: 30px;
	font-family: 'Roboto Slab', serif;
	color: #2c2207;
	text-align: left;
	padding-bottom: 10px;
	margin-top: 10px;
}
.header {
    margin-top: -40px;
}
#hnav {
	padding-top: 10px;
	padding-bottom: 10px;
	margin-top: -100px;
}
#hnav li {
	list-style: none;
	padding: 0;
	text-align: center;
	font-size: 24px;
	word-spacing: 1px;
	display: inline;
}
#hnav a {
    color: #2c2207;
	font-family: 'Roboto Slab', serif;
	font-size: 25px;
	text-align: center;
	text-decoration: none;
	display: inline;
	padding: 10px;
    margin-right: 30px;
}
#hnav a:hover {
    color: #736357;
    border-bottom: 3px solid #736357;
}
#hnav a:active {
    color: #736357;
    border-bottom: 3px solid #736357;
}
#content {  
	padding: 18px 18px 18px 18px;
	min-width: 600px;
}
#content a {
    font-family: 'Roboto Slab', serif;
	font-size: 30px;
	color: #2c2207;
	display: inline;
	outline: 1px solid #2c2207;
	cursor: grab;
	padding: 10px;
	text-decoration: none;
}
#content a:hover {
    color: #736357; 
}
#footer {  
	padding: 5px 18px;
	min-width: 600px;
	text-align: center;
	font-family: 'Roboto Slab', serif;
}
.container {
    position: relative;
    width: 100%;
}
.image {
    display: block;
    width: 50%;
    height: auto;
    padding-left: 500px;
    margin-left: -5px;
}
.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 25%;
    right: 0;
    height: 100%;
    width: 50%;
    opacity: .5;
    transition: .5s ease;
    background-color: #9c8a7c;
}
.container:hover .overlay {
    opacity: 1;
}
.text {
    color: #736357;
    font-size: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    margin-top: -200px;
}
hr {
    width: 20%;
    margin-left: 0px;
}

/* close 500px media query */


/* end desktop */