/*
COLORS:

Light green: #7ed56f
Medium green: #55c57a
Dark green: #28b485

*/

*,
*::after,
*::before {
	margin: 0;
	padding: 0;
	box-shadow: inherit;
}

html {
	font-size: 62.5%; /* Root font size is 16px x 62.5% = 10px which sets it for the whole page.  1 rem = 10px (easy conversion) */
}

body {
	font-family: "Lato", sans-serif;
	font-weight: 400;
/* 	font-size: 16px; */
	line-height: 1.7;
	color: #777;
	padding: 3rem; /* 3rem = 30px */
	box-sizing: border-box; /* borders and paddings are no longer added to length or width */
}

.header {
	height: 95vh; /* 95% of viewport */
	background-image: linear-gradient(
		to right bottom, 
		rgba(126, 213, 111, 0.7), 
		rgba(40, 180, 131, 0.7)), 
	url(../img/hero.jpg);
	background-size: cover;
	background-position: top;
	position: relative;
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
}

.header__logo-box {
	position: absolute;
	top: 4rem;
	left: 4rem;
}

.header__logo {
	height: 6.5rem;
}

.header__text-box {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%); /* Shifts the div to the middle */
	text-align: center;
}

.heading-primary {
	color: #fff;
	text-transform: uppercase;
	backface-visibility: hidden;
	margin-bottom: 6rem;
}

.heading-primary--main {
	display: block;
	font-size: 6rem;
	font-weight: 400;
	letter-spacing: 3.5rem;
	animation: moveInLeft 2s ease-out;
/*	animation-name: moveInLeft;
	animation-duration: 2s;
	animation-timing-function: ease-out;
 	animation-iteration-count: 3; 
 	animation-delay: 3s; */
}

.heading-primary--sub {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 1.75rem;
	
	animation: moveInRight 2s ease-out;

}


@keyframes moveInLeft {
	0% {
		opacity: 0;
		transform: translateX(-10rem);
	}
	
	80% {
		transform: translateX(1rem);
	}
	
	100%{
		opacity: 1;
		transform: translate(0);
	}
}

@keyframes moveInRight {
	0% {
		opacity: 0;
		transform: translateX(10rem);
	}
	
	80% {
		transform: translateX(-1rem);
	}
	
	100%{
		opacity: 1;
		transform: translate(0);
	}
}

@keyframes moveInBottom {
	0% {
		opacity: 0;
		transform: translateY(3rem);
	}
	
	100%{
		opacity: 1;
		transform: translate(0);
	}
}

.btn:link,
.btn:visited {
	text-transform: uppercase;
	text-decoration: none;
	padding: 1.5rem 4rem;
	display: inline-block;
	border-radius: 10rem;
	transition: all .2s;
	position: relative;
	font-size: 1.6rem;
}

.btn:hover {
	transform: translateY(-.3rem);
	box-shadow: 0 1rem 2rem rgba(0,0,0,.3);
}

.btn:active {
	transform: translateY(-.1rem);
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.3);
}

.btn--white {
	background-color: #fff;
	color: #777;
}

.btn::after {
	content: "";
	display:inline-block;
	height: 100%;
	width: 100%;
	border-radius: 10rem;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	transition: all .4s;
}

.btn--white::after {
	background-color: #fff;
}

.btn:hover::after {
	transform: scaleX(1.4) scaleY(1.6);
	opacity: 0;
}

.btn--animated {
	animation: moveInBottom .5s ease-out .75s;
	animation-fill-mode: backwards;
}

