@-webkit-keyframes uparrow {
  0% {
    -webkit-transform: translateY(0);
    opacity: 0.4;
  }
  100% {
    -webkit-transform: translateY(-0.4em);
    opacity: 0.9;
  }
}
@-webkit-keyframes downarrow {
  0% {
    -webkit-transform: translateY(0);
    opacity: 0.4;
  }
  100% {
    -webkit-transform: translateY(0.4em);
    opacity: 0.9;
  }
}

body {
  background-image: url("https://sun9-31.userapi.com/c857128/v857128208/72220/UAKxP80C4YM.jpg");
  background-size: cover;
  height: 100vh;
  padding: 0;
  margin: 0;
  transition: background 0.2s linear;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

.arrow {
  border-color: transparent;
  border-style: solid;
  border-width: 0 2em;
  display: block;
  height: 0;
  margin: auto;
  margin-bottom: 20px;
  margin-top: 20px;
  opacity: 0.4;
  text-indent: -9999px;
  transform-origin: 50% 50%;
  width: 0;
}

#head,
#info1,
#info2,
#foot {
  background-color: white;
  border-radius: 10px;
  font-family: "Open Sans", sans-serif;
  font-size: larger;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}

#info1,
#info2,
#foot {
  display: none;
}

h1,
h2,
h3 {
  margin-left: 20px;
  margin-right: 20px;
}

.down {
  -webkit-animation: downarrow 0.6s infinite alternate ease-in-out;
  border-top: 2em solid black;
}

.up {
  -webkit-animation: uparrow 0.6s infinite alternate ease-in-out;
  border-bottom: 2em solid black;
}

#gem {
  color: firebrick;
}

#vk {
  color: dodgerblue;
}

#github {
  margin-left: 40px;
  margin-bottom: 4px;
  color: black;
}

#KLUDGE {
  display: none;
}

@media screen and (max-width: 520px) {
  h1 {
    font-size: 1em;
  }
  h2 {
    font-size: 0.85em;
  }
  h3 {
    font-size: 0.7em;
  }
  .arrow {
    border-color: transparent;
    border-style: solid;
    border-width: 0 1em;
    display: block;
    height: 0;
    margin: auto;
    margin-bottom: 20px;
    margin-top: 20px;
    opacity: 0.4;
    text-indent: -9999px;
    transform-origin: 50% 50%;
    width: 0;
  }

  .down {
    -webkit-animation: downarrow 0.6s infinite alternate ease-in-out;
    border-top: 1em solid black;
  }

  .up {
    -webkit-animation: uparrow 0.6s infinite alternate ease-in-out;
    border-bottom: 1em solid black;
  }
}
