/* Back to top button */
.back-to-top {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 1030;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: var(--bs-white);
	background-color: var(--bs-primary);
	border: 0;
	border-radius: 50%;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.back-to-top.is-visible {
	opacity: .55;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
	color: var(--bs-white);
	background-color: var(--bs-primary);
	opacity: 1;
}

.back-to-top:focus-visible {
	outline: 2px solid var(--bs-primary);
	outline-offset: 3px;
}

.back-to-top .bi {
	font-size: 1.25rem;
	line-height: 1;
}

@media (max-width: 575.98px) {
	.back-to-top {
		left: 15px;
		bottom: 15px;
		width: 40px;
		height: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.back-to-top {
		transition: none;
	}
}
