@import url("https://fonts.googleapis.com/css2?family=BenchNine:wght@700&display=swap");

html,
body {
  width: 100%;
  height: 100%;
  background-color: #b0c5ff;
}

body {
  margin: auto;
  -webkit-animation: fadein 4s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 4s; /* Firefox < 16 */
  -ms-animation: fadein 4s; /* Internet Explorer */
  -o-animation: fadein 4s; /* Opera < 12.1 */
  animation: fadein 4s;

  display: flex;
  flex-direction: column;
}

footer,
header {
  flex: 0;
}

header {
  padding: 3vw;
}

header nav {
  display: inline-flex;
  width: 100%;
  justify-content: space-evenly;
  left: 0;
  right: 0;
}

header nav a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 30px;
  text-decoration: none;
  color: rgb(255, 255, 255, 0.5);
  display: inline-block;
  text-align: center;
  transition: color 0.5s;
}

@media (max-width: 800px) {
  header nav a {
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    margin-top: 3%;
  }
}

header nav a img {
  opacity: 0.5;
  width: 20px;
  height: 100%;
  transition-duration: 0.3s;
}

main {
  flex: 1;
  margin: 30px auto;
}

main > *:first-child {
  margin-top: 0;
}

main > *:last-child {
  margin-bottom: 0;
}

footer {
  padding: 1vw 3vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: white;
  font-size: small;
  text-align: center;
  width: fit-content;
  margin: auto;
  display: block;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Internet Explorer */
@-ms-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
