@import url('https://fonts.googleapis.com/css?family=Great+Vibes|Open+Sans|PT+Serif&display=swap');
/* CSS Document */

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

:root {
	--secondary-font: 'PT Serif', serif;
	--body-font: 'Open Sans', sans-serif;
	--main-font-color-dark: #252525;
	--body-font-color: #515151;
	--nav-main-color: #5A7324;
}

html {
	font-family: var(--body-font);
	font-size: 10px;
	color: var(--body-font-color);
	scroll-behavior: smooth;
}
body {
	width: 100%;
	height: 100vh;
	background-color: #fefefe;
}
section {
	padding: 3.9rem 0;
	overflow: hidden;
}

img {
	width: 100%;
	max-width: 100%;
}

a {
	text-decoration: none;
}

p {
	font-size: 1.6rem;
}

.container {
	width: 100%;
	max-width: 122.5rem;
	margin: 0 auto;
	padding: 0 2.4rem;
}

/************HEADER***********************/
header {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	Z-index: 1;
	background-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent);
}

.nav {
	height: 7.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.menu-toggle {
	color: #fff;
	font-size: 2.2rem;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 2.5rem;
	cursor: pointer;
	z-index: 1500;
}
.fa-bars:hover {
	color: var(--nav-main-color);
	transition: color .5s;
}

.fa-times:hover {
	color: var(--nav-main-color);
	transition: color .5s;
}

.fa-times {
	display: none;
}
.left-nav-list {
	list-style: none;
	position: fixed;
	display: none;
	flex-direction: row;
}
.right-nav-list {
	list-style: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: var(--main-font-color-dark);
	padding: 20rem 10rem 20rem 10rem;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	text-align: center;
	z-index: 1250;
	transform: translateX(-100%);
	transition: transform .5s;
}

.nav::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0,0,0,.8);
	z-index: 1000;
	opacity: 0;
	transform: scale(0);
	transition: opacity .5s;
}

.open .fa-times {
	display: block;
}

.open .fa-bars {
	display: none;
}

.open .right-nav-list {
	transform: translateX(0);
}

.open .nav::before {
	opacity: 1;
	transform: scale(1);
}

.nav-link {
	display: block;
	color: #fff;
	font-size: 1.4rem;
	letter-spacing: 2px;
	font-family: 'PT serif', serif;
	transition: color .5s;
}

.nav-link:hover {
	color: var(--nav-main-color);
}


/***********CONTACT SECTION**************/
.contact {
	text-align: center;
	width: 100%;
	height: 50vh;
}

.global-headline {
	text-align: center;
	margin-top: 3.9rem;
}

.contact-msg {
	text-align: center;
	margin: 30px auto;
	max-width: 400px;
}

.contact-msg h2 {
	font-family: var(--secondary-font);
	font-size: 2.2rem;
	padding-bottom: 10px;
	color: #5a7324;
}

.contact-msg p {
	font-size: 1.4rem;
}

.contact-info {
	text-align: center;
	padding: 20px 0;
}

.contact-info h3 {
	font-size: 1.4rem;
}

.contact-info h4 {
	padding-top: 20px;
	font-size: 1.4rem;
	letter-spacing: 4px;
}
.headline-dark {
	color: var(--main-font-color-dark);
	font-size: 2.5rem;
	font-weight: 900;
	font-family: var(--secondary-font);
}

.about-info {
	text-align: center;
}

.about-description {
	margin-bottom: 3rem;
}

.about-description p {
	line-height: 1.6;
	margin-bottom: 2.4rem;
	font-family: 'Opens Sans', sans-serif;
}

/*****CONTACT INFO SECTION******/
.contact-intro {
	background: url("contact-bg.jpg")center no-repeat;
	background-size: cover;
}

.contact-intro h1 {
	font-family: var(--secondary-font);
	font-size: 3rem;
	letter-spacing: 7px;
	color: #E4E4E4;
}

.between {
	min-height: 45vh;
	display: flex;
	align-items: center;
}


/*******FOOTER*****************/
footer {
	padding: 5rem 0;
	background-color: #121212;
	color: #fff;
	text-align: center;
	position: relative;
}
.footer-content {
	overflow: hidden;
}

.footer-logo {
	width: 8rem;
	height: 8rem;
	position: absolute;
	top: -4rem;
	left: 50%;
	transform:  translateX(-50%);
}

.footer-nav-list {
	list-style: none;
	padding: 1rem;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	text-align: center;
}

.footer-nav-link  {
	display: block;
	font-size: 1.4rem;
	letter-spacing: 2px;
	font-family: 'PT serif', serif;
	margin: 10px auto;
	transition: color .5s;
}

.footer-nav-link a {
	color: #fff;
}

.footer-nav-link a:hover {
	color: var(--nav-main-color);
}

footer p {
	font-size: 1.4rem;
	color: #fff;
}

/* MEDIA QUERIES*/

@media screen and (min-width: 900px) {
	section{
		padding: 0px;
	}
	
	.menu-toggle{
		display: none;
	}
	
	nav {
		justify-content: space-between;
	}
	
	.right-nav-list {
		position: initial;
		width: initial;
		height: initial;
		background-color: transparent;
		padding: 0;
		justify-content: initial;
		flex-direction: row;
		transform: initial;
		transition: initial;
		margin-top: 30px;
	}
	
	.contact {
		text-align: center;
		width: 100%;
		height: 55vh;
	}
	
	.contact-msg h2 {
		font-family: var(--secondary-font);
		font-size: 3rem;
		padding-bottom: 20px;
		color: #5a7324;
	}
	.nav-item {
		margin: 0 2.4rem;
		border: none;
	}
	
	.nav-item:last-child {
		margin-right: 0;
	}
	
	.nav-link {
		font-size: 1.3rem;
	}
	
	.active {
		position: relative;
	}
	
	.active::before {
		content: '';
		position: absolute;
		width: 100%;
		height: 2px;
		background-color: #fff;
		left: 0;
		bottom: -3px;
	}
	
	
	.padding-right {
		padding-right: 7rem;
	}
	
	.footer-logo {
		width: 12rem;
		height: 12rem;
		top: -6rem;
    }
	
	.global-headline h2 {
		font-size: 4rem;
		font-weight: 900;
	}
	
	.logo {
		width: 140px;
		height: 140px;
	}
	
}