.to-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.2rem;
  line-height: 1.4rem;
  color: #3f3f3f;
  transition: 0.3s;
}

.to-top:hover {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .to-top {
    display: none;
  }
}
