body {
    background-color: #00FFFF ;
        color:	#ff890a ;
        border: 1em inset #ff890a;
        padding: 2em;
          font-family: "Twinkle Star", cursive;
font-size: 1.5em;
}

a {
    color: #ff890a ;
}

img {
    border: .9em groove #ff890a;
    border-radius: 2em;
}

h1 {
      font-family: "Meow Script", cursive;
      font-size: 2.5em;
text-align: center;
}




.container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.box {
  /* PLAY WITH THE FLEX-BASIS TO SET THE SIZE OF THE BOXES - DON'T GO OVER 45% */
  flex-basis: 44%;
  margin: .5em;
  padding: 1em;
  text-align: center;
}

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

/* SIDE TO SIDE */
/* Create the animation... */
@keyframes side {
   from {
      margin-left: 0%;
   }
   to {
      margin-left:5%;
      /* 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;
}
