body {
    background-color: #DCF3F4;
    color: #0D1717;
    margin: 1em;
    padding: 1em;
    font-family: "Tomorrow", sans-serif;
    font-size: 1em;
}

a {
    color: #0D1717;
}

img {
    border: 0.55em inset #0D1717;
}

video {
    border: 0.55em inset #0D1717;
}

h1 {
      font-family: "Zen Kurenaido", sans-serif;
      font-size: 2.25em;
      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: 22.26%;

  padding: 0.5em;
}

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

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

.note {
        border: 0.55em inset #0D1717;
        width:36%;

}

/* ...and then apply it: */
.sidetoside2 {
   animation-duration: 3s;
   animation-name: side;
   animation-iteration-count: infinite;
   animation-direction: alternate;
   animation-timing-function: linear;
}
