html {
  --s: 4px; /* Größe des Musters */
  --c1: #444444;
  --c2: #00c7fc;

  --color-bg: #f9f9f9;
  --color-primary: #271165;
  --color-link: #fff;
  --color-link-bg: #0893be;
  --color-link-hover: #fff;
  --color-link-bg-hover: #5a36a3;
  --radius: 1.2em;
  --gap: 1.2em;
  --font: "Inter", Arial, sans-serif;

  --g: #0000 66%, var(--c1) 68% 98%, #0000;
  background: radial-gradient(30% 30% at 0% 30%, var(--g)) var(--s)
      calc(9 * var(--s)),
    radial-gradient(30% 30% at 100% 30%, var(--g)) var(--s) calc(-1 * var(--s)),
    radial-gradient(30% 30% at 30% 100%, var(--g)) calc(10 * var(--s)) 0,
    radial-gradient(30% 30% at 30% 0%, var(--g)) var(--c2);
  background-size: calc(20 * var(--s)) calc(20 * var(--s));
  min-height: 100%;
  background-attachment: fixed;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  min-height: 100vh;
  /* Hintergrund bleibt im html-Element */
}

main {
  max-width: 420px;
  margin: 6em auto;
  padding: 2em 1em;
  background: /* #fff; */ rgba(255, 255, 255, 0.93);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(39, 17, 101, 0.08);
}

footer {
  max-width: 420px;
  margin: 6em auto;
  padding: 2em 1em;
  background: /* #fff;  rgba(255, 255, 255, 0.93);*/ rgba(8, 147, 190, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(39, 17, 101, 0.08);
}

main > section + section {
  margin-top: 3em; /* Abstand nach Bedarf anpassen */
}

a {
  text-decoration: none;
  color: black;
}

.profile,
footer {
  text-align: center;
  margin-bottom: var(--gap);
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.7em;
}

.heading-section {
  font-size: 1.2em;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.3em;
  margin-bottom: var(--gap);
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.linktree {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 95%;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.link-list a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 1em;
  background: var(--color-link-bg);
  color: var(--color-link);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 1px 6px rgba(39, 17, 101, 0.05);
}

.link-list a:hover,
.link-list a:focus {
  background: var(--color-link-bg-hover);
  color: var(--color-link-hover);
  outline: none;
}

/* Mobile: bis 480px */
@media (max-width: 480px) {
  main {
    max-width: 100%;
    margin: 1em;
    padding: 1.2em 0.3em;
  }

  .profile-img {
    width: 72px;
    height: 72px;
  }

  .link-list {
    gap: 0.8em;
  }

  .link-list a {
    font-size: 1em;
    padding: 0.8em;
    width: 80%;
  }
}

/* Sehr große Displays: ab 1200px */
@media (min-width: 1200px) {
  main,
  footer {
    max-width: 600px;
    margin: 4em auto;
    padding: 3em 2em;
  }

  .profile-img {
    width: 240px;
    height: 240px;
  }

  .link-list a {
    font-size: 1.3em;
    padding: 1.2em;
  }
}

/* Weitere Styles für den SocialMedia Icons am Ende*/

.social-icons {
  display: flex;
  justify-content: center;
  margin-top: var(--gap);
  color: #5a36a3;
}

.social-icons ul {
  display: flex;
  gap: 2em;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons li {
  display: flex;
  align-items: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222; /* Monochrom, kann angepasst werden */
  opacity: 0.8;
  transition: color 0.2s, opacity 0.2s, transform 0.2s;
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.social-icons a:hover,
.social-icons a:focus {
  color: #00c7fc; /* Beispiel: Akzentfarbe beim Hover */
  opacity: 1;
  background: rgba(0, 199, 252, 0.08);
  transform: scale(1.08);
}

.social-icons svg {
  display: block;
  width: 32px;
  height: 32px;
}
