#contact {
	scroll-margin-top: 4rem;
	margin-bottom: 30vh;
	margin-top: 30vh;
	text-align: center;
}

.primaryButton {
	background-color: var(--primary-button-background-color);
	padding: 0.6em 1em;
	border-radius: 7px;
	border-style: none;
	font-weight: bold;
	font-size: 1.1em;
	transition: background-color 0.3s, box-shadow 0.3s;
	cursor: pointer;
	color: white;
	box-shadow: -1px 1px 0px white, 1px 1px 0px white, 1px -1px 0px white,
		-1px -1px 0px white;
	text-shadow: 1px 1px black;
}

.primaryButton:hover,
.primaryButton:active,
.primaryButton:focus {
	background-color: var(--primary-button-background-highlight-color);
	color: white;
	box-shadow: -2px 2px 0px white, 2px 2px 0px white, 2px -2px 0px white,
		-2px -2px 0px white;
}

.footerTop {
	overflow: hidden;
	position: relative;
}

.footerTopContentBack {
	position: absolute;
	min-height: 160px;
	background-image: url('/img/wave-for-light-mode-2.svg');
	background-repeat: repeat-x;
	width: 15320px;
	background-position-y: 79px;
	background-size: 766px;
	animation: slideAcross 12s cubic-bezier(1, 1, 1, 1) infinite;
	z-index: 1;
}

.footerTopContentFront {
	min-height: 160px;
	background-image: url('/img/wave-for-light-mode.svg');
	background-repeat: repeat-x;
	width: 15320px;
	background-position-y: 86px;
	background-size: 766px;
	animation: slideAcross 10s cubic-bezier(1, 1, 1, 1) infinite;
	position: relative;
	z-index: 2;
}

@media (prefers-color-scheme: dark) {
	.footerTopContentFront {
		background-image: url('/img/wave-for-dark-mode.svg');
	}

	.footerTopContentBack {
		background-image: url('/img/wave-for-dark-mode-2.svg');
	}
}

.footerContentContainer {
	background-color: var(--footer-background-color);
	color: var(--footer-foreground-color);
}

.footerContent {
	min-height: 150px;
	width: 70rem;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0 1rem 2rem;
	display: flex;
	align-items: flex-end;
	text-align: center;
	justify-content: center;
}

#contact .primaryButton {
	font-size: 1.3em;
}

@keyframes slideAcross {
	from {
		transform: translate(0, 0);
	}

	to {
		transform: translate(-766px, 0);
	}
}
