body {
    background-color:#ECD9B1  ;
    background-image: url('https://images.unsplash.com/photo-1552587210-5cc4cd7d13c3?q=80&w=386&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    
    color: #424242;
      font-family: "Hachi Maru Pop", cursive;
      font-size: 1.5em;
      padding: 1em;

    
}
main {
    backround background-color::#ECD9B1 ;
img {
    border: 1em #424242 dotted ;
    padding: 1em
     
}

h1 {font-family: "Henny Penny", system-ui;
font-size: 2.5em;
text-align: center;
 background-image: linear-gradient(to top,#ecd9b1 , #c4ecb1, #b1c4ec,#d9b1ec,#ecd9b1);
 text-shadow: 3px 3px 2px white;
}

a{
    color: #6B1E47;
}
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

 


/* SETTING THE IMAGE WIDTH HERE INSTEAD OF IN HTML. REMOVE WIDTH="XXX%" FROM THE HTML IMAGE TAGS */
.box img {
  max-width: 100s%;
  display: block;
  margin: auto;
}
.box {
  /* PLAY WITH THE FLEX-BASIS TO SET THE SIZE OF THE BOXES */
  flex-basis: 30%;
  margin: .3em;
  border: .5px solid black;
  border-radius: 1px;
  padding: .5em;
}

/* FORMATTING THE CITATIONS */
.citation {
  text-align: center;
}

 


/* SIDE TO SIDE */
/* Create the animation... */
@keyframes side {
   from {
      margin-left:-70%;
   }
   to {
      margin-left: 0%;
      /* 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: 2s;
   animation-name: side;
   /*animation-iteration-count: infinite;*/
   /*animation-direction: alternate;*/
   animation-timing-function: linear;
   display: inline-block;
}
/* SIDE TO SIDE */
/* Create the animation... */
@keyframes right-side {
   from {
      margin-left: 70%;
   }
   to {
      margin-left: 0%;
      /* 70% works because the image width is set to 30% - update your percent according to your element's width */
   }
}

/* ...and then apply it: */
.sidetosideR {
   animation-duration: 2s;
   animation-name: right-side;
   /*animation-iteration-count: infinite;*/
   /*animation-direction: alternate;*/
   animation-timing-function: linear;
   display: inline-block;
}