body {
	margin: 0;
	padding: 0;
background-image: url(horse.gif);
	backgound-repeat: no-repeat;
	
  }
  
 #container {
  width: 500px;
  height: 500px;
  padding-top: 80;
  margin: 0 auto;
  }
  
  .dot {
	  width: 300px;
	  height:20px;
	  margin: 30px auto;
	  border-radius: 50px;
  }
  

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