.loader {
  text-align: center;
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid var(--primary-color);
  width: 120px;
  height: 120px;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
  align-content: center;
  align-self: center;
  text-align: center;
}

@media screen and (max-width: 400px){
  .loader {
    width: 80px;
    height: 80px;
  }
}

@media (min-width: 401px) and (max-width: 767px) {
  .loader {
    width: 90px;
    height: 90px;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .loader {
    width: 100px;
    height: 100px;
  }
}

  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  