/**
 * Block: back-to-top
 * Shown by theme.js after scrolling down (--visible).
 */

.back-to-top {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 99;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--aqua-secondary);
	color: var(--aqua-white);
	font-size: 1.1rem;
	text-decoration: none;
	box-shadow: 0 10px 25px rgba(25, 64, 154, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: opacity 0.4s, visibility 0.4s, transform 0.4s var(--aqua-ease), background-color 0.3s;
}

.back-to-top--visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	background: var(--aqua-primary);
	color: var(--aqua-white);
}
