@font-face {
  font-family: minecraftia;
  src: url("../font/minecraftia.ttf");
}

* {
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  height: 100%;
}

body {
  font-family: "minecraftia", sans-serif;
  font-size: 16px;
  color: #fff;
  text-shadow: 2px 2px #3F3F3F;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #ffff55;
}

.bg {
  position: fixed;
  width: 100%;
  height: 100%;
  background: url("../img/checker.svg");
  background-size: 88px;
  background-repeat: space;
  z-index: -222;
}

.bg::before {
  content: "";
  position: absolute;
  top: 88px;
  left: 88px;
  right: 88px;
  bottom: 88px;
  background: #fff;
}

main {
  margin: auto;
  position: fixed;
  text-align: center;
  z-index: 222;
}

section {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  height: 100%;
  z-index: 444;
}

.logo {
  margin: auto;
  padding: 59px 0px;
  width: 444px;
  height: 444px;
}

.menu {
  margin: auto;
  text-align: center;
}

.btn {
  margin: 0px 8px 8px 8px;
  width: 176px;
  height: 40px;
  line-height: 50px;
  background: url("../img/btn.svg") center no-repeat;
  background-size: 176px;
  display: inline-block;
  cursor: pointer;
}

.btn:hover {
  color: #ffff55;
  cursor: pointer;
}

.instructionz ul {
  margin: 180px auto 88px;
  max-width: 69%;
}

.instructionz li {
  margin: 22px auto;
  display: block;
}

.modz {
  max-height: 80%;
  background: rgba(255, 255, 255, 0);
  overflow: scroll;
}

.modz ul {
  margin: 140px auto 69px;
  max-width: 69%;
}

.modz li {
  margin: 0px 8px;
  display: inline-block;
}

footer {
  margin: 0px 8px;
  position: absolute;
  bottom: 0;
  z-index: 222;
}

@media (max-width: 888px) {

  body {
    font-size: 13px;
  }

  .bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background: url("../img/checker.svg");
    background-size: 44px;
    background-repeat: space;
    z-index: -222;
  }

  .bg::before {
    content: "";
    position: absolute;
    top: 44px;
    left: 44px;
    right: 44px;
    bottom: 44px;
    background: #fff;
  }

  .logo {
    margin: auto;
    padding: 30px 0px;
    width: 300px;
    height: 300px;
  }

  .btn {
    margin: 22px auto;
    width: 132px;
    height: 30px;
    line-height: 38px;
    background-size: 132px;
    display: block;
  }

  .instructionz ul {
    margin: 88px auto;
    max-width: 69%;
  }

  .modz ul {
    margin: 88px auto 22px;
  }

}
