html, body {
	font-family: 'Montserrat', 'Calibri', sans-serif;
	background: #F8F8F8;
	color: #323232;
}
a {
	text-decoration: none;
	color: white;
}
.hero {
	width: 100%;
	height: 100vh;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(250, 250, 250, 0.26) 25%, #F8F8F8 100%),
				url('static/background.jpg') center top no-repeat fixed;
	/* background-size: cover;*/
}
.hero .container:first-child {
	height: 100%;
}
.content-centered {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.content-left {
	display: flex;
	flex-direction: row;
	align-items: left;
}
.content-right {
	display: inline;
	flex-direction: row;
	align-items: right;
}
.store-buttons {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.hero .hero-logo {
	width: 512px;
	padding-top: 64px;
	justify-self: center;
}

.button .icon {
	width: 36px;
	height: 36px;
	color: white;
	padding: 8px;
}
.steam .icon {
	width: 32px;
	height: 32px;
	color: white;
	padding: 10px;
}
.button {
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 24px;

	outline: none;
	border: none;
	cursor: pointer;
}
.button.itchio {
	width: 350px;
	height: 56px;
	background: #E92B4B;
	box-shadow: 4px 4px 8px rgba(248, 75, 105, 0.6);
	border-radius: 10px;
	line-height: 48px;
	position: relative;
}
.button.itchio.sale::before {
	position: absolute;
	content: attr(data-sale-content);
	width: 144px;
	height: 67px;
	left: 140px;
	top: -56px;
	line-height: 65px;
	padding-left: 38px;
	font-weight: bold;

	background: url('static/discount_flip.svg') no-repeat;
	transform: rotate(-4deg);
	color: black;
}
.button.itchio strong {
	margin-left: 4px;
}
.button.steam {
	width: 350px;
	height: 56px;
	background: #282e39;
	box-shadow: 4px 4px 8px rgba(40, 46, 47, 0.6);
	border-radius: 10px;
	line-height: 48px;
	position: relative;
}
.button.steam.sale::before {
	position: absolute;
	content: attr(data-sale-content);
	width: 144px;
	height: 67px;
	left: 80px;
	top: -56px;
	line-height: 65px;
	padding-left: 15px;
	font-weight: bold;

	background: url('static/discount.svg') no-repeat;
	transform: rotate(4deg);
	color: black;
}
.button.steam strong {
	margin-left: 6px;
}

.flex {
	display: flex;
}
/* FORM STYLING */
.hero .form {
	position: absolute;
	/* when using the email form this will need to be top: 50% */
	top: 75%;
	transform: translateY(-50%);
	width: 968px;
}
.form .countdown {
	font-size: 48px;
	flex: 1;
	font-weight: bold;
	text-align: right;
	line-height: 56px;
}
.form .email-form {
	width: 100%;
	display: flex;
}
.form .email-form input {
	height: 50px;
	width: calc(100% - 400px);
	margin-right: 48px;
	min-width: 350px;
	border-radius: 8px;
	background: #f1f1f1;
	border: none;
	outline: none;
	padding-left: 16px;
	box-shadow: 4px 4px 8px rgb(65 62 62 / 25%);
	margin-top: 15px; /* height of button = 80px - (height of input = 50px) / 2  */
}
.button.primary {
	width: 350px;
	height: 80px;
	background: #1a92d6;
	box-shadow: 4px 4px 8px rgba(47, 140, 170, 0.25);
	border-radius: 11px;
	transition: box-shadow .5s, background 1s;
}
.button.primary:hover {
	box-shadow: 8px 8px 16px rgba(47, 140, 170, 0.25);
}
.button.ripple {
	background-position: center;
}
.button.ripple:hover {
	background: #1679b3 radial-gradient(circle, transparent 1%, #1679b3 1%) center/15000%;
}
.button.ripple:active {
	background-color: #1a92d6;
	background-size: 100%;
	transition: background 0s;
}

.all-sale {
	margin-bottom: 48px;
}
.all-sale .countdown {
	text-align: center;
}
/* FORM STYLING */
.selector {
	width: 100%;
	position: relative;
	text-align: center;
	margin: 32px 0;
}
.selector::before {
	content: ' ';
	position: absolute;
	top: 8px;
	left: 0;
	height: 2px;
	width: calc(50% - 30px);
	background: black;
}
.selector::after {
	content: ' ';
	position: absolute;
	top: 8px;
	left: calc(50% + 30px);
	height: 2px;
	width: calc(50% - 30px);
	background: black;
}
.footer {
	margin-top: 64px;
	padding: 0px 180px;
	min-height: 180px;
	background-color: #3C3C3C;
	color: white;
	display: flex;
	align-items: center;
}
.footer .info {
	flex: 1;
}
.footer .icons {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.footer .icons img.social {
	width: 40px;
	padding: 0 16px;
}
.footer .icons .company {
	height: 72px;
	padding-left: 32px;
}

.footer .info ul {
	list-style: none;
	padding: 0;
}
.footer .info ul li {
	padding: 0 4px;
	font-weight: bold;
	font-size: 18px;
	color: white;
	display: inline-block;
}
.container {
	width: 968px;
	margin: 0 auto;
}
.features {
	margin: 80px 0;
}
.feature {
	display: flex;
	margin-top: 80px;
}
.feature .image {
	width: 50%;
}
.feature .image img {
	width: 100%;
}
.feature .content {
	width: 50%;
	padding: 0 20px;
}
.feature.right .content {
	text-align: right;
}
.feature .content h3 {
	margin: 0;
}
.feature .content p {
	line-height: 24px;
}

/* Arrow & Hover Animation */
#more-arrows {
	width: 75px;
	height: 65px;
	bottom: 64px;
	position: absolute;
}
#more-arrows.animated {
	animation: transition 2s cubic-bezier(0.645, 0.045, 0.355, 1) 0s infinite alternate;
}
#more-arrows polygon {
	fill: #000;
	transition: all 0.2s ease-out;
}
#more-arrows polygon.arrow-middle {
	opacity: 0.75;
}
#more-arrows polygon.arrow-top {
	opacity: 0.5;
}
#more-arrows:hover polygon {
	transition: all 0.2s ease-out;
}
#more-arrows:hover polygon.arrow-bottom {
	transform: translateY(-18px);
}
#more-arrows:hover polygon.arrow-top {
	transform: translateY(18px);
}
@keyframes transition {
	from {transform: translateY(0);}
	to {transform: translateY(-18px);}
}

.container .embed {
	width: 100%;
	position: relative;
	padding-top: 56.25%;
}
.container .embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
}
@media screen and (max-width: 1600px) {
	.footer {
		padding: 16px 64px;
	}
}
@media screen and (max-width: 1300px) {
	.footer .info ul li {
		font-size: 16px;
	}
	.footer .icons img.social {
		width: 32px;
	}
}
@media screen and (max-width: 1100px) {
	.footer {
		flex-direction: column;
		padding: 16px 0;
	}
	.footer .info {
		text-align: center;
	}
}
@media screen and (max-width: 1000px) {
	.container,
	.hero .form {
		width: calc(100% - 16px);
	}
	.form .countdown {
		font-size: 40px;
	}
}
@media screen and (max-width: 800px) {
	.form .email-form {
		flex-direction: column;
	}
	.form .email-form input {
		width: calc(100% - 16px); /* padding left is 16px */
		margin-right: 0;
		min-width: unset;
	}
	.form .email-form .button {
		width: 100%;
		height: 60px;
		margin-top: 16px;
	}
	.form .flex {
		position: relative;
		top: 0;
		transform: none;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.form .selector {
		margin: 0;
	}
	.form .countdown {
		text-align: center;
		margin-top: 8px;
		margin-bottom: 24px;
	}
	.store-buttons {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		top: 275%;
		height: 120px;
	}
	.feature {
		flex-direction: column;
	}
	.feature.right {
		flex-direction: column-reverse;
	}
	.feature.right .content {
		text-align: left;
	}
	.feature .content {
		margin-top: 32px;
		width: calc(100% - 40px);
	}
	.feature .image {
		width: 100%;
	}
	.button.steam.sale {
		margin-top: 80px;
	}
}
@media screen and (max-width: 510px) {
	.hero .hero-logo {
		width: 300px;
	}
}
@media screen and (max-width: 420px) {
	.footer .icons {
		flex-direction: column;
		padding-top: 16px;
	}
	.footer .icons .company {
		padding-top: 16px;
	}
}
@media screen and (max-height: 768px) {
	.hero .form {
		position:relative;
		top:0;
		transform:none;
		margin-top:60px;
	}
	#more-arrows {
		bottom: 16px;
	}
	#more-arrows polygon {
		transform: scale(0.5);
		transform-origin: center;
	}
}
@media screen and (max-height: 640px) {
	#more-arrows {
		display: none;
	}
	.hero .hero-logo {
		width: 300px;
		padding-top: 16px;
	}
}
