body {
background-color: #E58948; 
color:	#1A0D2B ;
}

a {
    color: #FF00FF;
    border-radius: 10px;
    
}


.small {
   font-size: .5em;  
   
}


    
    img {
        border: .7em palegreen ;   
        padding: 2em;
        
        
    }
    
    
    h1  {
        background-image: linear-gradient(to right, red,orange,yellow,green,blue,indigo,violet); 

         font-size: 2.5em  ;

           font-family: "Playfair Display", serif;
         }
          

    
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
border: 500px dotted maroon;
    
}



.box {
  /* PLAY WITH THE FLEX-BASIS TO SET THE SIZE OF THE BOXES - DON'T GO OVER 45% */
  flex-basis: 25%;
  margin: .5em;
  border: 1px solid black;
  border-radius: 10px;
  padding: 1em;
}

/* SETTING THE IMAGE WIDTH HERE INSTEAD OF IN HTML. REMOVE WIDTH="XXX%" FROM THE HTML IMAGE TAGS */
.box img {
  max-width: 90%;
  display: block;
  margin: auto;
  
}

/* SIDE TO SIDE */
/* Create the animation... */
@keyframes side {
   from {
      margin-left: 0%;
   }
   to {
      margin-left: 70%;
      /* 70% works because the image width is set to 30% - update your percent according to your element's width */
   }
}

/* ...and then apply it: */
.sidetoside {
   animation-duration: 3s;
   animation-name: side;
   animation-iteration-count: infinite;
   animation-direction: alternate;
   animation-timing-function: linear;
}


