nav a,
.footer-nav a {
	color: #506690;
	padding: 20px;
	font-weight: 600;
	vertical-align: middle;
	text-decoration: none;

	&.highlighted,
	&:hover {
		color: var(--primary-color);
	}
}

.footer {
	margin-top: calc(var(--padd) * 6);
	padding:calc(var(--padd) * 3) 0;
	border-top: 1px solid var(--border-color);
	justify-content: center;
	flex-direction: column;
	text-align: center;
}

@keyframes rotateScreenshot {
	to {
		opacity: 1;
		transform: rotateY(-35deg) rotateX(15deg) translateZ(0);
	}
}

.screenshot {
	img {
		border: 1px solid var(--border-color);
		border-radius: 12px;
	}

	&.with-shadow {
		img, video {
			box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
		}
	}
}

.hero {
	position: relative;
	padding: calc(var(--padd) * 6) 0;

	.shape {
		color: rgba(241, 244, 248, .7);
		position: absolute;
		top: 0;
		left: 50%;
		bottom: 0;
		right: 0;

		svg {
			height: 100%;
		}
	}

	h1 {
		line-height: 1.2;
		letter-spacing: -.02em;
	}

	.lead {
		color: rgb(111, 129, 157);
		font-size: 1.3125rem;
		font-weight: 400;
	}

	.button {
		padding: 1.25rem 0.8125rem;
	}

	.screenshot {
		flex: 1.2;
		perspective-origin: 0;
		perspective: 1500px;
		transform-style: preserve-3d;

		img {
			box-shadow: 25px 60px 125px -25px rgba(80, 102, 144, .1),
		16px 40px 75px -40px rgba(0, 0, 0, .2);

			max-width: 124%;
			filter: saturate(130%);
			transform: rotateY(-20deg) rotateX(5deg) translate3d(0, 100px, 0);
			opacity: 0;
			transition-delay: .1s;
			transition-timing-function: cubic-bezier(.25, .46, .45, .94);
			transition-duration: .7s;
			transition-property: opacity, transform;
			will-change: opacity, transform, -webkit-transform;
			animation: rotateScreenshot 1s forwards;
		}
	}
}

.row.infoboxes {
	align-items: flex-start;

	> div {
		min-width: 320px;
	}
}

.page-title {
	margin-top: calc(var(--padd) * 1);
	margin-bottom: calc(var(--padd) * 2);
	text-align: center;
}