.to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	transform: scale(0);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	font-size: 1.5625rem;
	border-radius: 50%;
	box-shadow: 5px 6px 18px rgba(10, 10, 11, 0.12);
	opacity: 0;
	background: #182F44;
	color: #fff;
	will-change: transform;
	z-index: 1040;
	cursor: pointer;
	transition: .2s;
}

.to-top::after {
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	content: '';
	background: #fd5577;
	border-radius: 50%;
	transform: scale(0);
	transition: all 0.2s ease-in-out;
}

.to-top.show {
	transform: scale(1);
	opacity: 1;
	transition: all 0.2s, transform 0.2s cubic-bezier(0.5, 0, 1, 2);
}

.to-top.active::after, .to-top:hover::after {
	transform: scale(1);
}
