* {
  box-sizing: border-box;
}

body {
  color: #000;
  background-color: rgb(255, 255, 255);
  font-size: 18px;
  overflow-x: hidden;
  margin: 0;
  font-family: 'Iosevka Aile', sans-serif;
}

.page-layout {
  display: flex;
  min-height: 100vh;
  gap: 2.5rem;
  max-width: 1800px;
  margin: 0 auto;
  padding: 2rem;
}

.left-column {
  position: relative;
  width: min(330px, 32vw);
  min-width: 250px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(110, 110, 110, 0.35);
}

.left-column::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 46px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(130, 130, 130, 0.35) 0%,
    rgba(130, 130, 130, 0.18) 28%,
    rgba(130, 130, 130, 0.08) 58%,
    rgba(130, 130, 130, 0) 100%
  );
}

.left-half {
  min-height: calc((100vh - 4rem) / 2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1rem 1.5rem 0;
}

.top-links-half {
  align-items: center;
}

.top-links-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.socials-half {
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  align-items: center;
  text-align: center;
}

.socials-half::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 46px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(130, 130, 130, 0.35) 0%,
    rgba(130, 130, 130, 0.18) 28%,
    rgba(130, 130, 130, 0.08) 58%,
    rgba(130, 130, 130, 0) 100%
  );
}

.left-title {
  margin: 0 0 0.35rem 0;
  font-size: 1.6rem;
  font-weight: 700;
  text-shadow: 1px 1px 13px rgba(0, 0, 0, 0.2);
}

.left-link {
  text-decoration: none;
  color: #111;
  width: fit-content;
  font-size: 1.22rem;
  font-weight: 500;
  transition: text-shadow 0.25s ease, font-weight 0.25s ease;
}

.left-link:hover {
  font-weight: 700;
  text-shadow:
    0 0 6px rgba(220, 38, 38, 0.9),
    0 0 10px rgba(185, 28, 28, 0.7),
    0 0 14px rgba(126, 34, 211, 0.6),
    0 0 18px rgba(59, 130, 246, 0.8),
    0 0 22px rgba(37, 99, 235, 0.6);
}

.link-glass-box {
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.2rem 1.45rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 12px 28px rgba(90, 90, 90, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.top-links-group .top-link-box {
  --glow-x: 50%;
  --glow-y: 50%;
}

.top-links-group .top-link-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.88;
  background:
    radial-gradient(
      210px 130px at var(--glow-x) var(--glow-y),
      rgba(244, 63, 94, 0.30) 0%,
      rgba(244, 63, 94, 0) 64%
    ),
    radial-gradient(
      220px 140px at calc(var(--glow-x) + 10%) calc(var(--glow-y) + 12%),
      rgba(59, 130, 246, 0.32) 0%,
      rgba(59, 130, 246, 0) 68%
    );
  mix-blend-mode: screen;
}

.top-links-group .top-link-box::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -16px;
  height: 36px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(
    95deg,
    rgba(244, 63, 94, 0.45) 0%,
    rgba(139, 92, 246, 0.34) 44%,
    rgba(37, 99, 235, 0.48) 100%
  );
  filter: blur(18px);
  opacity: 0.72;
  transform: translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.top-links-group .top-link-box.is-glow-active,
.top-links-group .top-link-box:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(80, 80, 80, 0.24),
    0 0 24px rgba(244, 63, 94, 0.26),
    0 0 28px rgba(37, 99, 235, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.top-links-group .top-link-box.is-glow-active::after,
.top-links-group .top-link-box:hover::after {
  opacity: 0.95;
  transform: translateY(1px);
}

.top-link-box {
  min-width: 180px;
  justify-content: center;
  align-items: center;
}

.link-with-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.social-link i {
  font-size: 1.05rem;
  width: 1.15rem;
  text-align: center;
}

.main-column {
  flex: 1;
  min-width: 0;
  text-align: left;
  padding-left: clamp(4.2rem, 9vw, 11rem);
  padding-top: 1rem;
}

.main-column .heading {
  color: #000;
  text-shadow: 1px 1px 13px rgba(0, 0, 0, 0.2);
  font-size: clamp(2.3rem, 4.2vw, 3.3rem);
  margin: 0 0 0.5rem 0;
}

.main-column .intro {
  color: #000;
  font-size: 1.18rem;
  margin: 0 0 0.6rem 0;
  line-height: 1.45;
  max-width: 68ch;
}

.aws-cert-link {
  text-decoration: none;
  color: #000;
  font-weight: 400;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: text-shadow 0.25s ease;
}

.aws-cert-link strong {
  font-weight: 700;
}

.aws-cert-link:hover {
  text-shadow:
    0 0 6px rgba(220, 38, 38, 0.9),
    0 0 10px rgba(185, 28, 28, 0.7),
    0 0 14px rgba(126, 34, 211, 0.6),
    0 0 18px rgba(59, 130, 246, 0.8),
    0 0 22px rgba(37, 99, 235, 0.6);
}

.profile-photo {
  width: min(300px, 48%);
  min-width: 240px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 9999px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin: 0 0 1rem 0;
}

@media (max-width: 900px) {
  .page-layout {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
  }

  .left-column {
    width: 100%;
    min-width: 0;
    border-right: none;
  }

  .left-column::after {
    display: none;
  }

  .left-half {
    min-height: auto;
    padding: 1rem 0;
  }

  .socials-half {
    border-top: 1px solid rgba(0, 0, 0, 0.18);
  }

  .main-column {
    padding-left: 0;
    padding-top: 0.25rem;
  }
}
