* {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
}

@font-face{
	font-family: 'haiku-regular';
	src: url('../fonts/haiku-regular.ttf') format('truetype');
}

@font-face{
	font-family: 'haiku-bold';
	src: url('../fonts/haiku-bold.ttf') format('truetype');
}

body {
	font-family: 'Merriweather', serif;
}

/*   Header/Navigation   */
.logo {
	float: left;
	padding-right: 50px;
}

h1 {
	font-family: 'haiku-bold';
	font-size: 72px;
	background-color: #f9f8f4;
	color: #55773a;
	padding: 18px;
}

nav {
	width: 100%;
	border-top: 4px solid #7e6336;
	border-bottom: 4px solid #7e6336;
	overflow: auto;
}

nav ul li {
	display: inline;
}

nav a {
	float: left;
	text-decoration: none;
	color: black;
	font-weight: bold;
	width: 25%;
	text-align: center;
	padding: 18px 0px;
}

.fade {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  overflow: hidden;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: color, background-color;
  transition-property: color, background-color;
}

.fade:hover {
  background-color: #9fb395;
  color: white;
}

.fade:active {
  background-color: #55773a;
  color: white;
}

.active {
	background-color: #2d241b;
	color: white;
}

header {
	text-align: center;
	background: white;
}

/*   Contact Page/Tractor Animation   */
.tractor {
	position: absolute;
	top: 160px;
	left: 0px;
	animation: drive 30s forwards linear;
}

/*   Main/Welcome Section   */
main {
	background-image: url("../graphics/tree-sketch.jpg");
	background-size: cover;
	background-repeat: no-repeat;
}

.profile-pic {
	float: right;
	padding-left: 20px;
	padding-bottom: 20px;
}

h2 {
	font-family: 'haiku-bold';
	font-size: 48px;
	color: #2d241b;
	text-align: center;
}

.welcome {
	position: relative;
	top: 20px;
	background-color: rgba(255, 255, 255, 0.7);
	margin: auto;
	width: 50%;
	padding: 20px;
	margin-bottom: 40px;
}

/*   Home Page - Farm/House Section   */
.row {
	position: relative;
	width: 1200px;
	padding: 20px;
	margin: auto;
}

.column {
	float: left;
	width: 540px;
	height: 840px;
	background-color: rgba(255, 255, 255, 0.7);
	padding: 20px;
	margin: 0 20px;
}

h3 {
	font-family: 'haiku-bold';
	font-size: 42px;
	position: relative;
	top: -130px;
	background-color: rgba(45, 36, 27, 0.75);
	color: white;
	text-align: center;
	padding: 18px;
	width: 500px;
}

.column p:nth-last-child(2) {
	position: relative;
	top: -120px;
}

.column p:last-child {
	position: relative;
	top: -120px;
	text-align: right;
}

.row:after {
	content: "";
	display: table;
	clear: both;
}

/*   Home Life - Article   */
.house-row {
	position: relative;
	width: 100%;
	padding: 20px;
}

.feature {
	float: left;
	top: 20px;
	background-color: rgba(255, 255, 255, 0.7);
	margin: 0 20px;
	width: 66%;
	padding: 40px;
}

.feature p {
	padding-bottom: 10px;
}

.headline {
	font-family: 'haiku-bold';
	font-size: 48px;
	position: relative;
	top: 0px;
	background-color: white;
	color: #2d241b;
	text-align: left;
	padding: 10px;
	width: 100%;
	margin-bottom: 15px;
}

figure {
	float: right;
	margin-left: 20px;
}

figcaption {
	color: #55773a;
	margin-bottom: 15px;
}

/*   House Slider   */
.house-slider {
	max-width: 550px;
	height: 300px;
	margin: 100px auto;
}

/*   Contact Form   */
.container {
	position: relative;
	top: 20px;
	background-color: rgba(255, 255, 255, 0.7);
	margin: auto;
	width: 900px;
	padding: 20px;
}

/*   Sidebar   */
.sidebar {
	float: right;
	top: 20px;
	left: 920px;
	background-color: rgba(255, 255, 255, 0.7);
	width: 30%;
	padding: 20px;
}

.house-row:after {
	content: "";
	display: table;
	clear: both;
}

h4 {
	font-family: 'haiku-bold';
	font-size: 36px;
	text-align: center;
	margin-bottom: 20px;
}

.flip-card {
	width: 100%;
	position: relative;
	display: inline-block;
	vertical-align: text-top;
	margin-bottom: 15px;
}

.flip-card img {
	width: 100%;
}

.overlay-text {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 99%;
	width: 100%;
	background: #333;
	opacity: 0;
	transition: .5s;
}

.flip-card:hover .overlay-text {
	opacity: .8;
	transition: .5s;
}

.text {
	color: white;
	position: absolute;
	top: 50%;
	left: 37%;
	transform: translate(-30%, -50%);
}

/*   Lightbox Gallery   */
.individual-gallery-image {
  max-width: 300px;
  max-height: 200px;
  margin: 20px;
}

/*   Form   */
label:first-letter {
	font-family: 'haiku-bold';
	font-size: 30px;
}

.label_input_wrap {
	display: block;
	padding: 5px;
}

.multiple-response {
	font-family: Merriweather;
	font-size: 14px;
	font-weight: normal;
	color: black;
}

.contact-form {
	padding: 30px 60px;
	text-align: left;
}

.submit input {
	background: linear-gradient(#55773a, #2d241b);
	color: white;
	padding: 10px 20px;
	margin: 30px 0px;
	border-radius: 4px;
	width: 150px;
}

.submit {
	display: block;
	text-align: center;
}

.submit input:hover {
	background: #d6c294;
}

.submit input:active {
	background: #7e6336;
}

.input-section {
	margin-bottom: 10px;
}

.input-section p:first-letter {
	font-family: 'haiku-bold';
	font-size: 30px;
}

input {
	width: 600px;
	padding: 5px 10px;
	border: .5px solid #2d241b;
	border-radius: 4px;
}

.checkbox.input-section input {
	width: 50px;
}

textarea {
	font-family:sans-serif;
	width: 600px;
	padding: 10px 10px;
	border: .5px solid #2d241b;
	border-radius: 4px;
}

select {
	width: 150px;
	padding: 5px;
	border: .5px solid #2d241b;
	border-radius: 4px;
}

.video {
	position: relative;
	text-align: center;
}

.field {
	bottom: 100px;
	height: 500px;
}

/*   Footer   */
footer {
	border-top: 4px solid #7e6336;
	padding: 20px 0;
	background-color: #f9f8f4;
	font-size: 12px;
	height: 90px;
}

.mail {
	max-width: 330px;
}

.mail img {
	float: left;
	margin: 0 20px;
}

.copyright {
	position: relative;
	top: -45px;
	text-align: right;
	margin-right: 20px;
}

/*   Animation   */
@keyframes drive {
		from {
			transform: translateX(310px);
		}
		to {
			transform: translateX(1300px);
		}
}