body {
 margin: 0;
 padding;
 background-color: #29832f;
 }
 
#container {
 width: 500px;
 height: 500px;
 padding-top: 80px;
 margin: 0 auto;
}

.dot {
  width: 20px;
  height: 20px;
  margin: 30px auto;
  border-radius: 50px;
  }

.dot:nth-child(1) {
  background-color: #333333;
  animation: left 1s infinite ease-in-out;
  }
  
  .dot:nth-child(2) {
  background-color: #333333;
  animation: right 2s infinite ease-in-out;
  }
  
  .dot:nth-child(3) {
  background-color: #333333;
  animation: left 1s infinite ease-in-out;
  }
  
  .dot:nth-child(4) {
  background-color: #333333;
  animation: right 2s infinite ease-in-out;
  }
  
  .dot:nth-child(5) {
  background-color: #333333;
  animation: left 3s infinite ease-in-out;
  }
  
  
  .dot:nth-child(6) {
  background-color: #333333;
  animation: left 2s infinite ease-in-out;
  }
  
  .dot:nth-child(7) {
  background-color: #333333;
  animation: right 1s infinite ease-in-out;
  }
  
  .dot:nth-child(8) {
  background-color: #333333;
  animation: left 2s infinite ease-in-out;
  }
  
  .dot:nth-child(9) {
  background-color: #333333;
  animation: right 3s infinite ease-in-out;
  }
  
  .dot:nth-child(10) {
  background-color: #333333;
  animation: left 1s infinite ease-in-out;
  }
  
  @keyframes right {
    0% {transform: translate(50px) }
	50% {transform: translate(-50px) }
	100% {transform: translate(50px) }
	}
	
	
	
	@keyframes left {
    0% {transform: translate(-50px) }
	50% {transform: translate(50px) }
	100% {transform: translate(-50px) }
	}