body {
  color: black;
  background-color: snow;
  height: auto;
  width: auto;
  margin: 0;
  font-size: 16px;
}

body>h1 {
  text-align: center;
  font-size: 3em;
  font-weight: bold;
  color: #333;
  padding: 20px;
  background-color: #f2f2f2;
  margin-top: 0;
}

div {
  padding: 10% 10% 10% 10%;
  font-size: large;
  font-family: georgia;
  height: 69%;
  padding-bottom: 5%;
}

#F-22 {
  padding-bottom: 0;
}

.page {
  float: right;
  margin-left: 3%;
  padding-top: 5%;
  max-width: 55%;
  max-height: 55%;
  padding-bottom: auto;
}

#Flying,
#Flying-2,
#Flying-3,
#Drive,
#Drive-2 {
  width: 10%;
  height: 10%;
  float: right;
}

.animated-flying {
  position: relative;
  animation-name: moveFlying;
  animation-duration: 6000ms;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.animated-driving {
  position: relative;
  animation-name: moveDriving;
  animation-duration: 3000ms;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

@keyframes moveFlying {
  0% {
    top: 0;
    left: 0;
  }

  29% {
    top: 0;
    left: 0;
    transform: translate(-200%, -10%) rotate(10deg);
    animation-timing-function: linear;
  }

  100% {
    top: 0;
    left: 0;
    transform: translate(-1500%, -500%) rotate(20deg);
    animation-timing-function: linear;
  }
}

@keyframes moveDriving {
  0% {
    top: 0;
    left: 0;
  }

  100% {
    top: 0;
    left: 0;
    transform: translate(-1500%);
  }
}

h2 {
  text-align: center;
  font-size: 2em;
  margin-top: 20px;
  text-transform: uppercase;
  border-bottom: 10px solid black;
  padding-bottom: 10px;
}

#F-22>h2 {
  color: navy;
}

#F40>h2 {
  color: #ff2800;
}

#BlackBird>h2 {
  color: black;
}

#Ford-GT>h2 {
  color: #b5c9d6;
}

#P-51Mustang>h2 {
  color: #eecf20
}