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

body {
  background-color: #d9d9d9;
  min-height: 100vh;
  min-height: 100svh;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  isolation: isolate;
}

#dust-background,
#dust-foreground {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#dust-foreground {
  z-index: 2;
}

.icon {
  width: min(128px, 40vw);
  height: auto;
  position: relative;
  z-index: 1;
}

#download-btn {
  position: relative;
  z-index: 1;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #2b2b2b;
  background-color: #e5ba41;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#download-btn.clicked {
  color: #d9d9d9;
  background-color: #2b2b2b;
}

#download-btn.stretching {
  animation: btn-stretch 0.45s ease-in-out;
}

@keyframes btn-stretch {
  0% {
    transform: scale(1, 1);
  }
  28% {
    transform: scale(1.28, 1);
  }
  50% {
    transform: scale(1.1, 1.09);
  }
  66% {
    transform: scale(1, 1.16);
  }
  88% {
    transform: scale(1, 1.02);
  }
  100% {
    transform: scale(1, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  #download-btn.stretching {
    animation: none;
  }
}
