body {
    background-color:#FC7878 ;
    color: #141414;
    border: 4em groove crimson;
    margin: -1em;
    padding:1.5em;
    font-family: "Google Sans Flex", sans-serif;
    font-size: 1.5em;
}

a {
    color: #420000	 ;

}

img {
    border:1em groove crimson ;
}


h1 {
      font-family: "SN Pro", sans-serif;

}

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

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

.container {
  display: flex;
  align-items: center;
  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: 40%;
  margin: .5em;

  padding: 1em;
}

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


