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

	nav {
		margin: 0 auto 2rem;
		box-shadow: var(--edge-highlight);
		border-radius: 1.375rem;
		background-color: var(--fg-muted-1);
		padding: 0.25rem;
		width: fit-content;
		max-width: min(var(--container-width), 90%);

		ul {
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			align-items: center;
			gap: 0.25rem;
			margin: 0;
			padding: 0;
			width: min(calc(var(--container-width) / 1.5), 100%);

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

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

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

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

	#socials {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.5rem;
		margin: 1rem 0 0;
		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;
		max-width: min(var(--container-width) + 10rem, 90%);
	}

	.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(--fg-color);
		}
	}
}
