* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Minecraftia';
  src: url('/assets/minecraft/Minecraftia.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Minecraftia', monospace;
  color: white;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

body {
  background-color: #222222;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.logo {
  text-align: center;
  margin-top: 5vh;
}

.logo img {
  width: 42vw;
  max-width: 680px;
  image-rendering: pixelated;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 1vh;
  align-items: center;
  margin-top: 10vh;
  width: 80vw;
  max-width: 700px;
}

.menu button {
  width: clamp(560px, 45vw, 700px);
  aspect-ratio: 700 / 60;
  font-size: clamp(22px, 2vw, 24px);;
  font-family: 'Minecraftia', monospace;
  background: url("/assets/minecraft/textures/button.png") no-repeat center center;
  background-size: 100% 100%;
  border: none;
  color: #fff;
  text-shadow: 0.1rem 0.1rem #000;
  cursor: pointer;
  image-rendering: pixelated;
  transition: transform 0.05s ease;
}

.menu button:hover {
  background: url("/assets/minecraft/textures/button_highlighted.png") no-repeat center center;
  background-size: 100% 100%;
}

.menu button:active {
  transform: translate(0.1rem, 0.1rem);
  text-shadow: 0.05rem 0.05rem #000;
}

.bottom-left, .bottom-right {
  position: fixed;
  font-size: 1.2rem;
  color: #FFF;
}

.bottom-left {
  left: 1vw;
  bottom: 1vh;
  text-align: left;
}

.bottom-right {
  right: 1.2vw;
  bottom: 1vh;
  text-align: right;
}

.content .highlight-link {
  color: #FFFFC5;
  text-decoration: underline;
  cursor: pointer;
}

.side-buttons {
  position: fixed;
  top: 2%;
  transform: translateY(-20%);
  right: .4vw;
  display: flex;
  flex-direction: column;
  gap: 1vh;
}

.mc-side-btn {
  width: 64px;
  height: 64px;
  background: url("/assets/minecraft/textures/sqbutton.png") no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  image-rendering: pixelated;
  position: relative;
  transition: transform 0.05s ease;
}

.mc-side-btn img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  image-rendering: pixelated;
  position: absolute;
  z-index: 1;
}

.mc-side-btn:hover {
  background: url("/assets/minecraft/textures/sqbutton_highlighted.png") no-repeat center center;
  background-size: cover;
}

.mc-side-btn:active {
  transform: translate(0.15vh, 0.15vh);
  text-shadow: 0.1vh 0.1vh #000;
}

@media (max-width: 1920px) {
  .side-buttons {
    top: 2.4%;
    right: .6vw;
    transform: translateY(-14%);
  }
}