.chart-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: none;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 4px solid rgba(0,0,0,0.2);
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.to-top {
    right: 4.3rem;
    bottom: 9rem;
    width: 50px;
    height: 50px;
    background-color: #01634b;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s, transform 0.5s;
   
}
@media (max-width: 1024px) {
    .to-top {
     right: 4.3rem;
    bottom: 9rem;
    }
}

@media (max-width: 992px) {
    .to-top {
        width: 40px;
        height: 40px;
        right: 2rem;
        bottom: 7rem;
    }

    .chat {
            width: 30px;
            height: 30px;
            right: 3.6rem;
        }

    .to-top svg {
        width: 15px;
    }
}

@media (max-width: 570px) {
    .to-top {
        right: 2.6rem;
        bottom: 7rem;
    }
    
    .chat {
        right: 4.3rem;
    }
}
.to-top.show {
    opacity: 1;
    transform: scale(1);
}

.to-top:hover {
    background-color: #1fa45b;
}