body {
   background-color: #FFE4E1;
   color: #9A0E2A;
   padding: 2em;
     font-family: "Mystery Quest", system-ui;
font-size: 1.5em;
}

a {
    color: #9A0E2A;
}

img {
    border: 2em groove #9A0E2A;
    margin:2em;
    
}

h1 {
      font-family: "Sunshiney", cursive;
      
}


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

.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: 30%;
  display: block;
  margin: auto;
}


/* BOUNCE */
/* Create the animation... */
@keyframes bouncing {
   from {
      transform: translateY(0px);
   }
   to {
      transform: translateY(-20px);
   }
}

/* ...and then apply it: */
.bounce {
   animation-duration: 350ms;
   animation-name: bouncing;
   animation-iteration-count: infinite;
   animation-direction: alternate;
   animation-timing-function: cubic-bezier(0.2, 0.65, 0.6, 1);
}





