/* Forgejo landing page in the az4aaz palette. Only applies to the page with .az-home. */

body:has(.az-home),
.az-home {
  background: #e6ddde;
  color: #3a3a3a;
}

body:has(.az-home) #navbar,
body:has(.az-home) .page-footer {
  background: transparent;
  border-color: transparent;
}

body:has(.az-home) .page-footer a,
.az-home a {
  color: #5a7c3c;
}

.az-home {
  padding: 18vh 1rem 2rem;
  text-align: center;
}

.az-marks {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}

.az-forgejo {
  width: 170px;
  height: auto;
  image-rendering: pixelated;
}

.az-mark {
  position: relative;
  display: inline-block;
}

.az-logo {
  width: 262px;
  height: auto;
}

.az-moon {
  position: absolute;
  top: -28px;
  right: -64px;
  width: 72px;
  height: auto;
}

.az-line {
  margin-top: 2rem;
  font-family: monospace;
  font-size: 0.95rem;
}

.az-home a {
  text-decoration: none;
}

.az-home a:hover {
  text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
  body:has(.az-home),
  .az-home {
    background: #12150e;
    color: #e6ddde;
  }

  body:has(.az-home) .page-footer a,
  .az-home a {
    color: #a3c57a;
  }
}

@media (max-width: 30rem) {
  .az-marks {
    gap: 1rem;
  }

  .az-forgejo {
    width: 110px;
  }

  .az-logo {
    width: 190px;
  }

  .az-moon {
    top: -22px;
    right: -34px;
    width: 52px;
  }
}
