@charset "UTF-8";
/*------*/
/*Fonts*/
/*------*/
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2"), url("../fonts/Inter-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Italic.woff2") format("woff2"), url("../fonts/Inter-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Syne";
  src: url("../fonts/Syne-Regular.woff2") format("woff2"), url("../fonts/Syne-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* ================================ */
/* CSS Experiments – Template       */
/* ================================ */
* {
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #0f0f0f;
  color: #e8e8e8;
  min-height: 100vh;
}

/* -------------- */
/* Nav */
/* -------------- */
nav {
  padding: 1rem 2rem;
  border-bottom: 1px solid #222;
}

nav a {
  color: #888;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #e8e8e8;
}

/* -------------- */
/* Main */
/* -------------- */
main {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

main h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #cd6f9e, #553fa6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -------------- */
/* Effektbox    */
/* -------------- */
.demo {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1a1a1a;
}

.demo:last-child {
  border-bottom: none;
}

.demo h2 {
  font-size: 1rem;
  color: #888;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.demo p {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Inline Code in Beschreibungen */
.demo p code {
  background: #1a1a1a;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #cd6f9e;
}

/* -------------- */
/* Effect  */
/* -------------- */
.socials-container {
  display: flex;
  gap: 20px;
  padding-left: 2rem;
  padding-top: 4rem;
}
.socials-container a {
  background-color: #bea0c5;
  padding: 1em;
  border-radius: 50%;
  height: 64px;
  width: 64px;
  box-sizing: border-box;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}
.socials-container a svg {
  height: 32px;
  fill: #4b0e5a;
}
.socials-container a::before {
  content: attr(data-social);
  position: absolute;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  padding: 0.5em 1em;
  border-radius: 100px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-30px) rotate(25deg);
  opacity: 0;
  transition: 200ms cubic-bezier(0.6, 0.11, 0.25, 1.61);
}
.socials-container a::after {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--accent-color);
  transform: translateY(0) rotate(25deg);
  opacity: 0;
  transition: 200ms cubic-bezier(0.6, 0.11, 0.25, 1.61);
}
.socials-container a:hover {
  background-color: var(--accent-color);
}
.socials-container a:hover svg {
  fill: white;
}
.socials-container a:hover::before {
  transform: translateY(-65px) rotate(0);
  opacity: 1;
}
.socials-container a:hover::after {
  transform: translateY(-42px) rotate(0);
  opacity: 1;
}