.loader {
  height: 15px;
  width: 105px;
  display: flex;
  position: relative;
}

.loader__wrapper {
  max-width: 30rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.5rem;
  display: none;
}

.loader .circle {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-image: -webkit-linear-gradient(0deg, #e1c9aa 0%, #e8cda1 99%);
  animation: move 500ms linear 0ms infinite;
  margin-right: 30px;
}

.loader .circle:first-child{
  position: absolute;
  top:0;
  left:0;
  animation: grow 500ms linear 0ms infinite;
}

.loader .circle:last-child{
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 0;
  animation: grow 500ms linear 0s infinite reverse;
}

.popup-quiz--last .loader__wrapper {
  max-width: 32.5rem;
  margin: 0;
  margin-bottom: 2.5rem;
}

@keyframes grow {
  from {transform: scale(0,0); opacity: 0;}
  to {transform: scale(1,1); opacity: 1;}
}

@keyframes move {
  from {transform: translateX(0px)}
  to {transform: translateX(45px)}
}