#site-footer {
	margin-top: 4rem;
	padding: 2rem 0;
	text-align: center;

	nav {
		display: inline-block;
		margin: 0 auto 1rem;
		box-shadow: var(--edge-highlight);
		border-radius: 1.375rem;
		background-color: var(--fg-muted-1);
		padding: 0.25rem;
		max-width: 90%;

		ul {
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			align-items: center;
			gap: 0.25rem;
			margin: 0;
			padding: 0;

			li {
				display: flex;
				line-height: 1.25;
				list-style: none;

				@media only screen and (max-width: 480px) {
					width: 100%;
				}

				a {
					transition: var(--transition);
					border-radius: 999px;
					padding: 0.5rem 0.75rem;
					color: var(--fg-muted-4);
					line-height: 1.25;
					text-decoration: none;

					@media only screen and (max-width: 480px) {
						width: 100%;
						text-align: center;
					}

					&:hover {
						box-shadow: var(--edge-highlight);
						background-color: var(--primary-color);
						color: var(--contrast-color);
						text-decoration: none;
					}

					&:active {
						transform: scale(var(--active));
					}
				}
			}
		}
	}

	#socials {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.5rem;
		margin-block-start: 1rem;
		padding: 0;

		li {
			line-height: 0;
			list-style: none;

			a {
				display: block;
				transition: var(--transition);
				border-radius: 999px;
				padding: 0.5rem;

				&:hover {
					box-shadow: var(--edge-highlight);
					background-color: var(--fg-muted-1);

					.icon {
						background-color: var(--primary-color);
					}
				}

				&:active {
					transform: scale(var(--active));
				}

				.icon {
					transition: var(--transition);
					background-color: var(--fg-muted-4);
					width: 1.5rem;
					height: 1.5rem;
				}

				span {
					display: none;
				}
			}
		}
	}

	p {
		margin: 1rem auto;
		line-height: 1.25;
	}

	.link {
		transition: var(--transition);
		box-shadow: var(--edge-highlight);
		border-radius: var(--rounded-corner-small);
		background-color: var(--primary-color-alpha);
		padding: 0.125rem 0.375rem;
		text-decoration: none;

		&:hover {
			background-color: var(--primary-color);
			color: var(--contrast-color);
		}
	}
}
