@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");

*,
*:after,
*:before {
  box-sizing: border-box;
}

:root {
  --x: 0;
  --y: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.discord-card {
  font-family: "JetBrains Mono";
  pointer-events: visible;
  transition: all 0.3s ease;
}

.discord-card:hover {
  box-shadow: 0 10px 20px rgba(51, 50, 50, 0.767);
  color: #2b2b2b;
}

.animate-in {
  animation: fadeIn 0.5 s ease forwards;
}

@media (orientation: portrait) {
  article {
    min-height: 330px;
  }
}

.parallax_image {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  object-position: center;
  user-select: none;
  pointer-events: none;
}
.human {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, 0);

  height: 100%;
  object-fit: scale-down;
  object-position: center 43%;
  user-select: none;
  pointer-events: none;
}

.assets > img:first-of-type {
  filter: saturate(1.5) brightness(0.9);
  object-position: calc(-50% + (var(--x) * 30px)) calc(43% + (var(--y) * -20px));
}

.assets > img:last-of-type {
  object-position: calc(-50% + (var(--x) * 50px)) calc(43% + (var(--y) * -50px));
}

.assets h3 {
  position: absolute;
  left: 50%;
  top: 6%;
  margin: 0;
  font-size: 8rem;
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
  color: white;
  transform: translate(calc(-50% + (var(--x) * -30px)), calc(var(--y) * -20px));
}

.content {
  min-height: 32%;
  position: absolute;
  bottom: 0;
  width: 100%;
  color: white;
  display: grid;
  gap: 0.2rem;
  place-items: center;
  align-content: center;
  padding-bottom: 0.5rem;
  z-index: 2;
}

.content svg {
  width: 20px;
}

.content p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  position: relative;
}

.content p:first-of-type::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 1rem);
  left: 50%;
  width: 6ch;
  background: white;
  height: 1px;
  transform: translate(-50%, 0);
}

.content p:last-of-type {
  opacity: 0.8;
}

/* Blurring */
.blur {
  --layers: 5;
  position: absolute;
  inset: 0;
}

.blur .layer {
  --stop: calc(sin(((var(--index)) / var(--layers)) * 90deg) * 15);
  position: absolute;
  inset: 0;
  background: hsla(0, 0%, 0%, 0.05);
  backdrop-filter: blur(calc(var(--blur) * 1px));
  mask: radial-gradient(
    150% 130% at 45% 90%,
    #fff 15%,
    #0000 calc((15 + var(--stop)) * 1%)
  );
}

.assets {
  position: absolute;
  inset: 0;
  border-radius: 4em;
  overflow: hidden;
}

.bear-link {
  color: canvasText;
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  opacity: 0.8;
}

:where(.x-link, .bear-link):is(:hover, :focus-visible) {
  opacity: 1;
}
.bear-link svg {
  width: 75%;
}
#spotify-songs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  font-family: "Space Mono", monospace;
}
