:root {
  color-scheme: dark;
  --bg: #100a15;
  --card: #211227;
  --purple: #7b20ba;
  --purple-soft: #9b6bdd;
  --violet: #8d1fc1;
  --teal: #2fa79b;
  --teal-2: #51bbb1;
  --teal-3: #007a67;
  --teal-4: #078a78;
  --danger: #ff174d;
  --blue: #899cff;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 550;
  letter-spacing: 0;
}

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

.bio {
  display: grid;
  gap: 6px;
  margin: 0 auto;
  max-width: 424px;
  min-height: 100vh;
  padding: 8px 12px 20px;
}

.panel {
  border-radius: 5px;
  overflow: hidden;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
}

h2 {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

h3 {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.profile {
  align-items: flex-start;
  background: var(--purple);
  display: flex;
  justify-content: space-between;
  min-height: 74px;
  padding: 10px 10px 9px;
}

.handle {
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}

.meta {
  font-size: 11px;
  margin-top: 13px;
}

.avatar-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  height: 30px;
  line-height: 0;
  padding: 0;
  transition: transform 160ms ease;
  width: 30px;
}

.avatar-button:hover {
  transform: rotate(6deg) scale(1.06);
}

.avatar-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.avatar {
  background: #d0bd98;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 999px;
  height: 30px;
  object-fit: cover;
  width: 30px;
}

.socials {
  background: var(--purple-soft);
  padding: 11px 10px 12px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.social-row a,
.social-row span {
  align-items: center;
  background: var(--violet);
  border-radius: 999px;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  transition:
    transform 160ms ease,
    background 160ms ease;
  width: 32px;
}

.social-row a:hover {
  background: #6d159c;
  transform: translateY(-2px);
}

.social-row i {
  font-size: 16px;
}

.memory-button {
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  color: var(--violet);
  display: none;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  line-height: 1.2;
  margin: 0 auto;
  max-width: 310px;
  min-height: 34px;
  opacity: 0;
  padding: 8px 14px;
  text-align: center;
  transition:
    opacity 180ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.memory-button.is-visible {
  display: flex;
  opacity: 1;
}

.memory-button:hover {
  box-shadow: 0 8px 22px rgba(67, 16, 99, 0.22);
  transform: translateY(-2px);
}

.skills {
  background: var(--teal);
}

.skills > h2 {
  padding: 10px 10px 13px;
}

.skill-band {
  min-height: 68px;
  padding: 10px 14px 12px;
}

.skill-band.good {
  background: var(--teal-2);
}

.skill-band.know {
  background: var(--teal-3);
}

.skill-band.meh {
  background: var(--teal-4);
}

.skill-band.bruh {
  background: var(--danger);
  min-height: 68px;
}

.skill-icons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

.skill-icons b,
.skill-icons i {
  align-items: center;
  color: white;
  display: inline-flex;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  min-height: 22px;
}

.skill-icons b {
  font-size: 13px;
}

.xd {
  background: var(--blue);
  padding: 12px 10px 14px;
}

.xd p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  line-height: 1.42;
  margin-top: 24px;
}

.projects {
  background: #1b0f22;
  padding: 11px 10px 10px;
}

.project {
  background: #24142c;
  display: grid;
  margin-top: 10px;
  overflow: hidden;
  position: relative;
}

.project img {
  aspect-ratio: 2.92 / 1;
  display: block;
  object-fit: cover;
  opacity: 0.82;
  width: 100%;
}

.project::after {
  background: linear-gradient(to bottom, transparent 30%, rgba(17, 8, 22, 0.88));
  content: "";
  inset: 0 0 34px;
  pointer-events: none;
  position: absolute;
}

.project-text {
  bottom: 42px;
  display: grid;
  gap: 2px;
  left: 10px;
  position: absolute;
  right: 10px;
  z-index: 1;
}

.project-text strong {
  font-size: 14px;
  font-weight: 900;
}

.project-text em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  line-height: 1.3;
}

.tags {
  align-items: center;
  color: var(--violet);
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 34px;
  padding: 7px 9px;
}

.tags b {
  color: #b22df5;
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 440px) {
  .bio {
    padding: 8px 8px 18px;
  }

  .skill-icons {
    gap: 8px;
  }
}
