/*
Theme Name: Theme Harmonic
Theme URI: https://harmonicdesign.ca
Author: Harmonic Design
Author URI: https://harmonicdesign.ca
Description: This theme is for use on *** <strong>only</strong>
*/

.col-1-1-fluid {
	grid-template-columns: 1fr 1fr;
	align-items: center;
}

.col-1-1-fluid > div:first-child {
	justify-self: end;
	padding-right: 4em;
	border-right: 2px solid #fff;
}

.col-1-1-fluid > div:last-child {
	font-size: 1.4rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Bebas Neue", sans-serif;
}

h1 {
	font-size: 4rem;
}

#header {
	min-height: 100vh;
	background: url("https://dw.harmonicdesign.ca/wp-content/themes/hdt/images/hero.jpg") no-repeat center center;
	background-size: cover;
	color: #fff;
}

#top_bar {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	padding: 1em 0;
	z-index: 100;
	background-color: transparent;
	transition: all ease-in-out 500ms;
}

#top_bar.sticky {
	background-color: rgba(0, 0, 0, 0.9);
	position: fixed;
}

#top_bar.sticky #logo {
	max-height: 30px;
}
#top_bar.sticky .nav_item {
	font-size: 0.8em;
}

#top_bar > .wrap {
	display: grid;
	grid-template-columns: max-content 1fr;
}

#logo {
	max-height: 80px;
	transition: all ease-in-out 500ms;
	display: block;
}

#navigation {
	justify-self: end;
	align-content: center;
}

.nav_item {
	color: #fff;
	text-decoration: none;
	margin-left: 1em;
	text-transform: uppercase;
	transition: all ease-in-out 500ms;
}

#hero {
	text-align: center;
	text-transform: uppercase;
	place-items: center;
	height: 100%;
	display: grid;
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
}

#home_hero_logo {
	max-width: 460px;
}

.home_section {
	padding: 2rem 0 0 0;
}

#about {
	background: url("https://dw.harmonicdesign.ca/wp-content/themes/hdt/images/about.jpg") no-repeat center center;
	background-size: cover;
	background-attachment: fixed;
}

#about .wrap {
	padding-bottom: 2rem;
}

.home_section_header {
	color: #fff;
	background-color: black;
	text-transform: uppercase;
	line-height: 1;
	margin-top: -2rem;
}

.home_section_header h2 {
	font-size: 4rem;
}

.home_section_content {
	padding: 2rem 0;
}

#home_callout {
	background: url("https://dw.harmonicdesign.ca/wp-content/themes/hdt/images/footer.jpg") no-repeat center center;
	background-size: cover;
	background-attachment: fixed;
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	font-size: 4rem;
	font-family: "Bebas Neue", sans-serif;
	line-height: 1;
	padding: 4rem 0;
}

#footer {
	padding: 0.4rem 0;
	font-size: 0.8em;
	text-align: center;
}

/* Mobile Nav */
#mobile_toggle_wrapper {
	justify-self: end;
	display: none;
}

#mobile_toggle {
	display: none;
}

#mobile_toggle > span {
	width: 30px;
	height: 4px;
	background-color: #fff;
	margin: 6px 0;
	display: block;
	transition: 0.3s ease-in-out;
}

#mobile_toggle.active > .bar1 {
	transform: translate(0, 10px) rotate(-45deg);
}

#mobile_toggle.active > .bar2 {
	opacity: 0;
}

#mobile_toggle.active > .bar3 {
	transform: translate(0, -10px) rotate(45deg);
}

@media (max-width: 768px) {
	#logo {
		max-height: 40px;
	}

	#navigation {
		display: none;
	}

	#navigation.active {
		display: grid;
		position: absolute;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background-color: rgba(0, 0, 0, 0.9);
		padding: 1em 0;
		overflow-y: auto;
		justify-content: center;
		text-align: center;
		font-size: 1.2em;
	}

	.nav_item {
		margin: 0.4em 0;
	}

	#mobile_toggle_wrapper,
	#mobile_toggle {
		display: block;
		z-index: 9999;
	}

	.cols {
		grid-template-columns: 1fr !important;
	}

	h1,
	#home_callout {
		font-size: 2rem;
	}

	#home_hero_logo {
		max-width: 60vw;
	}

	.home_section_content {
		padding: 2rem !important;
	}

	.cols.col-1-1-fluid {
		gap: 0;
		grid-template-columns: 1fr;
	}

	.cols.col-1-1-fluid > div {
		width: 100%;
	}

	.col-1-1-fluid > div:first-child {
		padding-right: 0;
		border-right: none;
		border-bottom: 2px solid #fff;
		justify-self: center;
	}
}
