body {
    background-color: #FF29FF  ;
    color: #000000 ;
    border: 1em ridge #FFD700;
    padding:2em;
      font-family: "Sarina", cursive;
    font-weight: normal;
    font-size: 1.4em;
}

a {
    color: #000000;
}

img {
    border: 5em ridge #FFD700;
    border-radius: 50%;
}

h1 {
    font-family: "Lavishly Yours", cursive;

}

.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: 35%;
  margin: .5em;
   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: 90%;
      border: 2em ridge #FFD700;
  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);
}
