body {

    background-color: #8F9CA8 ;
    color: 	#080808;
      font-family: "Comic Relief", system-ui;
        padding: 2em;
        background-image: linear-gradient(to right,  #8F9CA8, #5BA0E1);
}

    


img {
    border: .7em ridge #8F9CA8;
    border-radius: 2em;
    padding: .1em;
    margin: .1em;
}

h1 {
    font-family: "Mountains of Christmas", serif;
    font-size: 2.5em;
    text-align: center;
    text-shadow: 2px 1px 2px white;
}

a {
    color: #0B021D;
}
.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: 60.9%;
  display: block;
  margin: auto;
}

.box {
  /* PLAY WITH THE FLEX-BASIS TO SET THE SIZE OF THE BOXES */
  flex-basis: 46%;
  /*margin: 1.5em;*/
  /*border: 1px solid black;*/
  border-radius: 10.5px;
  padding: 1em;
}



/* 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;
}








