:root {
	--main-radius: 5px;
	--main-padding: 5px;
	--background: rgba(85, 214, 170, 1);
	--background-main: #f8edeb;
}

body {
	height: 100%;
	margin: 0;
	font-weight: 400;
	font-family: Arial, sans-serif;
}


.container{
	display:grid;
	height: 100vh;
	grid-template-columns: 1fr;
	grid-template-rows: 80px 95vh auto auto 160px;
	grid-template-areas: 
		"nav"
		"hero"
		"content1"
		"content2"
		"footer";
	font-weight: 400;
	text-align: center;
}

nav{
	background: #a7ff3b;
	grid-area: nav;
	padding-top: var(--main-padding);
}

main{
	background: #84ffff;
	grid-area: main;
	padding-top: var(--main-padding);
}

#sidebar{
	background: #18ffff;
	grid-area: sidebar;
	padding-top: var(--main-padding);
}

#content1{
	grid-area: content1;
	padding-top: var(--main-padding);
}

#content2{
	grid-area: content2;
	padding-top: var(--main-padding);
}


footer{
	background-color: var(--background);
	grid-area: footer;
	padding: 5px;
}

footer h1.brand-name {
	text-align: center;
	margin-top: 5px;
	margin-bottom: 5px;
}

footer p.footer-text {
	text-align: center;
	margin-top: 5px;
	margin-bottom: 5px;
}
footer .filler {
	height: 1700px;
	width: 100%;
	background-color: gray;
}

footer .footer-menu {
	margin-top: 5px;
	margin-bottom: 5px;

}

footer .f-menu {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateX(-10px);

}

footer .f-menu li {
	display: inline-block;
	font-size: 40px;
	margin-left: 10px;
	margin-right: 10px;
	color: white;
}


/*Nav Section for Small Screens*/
header {
	background: var(--background);
	text-align: center;
	position: fixed;
	z-index: 999;
	height: 80px;
	width: 100%;
	opacity: 100;
}

.nav-toggle {
	display: none;
}

.nav-toggle-label {
	position: absolute;
	top: 0;
	left: 0;
	margin-left: 1em;
	height: 100%;
	display: flex;
	align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
	display: block;
	background: white;
	height: 2px;
	width: 2em;
	border-radius: 2px;
	position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
	content: '';
	position: absolute;
}

.nav-toggle-label span::before {
	bottom: 7px;
}

.nav-toggle-label span::after {
	top: 7px;
}

.logo{
	font-size: 1.5em;
}
nav {
	position: absolute;
	text-align: left;
	top: 100%;
	left: 0;
	background: var(--background);
	width: 100%;
	transform: scale(1, 0);
	transform-origin: top;
	transition: transform 250ms ease-in-out;
}

nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

nav li {
	margin-bottom: 1em;
	margin-left: 1em;
}

nav a {
	color: white;
	text-decoration: none;
	font-size: 1.2rem;
	text-transform: uppercase;
	opacity: 0;
	transition: opacity 150ms ease-in-out;

}

nav a:hover {
	color: #24406b;
	opacity: 0.7;
	transition: color 250ms ease-in-out;
}

.nav-toggle:checked ~ nav {
	transform: scale(1,1);
}

.nav-toggle:checked ~ nav a {
	opacity: 1;
	transition: opacity 250ms ease-in-out 250ms;
}
/*End of Nav section for Small Screens*/

/*Landing Zone*/
.landing_zone {
	display: flex;
	flex-direction: column;
	/*background-image: url("../images/bookshelf.jpg");*/
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/bookshelf.jpg");
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center center;
	height: 95vh;
	position: relative;
	width: 100%;
	justify-content: center;
	align-items: center;
	grid-area: hero;
}
.landing_zone h1 {
	font-size: 2.5em;
	color: white;
	margin: 0;
}


.landing_zone h3 {
	font-size: 1em;
	color: white;
}

.landing_zone a.button {
	background: rgba(60, 170, 135, 0.9);
	border: none;
	border-radius: .8em;
	color: black;
	padding: .8em 1.7em;
	text-align: center;
	text-decoration: none;
	font-size: 1em;
}

.landing_section {
	display: flex;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100vh;
}

.landing_section div.img_section, .landing_section div.text_section {
	width: 50%;
	margin-top: 8%;
}

div.text_section{
	margin-left: 5%;
	margin-right: 5%;
}

div.text_section h1 {
	text-align: center;
}

div.text_section p, div.text_section li {
	font-size: 19px;
}

div.img_section img {
	width: 500px;
	height: 500px;
	max-width: 90%;
	object-fit: cover;
	margin-left: 5%;
	margin-right: 5%;
}

.btn {
	border-color: #7e2ae8;
	background-color: #fbfbd4; 
	color: #7e2ae8;
}
/*end of landing zone*/
@media screen and (min-width: 830px){
	.container{
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 80px 95vh auto 160px;
		grid-template-areas: 
		"nav nav"
		"hero hero"
		"content1 content2"
		"footer footer";
	}

	/*Nav Section for Large Screens*/

	.nav-toggle-label{
		display: none;
	}


	header {
		display: grid;
		grid-template-columns: 1fr auto minmax(600px, 3fr) 1fr;
	}

	.logo {
		grid-column: 2 / 3;
		font-size: 2em;
	}

	div.center_article {
		margin-left: 15%;
		margin-right: 15%;
		width: 70%
	}

	nav {
		all: unset;
		grid-column: 3 / 4;
		display: flex;
		justify-content: flex-end;
		align-items: center;

	}

	nav ul {
		display: flex;
		justify-content: flex-end;
	}

	nav li {
		margin-left: 3em;
		margin-bottom: 0;
	}

	nav a {
		opacity: 1;
		position: relative;
	}

	

	nav a::before {
		content: '';
		display: block;
		height: 5px;
		background: black;
		position: absolute;
		top: -1em;
		left: 0;
		right: 0;
		transform: scale(0, 1);
		transition: transform ease-in-out 250ms;
	}

	nav a:hover::before {
		transform: scale(1,1);
	}
	/*End of Nav Section for Large Screens*/

	/*landing section*/
	.landing_zone h1 {
		font-size: 5em;
		color: white;
		margin: 0;
	}


	.landing_zone h3 {
		font-size: 2em;
		color: white;
	}

	.landing_zone a.button {
		border-radius: .8em;
		padding: .8em 1.7em;
		font-size: 1.4em;
	}
	/*end of landing section*/
}