body {
  background-image: url("images/background.png");
  background-color: #cccccc;
}

.start {
  margin: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.intsructions {
  margin: 0;
  position: absolute;
  left: 50%;
  top: 60%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.brand {
  margin: 0;
  position: absolute;
  left: 50%;
  top: 70%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.start,
.brand,
.intsructions {
  background-color: #f2ac57;
  border-radius: 20px;
  border: white;
  border-style: solid;
  border-width: 4px;
  color: white;
  padding: 16px;
  justify-content: center;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  margin: 4px 2px;
  font-family: "Nerko One", cursive;
  text-align: center;
}
button:hover {
  background-color: #02733e;
  transition: 0.5s;
  scale: 1.1;
}
#title {
  width: 50%;
  margin: 0;
  position: absolute;
  left: 50%;
  top: 30%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

  animation-name: movingImage;
  animation-duration: 4s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
}

@media (max-width: 500px) {
  #title {
    width: 80%;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 30%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    animation-name: movingImage;
    animation-duration: 4s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
  }
  .start,
.brand,
.intsructions {
  background-color: #f2ac57;
  border-radius: 20px;
  border: white;
  border-style: solid;
  border-width: 4px;
  color: white;
  padding: 10px;
  justify-content: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin: 4px 2px;
  font-family: "Nerko One", cursive;
  text-align: center;
}
}
@keyframes movingImage {
  0% {
    top: 30%;
  }

  50% {
    top: 25%;
  }

  100% {
    top: 30%;
  }
}
footer {
  position: absolute;
  bottom: 5%;
  width: 99%;
  height: 2.5rem;         
  text-align: center;
}
p{
  color: white;
  text-align: center;
  position: bottom;
  top: 90%;
  font-family: caraque-solid, sans-serif;
}
