@font-face {
    font-family: 'Minecraftia';
    font-style: normal;
    font-weight: 400;
    src: local('Minecraftia'), url('https://cdnfonts.com') format('woff');
}

body {
  font-family: 'Minecraftia';
  background: black;
  color: white;
  max-width: 640px;
  margin: 0;
  padding: 25px;
  line-height: 1.5;
  overflow-x:visible;
}

.info-banner {
    position: relative;
    width: 100%;
    background-color: #7c7c7c;
    padding: 15px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    gap: 10px;
}

.banner-img {
    height: 25px;
    width: auto;
}
a {
  color: rgb(42, 127, 255);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.download-info {
  background-color: #2b2b2b;
  padding: 20px;
  margin-bottom: 20px;
}

.download-info h1 {
  margin-top: 0;
  font-size: 24px;
}

.download-info-text {
  font-size: 13px;
  color: rgb(186, 183, 183);
  padding-left: 20px;
}

.download-buttons {
  display: flex;
  flex-direction: column; 
  align-items: flex-start;
  gap: 20px;
}


.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.6rem 0.8rem;
  background-color: #2e8bff;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
  -webkit-font-smoothing: antialiased;
  width: 150px;
  cursor: pointer;
}

.download-button-recommended {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.6rem 0.8rem;
  background-color: #0d9b4d;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
  -webkit-font-smoothing: antialiased;
  width: 150px;
  cursor: pointer;
}

.dashboard {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.6rem 0.8rem;
  background-color: #0d9b4d;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
  -webkit-font-smoothing: antialiased;
  width: 220px;
  cursor: pointer;
}

.download-button:hover,
.download-button-recommended:hover,
.download-button:focus,
.download-button-recommended:focus {
  transform: translateY(-2px);
  text-decoration: none;
  opacity: 0.9;
}


.download-button[aria-disabled="true"] {
  background: #454545;
  color: #999;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.65;
  box-shadow: none;
  transform: none;
}

/* Moving Godot-style checkerboard grid */
.moving-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;

  --grid-density: 1;
  --grid-size: 100px;
  --color-1: rgb(51, 51, 51);
  --color-2: rgb(26, 26, 26);

  background-color: var(--color-2);
}

.moving-grid::before {
  content: "";
  position: absolute;
  inset: -200%;
  width: 400%;
  height: 400%;

  background-image:
    conic-gradient(
      from 90deg,
      var(--color-1) 25%,
      var(--color-2) 0 50%,
      var(--color-1) 0 75%,
      var(--color-2) 0
    );

  background-size:
    calc(var(--grid-size) * 2)
    calc(var(--grid-size) * 2);

  animation: grid-slide 5s linear infinite;
}

@keyframes grid-slide {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-100px, -100px);
  }
}
