.github-anchor {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 1000;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.github-anchor img {
  display: block;
  width: 100%;
  height: 100%;
}

.github-anchor:hover,
.github-anchor:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

@media (max-width: 520px) {
  .github-anchor {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .github-anchor {
    transition: none;
  }
}
