@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600&display=swap");

/* ========== LAYOUT ========== */

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

body {
  font-family: "Archive Grotesk", monospace;
  font-size: 1em;
  line-height: 1.4em;
  color: #eae8e5;
  background-color: #181818;
}

.intro {
  width: 80%;
  margin-top: 2em;
  margin-left: 2em;
}

.intro p {
  line-height: 1, 2;
  margin-bottom: 0.6em;
}

.text-button-row {
  position: fixed;
  display: flex;
  align-items: center;
  gap: 2em;
  margin-left: 2em;
  bottom: 2em;
  position: absolute;
}

p {
  font-family: "Archive Grotesk", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2em;
  line-height: 1.2;
}

.intro a,
.intro-link {
  color: #eae8e5;
  transition: color 0.3s ease;
}

.intro-link {
  text-decoration: none;
  font-style: italic;
}

.intro a:hover {
  color: #22ee22;
}

.linklist {
  position: fixed;
  bottom: 2em;
  display: flex;
  gap: 1em;
  font-size: 2em;
  line-height: 1.2;
}

/* ========== COMPONENTS ========== */

.circle-button {
  width: 24px;
  height: 24px;
  background-color: #22ee22;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.circle-button:hover + .impressum-link {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.impressum-link {
  font-family: "Archive Grotesk", sans-serif;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
  pointer-events: none;
  color: #eae8e5;
  text-decoration: none;
  font-size: 1.5em;
}

.impressum-link.visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.impressum-link:hover {
  color: #22ee22;
}

.text-button-row:hover .impressum-link {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Mobile Styles */
@media (max-width: 600px) {
  body {
    font-size: 0.9em; /* insgesamt etwas kleiner */
  }

  p {
    font-size: 1.2em; /* statt 2em -> passt auf kleine Screens */
    line-height: 1.5;
  }

  .linklist {
    position: fixed;
    bottom: 2em;
    left: 2em;
    display: flex;
    gap: 0.5em;
    font-size: 1.2em;
    line-height: 1.2;
  }

  .intro {
    width: 90%;
    margin: 1em auto; /* zentriert, weniger Rand */
  }

  .text-button-row {
    position: fixed;
    bottom: 1.5rem;
    left: 1rem;
    z-index: 10;
    margin: 0;
  }

  .impressum-link {
    font-size: 1em; /* kleiner */
  }
}
