.to-top {
  position: fixed;
  bottom: 70px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.to-top:hover {
  background: #dbe9df;
}