* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: lch(53.85% 114.14 323.64);
  color: #222;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

#all-contents {
  max-width: 1500px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 40px;
}
main {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(420px, 1.6fr);
  align-items: center;
  min-height: calc(100vh - 160px);
  gap: clamp(32px, 5vw, 80px);
}

.sidebar {
  position: relative;
  width: 100%;
}

.sidebar::before,
.sidebar::after {
  content: "";
  position: absolute;
  left: 54%;
  pointer-events: none;
  z-index: 2;
}

.sidebar::before {
  top: 22%;
  width: 27%;
  aspect-ratio: 2.8 / 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(14px);
  box-shadow: 0 0 12px 4px rgba(255, 255, 255, 0.18);
}

.sidebar::after {
  top: 20%;
  width: 23%;
  aspect-ratio: 2.8 / 1;
  transform: translateX(-50%) rotate(-4deg);
  border: clamp(3px, 0.45vw, 6px) solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow:
    0 0 4px rgba(255, 255, 255, 0.45),
    0 0 10px rgba(255, 255, 255, 0.3);
}

.sidebar:hover::before {
  background: rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 38px 18px rgba(255, 190, 0, 0.8);
}

.sidebar:hover::after {
  border-color: #ffd700;
  box-shadow:
    0 0 8px #fff4a3,
    0 0 18px #ffd700,
    0 0 36px rgba(255, 166, 0, 0.95);
}

.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

h2 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000;
}

.content > p {
  margin: 0;
  color: #fff;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.9),
    0 0 16px rgba(255, 255, 255, 0.75),
    0 0 28px rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.4;
}
#interests {
  margin-top: 32px;
  width: 100%;
}

#interests h3 {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #000;
}

#interests ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#interests li {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 20px;
  background: linear-gradient(135deg, #19002f, #52005f 55%, #d41475);
  border: 1px solid #f15aa9;
  border-radius: 100px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  cursor: default;
}

#interests li::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -80%;
  background:
    radial-gradient(circle at 20% 35%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 45% 70%, #ffb7e2 0 1.5px, transparent 3px),
    radial-gradient(circle at 75% 25%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 85% 75%, #ff8dcc 0 1.5px, transparent 3px),
    radial-gradient(circle at 10% 80%, #fff 0 1px, transparent 2.5px),
    radial-gradient(circle at 35% 15%, #ff8dcc 0 1.5px, transparent 3px),
    radial-gradient(circle at 60% 55%, #fff 0 1px, transparent 2.5px),
    radial-gradient(circle at 95% 40%, #ffb7e2 0 2px, transparent 3px),
    radial-gradient(circle at 5% 20%, #ffb7e2 0 1.5px, transparent 3px),
    radial-gradient(circle at 25% 85%, #fff 0 1px, transparent 2.5px),
    radial-gradient(circle at 50% 40%, #ff8dcc 0 2px, transparent 3px),
    radial-gradient(circle at 70% 90%, #fff 0 1.5px, transparent 3px),
    radial-gradient(circle at 80% 60%, #ffb7e2 0 1px, transparent 2.5px),
    radial-gradient(circle at 15% 60%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 40% 50%, #ff8dcc 0 1px, transparent 2.5px),
    radial-gradient(circle at 90% 15%, #fff 0 1.5px, transparent 3px),
    radial-gradient(circle at 8% 45%, #fff 0 1px, transparent 2.5px),
    radial-gradient(circle at 18% 5%, #ff8dcc 0 1.5px, transparent 3px),
    radial-gradient(circle at 28% 30%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 32% 65%, #ffb7e2 0 1px, transparent 2.5px),
    radial-gradient(circle at 48% 5%, #fff 0 1.5px, transparent 3px),
    radial-gradient(circle at 55% 80%, #ff8dcc 0 2px, transparent 3px),
    radial-gradient(circle at 65% 15%, #fff 0 1px, transparent 2.5px),
    radial-gradient(circle at 72% 45%, #ffb7e2 0 1.5px, transparent 3px),
    radial-gradient(circle at 78% 5%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 88% 65%, #ff8dcc 0 1px, transparent 2.5px),
    radial-gradient(circle at 98% 85%, #fff 0 1.5px, transparent 3px),
    radial-gradient(circle at 12% 95%, #ffb7e2 0 2px, transparent 3px),
    radial-gradient(circle at 58% 30%, #fff 0 1px, transparent 2.5px),
    radial-gradient(circle at 68% 70%, #ff8dcc 0 1.5px, transparent 3px),
    radial-gradient(circle at 92% 50%, #fff 0 2px, transparent 3px);
  opacity: 0;
  transform: translateX(-35%) rotate(18deg);
}

#interests li:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 12px rgba(255, 64, 170, 0.9),
    0 0 30px rgba(113, 0, 156, 0.85),
    0 0 52px rgba(255, 20, 147, 0.55);
}

#interests li:hover::before {
  animation: interest-sparkle-sweep 0.9s linear infinite;
}

@keyframes interest-sparkle-sweep {
  0% {
    opacity: 0.45;
    transform: translateX(-70%) rotate(18deg) scale(0.8);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 0.45;
    transform: translateX(70%) rotate(18deg) scale(1.1);
  }
}
.sidebar-img {
  width: 100%;
  max-width: 760px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  filter: grayscale(50%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition:
    filter 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.sidebar-img:hover {
  filter: grayscale(0%);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.sidebar-img {
  width: 100%;
  max-width: 760px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.sidebar-img:hover {
  filter: grayscale(0%) contrast(1.15)
    drop-shadow(0 0 24px rgba(255, 182, 220, 1));
  animation: soccer-aura-pulse 1.5s ease-in-out infinite alternate;
  will-change: transform, filter, box-shadow;
}

@keyframes soccer-aura-pulse {
  0% {
    transform: translateY(-3px) scale(1.005);
    filter: grayscale(0%) contrast(1.15)
      drop-shadow(0 0 30px rgba(255, 182, 220, 1));
    box-shadow:
      0 0 46px rgba(255, 182, 220, 1),
      0 0 105px rgba(255, 105, 180, 0.95),
      0 0 190px rgba(255, 20, 147, 0.8);
  }
  100% {
    transform: translateY(-5px) scale(1.02);
    filter: grayscale(0%) contrast(1.15)
      drop-shadow(0 0 48px rgba(255, 182, 220, 1));
    box-shadow:
      0 0 72px rgba(255, 182, 220, 1),
      0 0 150px rgba(255, 105, 180, 1),
      0 0 260px rgba(255, 20, 147, 0.9);
  }
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  padding: 16px 24px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
}

nav h1 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #000;
}

#nav-ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nav-li a {
  color: hsl(0, 0%, 0%);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.nav-li a:hover {
  background: #c802f0;
  color: #fff;
}
nav {
  background: linear-gradient(135deg, #19002f, #52005f 55%, #d41475);
  border-color: #f15aa9;
  box-shadow:
    0 0 12px rgba(255, 64, 170, 0.65),
    0 0 30px rgba(113, 0, 156, 0.6);
}

nav h1 {
  color: #fff;
}

.name-highlight {
  color: #ffd700;
}

.nav-li a {
  color: #fff;
}

.nav-li a:hover {
  background: #f15aa9;
  color: #ffffff;
}
/* Portfolio styles */
.content h1 {
  color: black;
}

#portfolio {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#portfolio li {
  border-radius: 12px;
  overflow: hidden;
}

#portfolio a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #444;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 500;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

#portfolio a:hover {
  background: #000;
  color: hsl(0, 0%, 0%);
  transform: translateX(4px);
}

#portfolio a::after {
  content: "->";
  font-size: 0.85rem;
  opacity: 0.4;
  transition: opacity 0.25s ease;
  white-space: nowrap;
}

#portfolio a:hover::after {
  opacity: 1;
}
