body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0f0f0f;
  color: #fff;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 60px 40px 60px; /* top right bottom left */
  border-bottom: 5px solid #333;
  position: relative;
  z-index: 20;
}


.title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  color: #00d4ff;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.nav a:hover {
  border-color: #00d4ff;
}

.nav-bracket,
.nav-sep {
  color: #555;
  font-weight: bold;
  user-select: none;
}

.nav-sep {
  margin: 0 6px;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 20px;
  }
  .title {
    position: static;
    transform: none;
    text-align: center;
  }
}

.name_slash_decor_right {
  background: linear-gradient(to top, #00d4ff, #66ffcc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.name_slash_decor_left {
  background: linear-gradient(to bottom, #00d4ff, #66ffcc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero section styles */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  text-align: center;
  margin: 0 auto;
  max-width: max(0px, calc(800px - 1.9 * var(--panel-width)));
  box-sizing: border-box;
}

.tagline {
  font-size: 2.2em;
  margin-bottom: 20px;
  font-weight: 600;
}

.intro-text {
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 1.1em;
  line-height: 1.5;
  max-width: 600px;
  color: #c0c0c0;
}

/* About me section */
.aboutme {
  max-width: max(0px, calc(900px - 1 * var(--panel-width)));
  margin: 40px auto 80px;
  padding: 0 20px;
  box-sizing: border-box;
}
.aboutme-section {
  margin-bottom: 40px;
}

.aboutme-title::before {
  content: "";
  display: block;
  width: 450px;
  height: 5px;
  background: linear-gradient(to right, #00d4ff, #66ffcc);
  margin-bottom: 10px;
}

.aboutme-title {
  font-size: 1.7em;
  margin-bottom: 15px;
  background: linear-gradient(to right, #00d5ff, #47b590);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.aboutme-title1 {
  font-size: 1.7em;
  margin-bottom: 15px;
  background: #4f4f4f;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.aboutme-title2 {
  font-size: 1.7em;
  margin-bottom: 15px;
  background: #3c3c3c;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.aboutme-desc {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.aboutme-desc li {
  margin-bottom: 15px;
  line-height: 1.5;
  color: #e0e0e0;
}

/* Resume sections */

.resume {
  max-width: max(0px, calc(900px - 1 * var(--panel-width)));
  margin: 40px auto 80px;
  padding: 0 20px;
  box-sizing: border-box;
}

.resume-section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.7em;
  margin-bottom: 15px;
  background: linear-gradient(to right, #00d4ff, #66ffcc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  padding-left: 40px; /* leave space for parallelogram decoration */
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(to bottom, #00d4ff, #66ffcc);
  transform: skewX(-20deg);
  transform-origin: left top;
}

.section-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.section-list li {
  margin-bottom: 15px;
  line-height: 1.5;
  color: #e0e0e0;
}

.section-list li strong {
  color: #66ffcc;
}

/* cta styling */
.paralellogram-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
  position: relative;
}

.cta-inner {
  background: rgba(0, 0, 0, 0.5);
  padding: 60px 40px;
  transform: skewY(-20deg);
  width: 80%;
  max-width: 600px;
  text-align: center;
}

.cta-inner > * {
  transform: skewY(20deg); /* correct text rotation */
}

.cta-title {
  font-size: 2em;
  margin-bottom: 10px;
  background: linear-gradient(to right, #00d4ff, #66ffcc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-text {
  font-size: 1.2em;
  color: #e0e0e0;
}

:root { --panel-width: 225px; --panel-bg: #333; --header-height: 120px; }

/* fixed panels under header, to bottom of viewport */
.side-panel {
  position: relative; /* use fixed to make appear */
  top: calc(var(--header-height) - 15px);
  bottom: 0;
  width: var(--panel-width);
  background: var(--panel-bg);
  z-index: 0; /* behind content */
  pointer-events: none;
}

.side-panel.left  { left: 0; }
.side-panel.right { right: 0; }

/* make sure everything else sits above panels */
body > *:not(.side-panel) {
  position: relative;
  z-index: 10;
}