.to-top {
	position: fixed;
	right: clamp(16px,2.5vw,32px);
	bottom: clamp(16px,2.5vw,32px);
	z-index: 40;
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--red);
	color: #fff;
	box-shadow: 0 10px 28px -8px rgba(238,53,36,.55);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .3s, transform .3s, visibility .3s, background .2s;
}

.to-top.visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top:hover {
	background: var(--red-dark);
}

@media (max-width: 600px) {
	.to-top {
		width: 46px;
		height: 46px;
	}
}
