/* styles.css - ArtFormat Rainbow Landing Page */

:root {
  --font-family: 'Helvetica Neue', Arial, sans-serif;
  --animation-speed: 20s;
}

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

html, body { height: 100%; }

body {
  height: 100vh;
  font-family: var(--font-family);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: hsl(0, 100%, 50%);
  animation: rainbowShift var(--animation-speed) linear infinite;
}

/* Rainbow animation via HSL hue rotation */
@keyframes rainbowShift {
  0% { background-color: hsl(0, 100%, 50%); }
  16% { background-color: hsl(60, 100%, 50%); }
  33% { background-color: hsl(120, 100%, 50%); }
  50% { background-color: hsl(180, 100%, 50%); }
  66% { background-color: hsl(240, 100%, 50%); }
  83% { background-color: hsl(300, 100%, 50%); }
  100% { background-color: hsl(360, 100%, 50%); }
}

.hero {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  font-size: clamp(2.4rem, 7vw, 8rem);
  letter-spacing: 0.1em;
  color: white;
  text-transform: none;
  text-align: center;
  font-weight: 700;
}

/* Prefers-reduced-motion support */
@media (prefers-reduced-motion: reduce) {
  body { animation: none; background: hsl(200, 100%, 50%); }
}


/* Ensure logo image displays and scales */
.logo img {
  display: block;
  max-width: min(80vw, 600px);
  width: 40vmin;
  height: auto;
  margin: 0 auto;
  vertical-align: middle;
  /* prevent CSS text styles from affecting image */
  color: initial;
  font-size: initial;
  line-height: initial;
}

/* Diskreter Kontakt-Link am unteren Rand */
.contact-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0.75rem 1rem;
  z-index: 10;
  pointer-events: none;
}

.contact-link {
  pointer-events: auto;
  font-family: var(--font-family);
  font-size: clamp(0.65rem, 1.5vw, 0.78rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  padding: 0.3em 0.7em;
  border-radius: 2px;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.contact-link:hover,
.contact-link:focus {
  color: rgba(255, 255, 255, 0.9);
  outline: none;
}

@media (max-width: 480px) {
  .contact-footer {
    padding: 0.5rem 1rem;
  }
}
