/*
 * ----- FOOTER
 */

/* A slow and subtle rotation */
@keyframes ambientmotion {
	from {
		transform: translate( -50%, -50% ) rotateZ( 0 ) scale( 0.5 );
	}

	50% {
		transform: translate( -50%, -50% ) rotateZ( 180deg ) scale( 0.9 );
	}

	to {
		transform: translate( -50%, -50% ) rotateZ( 360deg ) scale( 0.5 );
	}
}

@keyframes ambient_glow {
	to {
		opacity: 1;
	}
}

.container-footer {
	position: relative;
	margin-top: -10rem;
	border-top: 1px solid transparent;
	border-bottom: 1px solid transparent;
	font-size: 0.71rem;
	font-family: "Lato", Helvetica, Arial, sans-serif;
	color: rgba(69, 69, 69, 0.75);
	overflow: hidden;
}
.container-footer:before,
.container-footer:after {
	content: "";
	position: absolute;
	top: -5%;
	left: 0;
	width: 100%;
	height: 105%;
	pointer-events: none;
}

.container-footer:after {
	background-image: linear-gradient( to bottom, white 0%, transparent 115% );
}

.pattern-animation {
	position: absolute;
	width: 500%;
	height: 1000%;
	overflow: hidden;
	transform: translate( -50%, -50% );
	animation: ambientmotion 409s infinite linear;
}

.pattern-animation:before,
.pattern-animation:after {
	content: "";
	position: absolute;
	inset: 0;
}
.pattern-animation:before {
	background-image: url( "/media/backgrounds/tree-rings-pattern-grayscale.svg" );
    opacity: 0.25;
}
.pattern-animation:after {
	background-image: url( "/media/backgrounds/tree-rings-pattern-color.svg" );
    opacity: 0;
    animation: ambient_glow 5s infinite alternate;
}

.footer {
	display: flex;
	flex-direction: column;
	margin: 20rem auto 2.7rem;
	max-width: 17rem;
}
.footer .copyright {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	border-bottom: 1px solid transparent;
}
.footer .copyright > * {
	position: relative;
	background-color: var(--color-white);
}
.footer .copyright > *:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -5px;
	right: -5px;
	bottom: -5px;
	left: -5px;
	background-color: inherit;
}
.footer .copyright .symbol {
	font-size: 0.81em;
	margin-bottom: -2px;
	margin-right: 0.3em;
}
.footer .follow-elsewhere {
	position: relative;
	z-index: 1;
	list-style: none;
	display: flex;
	margin-top: 1rem;
}
.footer .follow-elsewhere > * {
	position: relative;
	background-color: var(--color-white);
}
.footer .follow-elsewhere > *:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -5px;
	right: -5px;
	bottom: -5px;
	left: -5px;
	background-color: inherit;
}
.footer .follow-elsewhere li:not(:last-child):after {
	content: "-";
	margin-left: 0.15rem;
	margin-right: 0.25rem;
}
.footer .follow-elsewhere a {
	text-decoration: none;
	color: inherit;
}
.footer .follow-elsewhere a:focus {
	outline: none;
}

@media (min-width: 641px) {
	.container-footer {
	}
	.footer {
		flex-direction: row;
		justify-content: space-between;
		max-width: 34rem;
	}
	.footer .copyright .symbol {
		margin-bottom: 0;
	}
	.footer .follow-elsewhere {
		margin-top: 0;
	}
}
@media (min-width: 1041px) {
	.container-footer {
		font-size: 0.91rem;
	}
	.container-footer:before {
		left: -200%;
		top: -200%;
		height: 500%;
		width: 500%;
		transform-origin: center center;
	}
	.footer {
		max-width: 58rem;
		margin-top: 19rem;
		margin-bottom: 2.7rem;
	}
	.footer .follow-elsewhere li:not(:last-child):after {
		margin-left: 0.45rem;
		margin-right: 0.59rem;
	}
}
