/* Brittany Chiang-inspired Portfolio CSS */

/* CSS Variables */
:root {
  --dark-navy: #0a192f;
  --navy: #112240;
  --light-navy: #233554;
  --lightest-navy: #303c55;
  --navy-shadow: rgba(2, 12, 27, 0.7);
  --dark-slate: #495670;
  --slate: #8892b0;
  --light-slate: #a8b2d1;  
  --lightest-slate: #ccd6f6;
  --white: #e6f1ff;
  --green: #64ffda;
  --green-tint: rgba(100, 255, 218, 0.1);
  --pink: #f57dff;
  --blue: #57cbff;

  --font-sans: "Inter", "SF Pro Text", -apple-system, system-ui, sans-serif;
  --font-mono: "Fira Code", "SF Mono", "Fira Mono", "Roboto Mono", monospace;

  --fz-xxs: 12px;
  --fz-xs: 13px;
  --fz-sm: 14px;
  --fz-md: 16px;
  --fz-lg: 18px;
  --fz-xl: 20px;
  --fz-xxl: 22px;
  --fz-heading: 32px;

  --border-radius: 4px;
  --nav-height: 100px;
  --nav-scroll-height: 70px;

  --tab-height: 42px;
  --tab-width: 120px;

  --easing: cubic-bezier(0.645, 0.045, 0.355, 1);
  --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);

  --hamburger-width: 30px;

  --ham-before: top 0.1s ease-in 0.25s, opacity 0.1s ease-in;
  --ham-before-active: top 0.1s ease-out, opacity 0.1s ease-out 0.12s;
  --ham-after: bottom 0.1s ease-in 0.25s, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --ham-after-active: bottom 0.1s ease-out, transform 0.22s cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s;
}

/* Global styles */
html {
  box-sizing: border-box;
  width: 100%;
  scroll-behavior: smooth;
}

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

::selection {
  background-color: var(--lightest-navy);
  color: var(--lightest-slate);
}

:focus {
  outline: 2px dashed var(--green);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
  outline-offset: 0px;
}

:focus-visible {
  outline: 2px dashed var(--green);
  outline-offset: 3px;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--dark-slate) var(--navy);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background-color: var(--dark-slate);
  border: 3px solid var(--navy);
  border-radius: 10px;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  background-color: var(--dark-navy);
  color: var(--slate);
  font-family: var(--font-sans);
  font-size: var(--fz-xl);
  line-height: 1.3;
}

@media (max-width: 480px) {
  body {
    font-size: var(--fz-lg);
  }
}

body.loading * {
  cursor: wait !important;
}

#root {
  min-height: 100vh;
  padding-left: 200px;
}

@media (max-width: 1080px) {
  #root {
    padding-left: 0;
  }
}

main {
  margin: 0 auto;
  width: 100%;
  max-width: 1600px;
  min-height: 100vh;
  padding: 0 150px;
}

@media (max-width: 1080px) {
  main {
    padding: 0 100px;
  }
}
@media (max-width: 768px) {
  main {
    padding: 0 50px;
  }
}
@media (max-width: 480px) {
  main {
    padding: 0 25px;
  }
}

main.fillHeight {
  padding: 0 150px;
}

@media (max-width: 1080px) {
  main.fillHeight {
    padding: 0 100px;
  }
}
@media (max-width: 768px) {
  main.fillHeight {
    padding: 0 50px;
  }
}
@media (max-width: 480px) {
  main.fillHeight {
    padding: 0 25px;
  }
}

section {
  margin: 0 auto;
  padding: 100px 0;
  max-width: 1000px;
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  section {
    padding: 60px 0;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 10px 0;
  font-weight: 600;
  color: var(--lightest-slate);
  line-height: 1.1;
}

.container {
  width: 100%;
  max-width: 1000px;
}

/* Navigation Header */
.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 11;
  padding: 0px 50px;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  filter: none !important;
  pointer-events: auto !important;
  user-select: auto !important;
}

@media (max-width: 1080px) {
  .nav-header {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .nav-header {
    padding: 0 25px;
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: var(--lightest-slate);
  font-family: var(--font-mono);
  counter-reset: item 0;
  z-index: 12;
}

.nav-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-logo a {
  color: var(--green);
  text-decoration: none;
  display: block;
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  border: 2px solid var(--green);
  border-radius: 4px;
  font-size: 18px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-logo a:hover,
.nav-logo a:focus {
  background-color: var(--green-tint);
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 0 var(--green);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu ol {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu li {
  margin: 0 5px;
  position: relative;
  counter-increment: item 1;
  font-size: var(--fz-xs);
}

.nav-menu a {
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.nav-menu a:before {
  content: "0" counter(item) ".";
  margin-right: 5px;
  color: var(--green);
  font-size: var(--fz-xxs);
  text-align: right;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--green);
}

.nav-resume .cta-button {
  margin-top: 0;
  margin-left: 15px;
  font-size: var(--fz-xs);
}

@media (max-width: 768px) {
  .nav-header {
    height: var(--nav-scroll-height);
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-resume {
    display: none;
  }
}

/* Side Elements */
.fixed-social {
  width: 40px;
  position: fixed;
  bottom: 0;
  left: 40px;
  right: auto;
  z-index: 10;
  color: var(--light-slate);
}

@media (max-width: 1080px) {
  .fixed-social {
    left: 20px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .fixed-social {
    display: none;
  }
}

.fixed-social:after {
  content: '';
  display: block;
  width: 1px;
  height: 90px;
  margin: 0 auto;
  background-color: var(--light-slate);
}

.fixed-social ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fixed-social ul:after {
  content: '';
  display: block;
  width: 1px;
  height: 90px;
  background-color: var(--light-slate);
}

.fixed-social li {
  position: relative;
}

.fixed-social a {
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: var(--fz-xxs);
  line-height: var(--fz-lg);
  letter-spacing: 0.1em;
}

.fixed-social a:hover,
.fixed-social a:focus {
  transform: translateY(-3px);
  color: var(--green);
}

.fixed-social svg {
  width: 20px;
  height: 20px;
  transform: translateY(-4px);
}

/* Main Content */
main {
  margin: 0 auto;
  width: 100%;
  max-width: 1600px;
  min-height: 100vh;
  padding: 0 150px;
}

@media (max-width: 1080px) {
  main {
    padding: 0 100px;
  }
}

@media (max-width: 768px) {
  main {
    padding: 0 50px;
  }
}

@media (max-width: 480px) {
  main {
    padding: 0 25px;
  }
}

/* Mixed Mixins */
.button {
  color: var(--green);
  background-color: transparent;
  border: 1px solid var(--green);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.75rem;
  font-size: var(--fz-xs);
  font-family: var(--font-mono);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.button:hover,
.button:focus {
  background-color: var(--green-tint);
  outline: none;
}
.button:after {
  display: none !important;
}

/* Email link (fixed position) */
.email-link {
  position: fixed;
  bottom: 0;
  right: 40px;
  z-index: 10;
  writing-mode: vertical-rl;
  text-orientation: upright;
  opacity: 0.7;
  transition: var(--transition), opacity 0.3s ease;
}

.email-link.scrolled {
  opacity: 1;
  transform: translateX(-5px);
}

@media (max-width: 1080px) {
  .email-link {
    display: none;
  }
}

.email-link a {
  margin: 20px auto;
  padding: 10px;
  font-family: var(--font-mono);
  font-size: var(--fz-xxs);
  line-height: var(--fz-lg);
  letter-spacing: 0.1em;
  color: var(--light-slate);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email-link a::after {
  content: '';
  display: block;
  width: 1px;
  height: 90px;
  margin: 0 auto;
  background-color: var(--light-slate);
}

.email-link a:hover,
.email-link a:focus {
  transform: translateY(-3px);
  color: var(--green);
}

/* Social links (fixed position) */
.social-links-fixed {
  position: fixed;
  bottom: 0;
  left: 40px;
  z-index: 10;
  width: auto;
  opacity: 0.7;
  transition: var(--transition), opacity 0.3s ease, transform 0.3s ease;
}

.social-links-fixed.scrolled {
  opacity: 1;
  transform: translateX(5px);
}

@media (max-width: 1080px) {
  .social-links-fixed {
    display: none;
  }
}

.social-links-fixed ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links-fixed ul:after {
  content: '';
  display: block;
  width: 1px;
  height: 90px;
  margin: 0 auto;
  background-color: var(--light-slate);
}

.social-links-fixed ul li {
  margin: 0 0 10px 0;
  padding: 0;
}

.social-links-fixed ul li a {
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: var(--light-slate);
  transition: var(--transition);
}

.social-links-fixed ul li a:hover,
.social-links-fixed ul li a:focus {
  transform: translateY(-3px);
  color: var(--green);
}

.social-links-fixed ul li a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-links-fixed ul li a i {
  font-size: 20px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 11;
  padding: 0px 50px;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
  transform: translateY(0px);
  filter: none !important;
  pointer-events: auto !important;
  user-select: auto !important;
}

.header.header-hidden {
  transform: translateY(-100%);
}

@media (max-width: 1080px) {
  .header {
    padding: 0 40px;
  }
}
@media (max-width: 768px) {
  .header {
    padding: 0 25px;
  }
}

.header .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: var(--lightest-slate);
  font-family: var(--font-mono);
  counter-reset: item 0;
  z-index: 12;
}

.header .nav-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header .nav-logo a {
  color: var(--green);
  width: 42px;
  height: 42px;
  border: 2px solid var(--green);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: var(--fz-lg);
  font-weight: 600;
  transition: var(--transition);
}

.header .nav-logo a:hover,
.header .nav-logo a:focus {
  background-color: var(--green-tint);
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 0 var(--green);
}

.header .nav-menu ol {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.header .nav-menu ol li {
  margin: 0 5px;
  position: relative;
  counter-increment: item 1;
  font-size: var(--fz-xs);
}

.header .nav-menu ol li a {
  padding: 10px;
  text-decoration: none;
  color: var(--lightest-slate);
  transition: var(--transition);
}

.header .nav-menu ol li a:hover,
.header .nav-menu ol li a:focus {
  color: var(--green);
  outline: 0;
}

.header .nav-menu ol li a span {
  color: var(--green);
  font-size: var(--fz-xxs);
  margin-right: 5px;
}

.header .nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-cv-button {
  color: var(--green);
  background-color: transparent;
  border: 1px solid var(--green);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: var(--fz-xs);
  font-family: var(--font-mono);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.nav-cv-button:hover,
.nav-cv-button:focus {
  background-color: var(--green-tint);
  outline: none;
  transform: translateY(-1px);
}

/* Hero section */
.hero {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  padding-top: var(--nav-height);
}

@media (max-width: 768px) {
  .hero {
    padding-top: var(--nav-scroll-height);
  }
}

@media (max-width: 480px) and (max-height: 700px) {
  .hero {
    padding-bottom: 10vh;
  }
}

.hero h1 {
  margin: 0 0 30px 4px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: clamp(var(--fz-sm), 5vw, var(--fz-md));
  font-weight: 400;
}

@media (max-width: 480px) {
  .hero h1 {
    margin: 0 0 20px 2px;
  }
}

.hero h3 {
  margin-top: 10px;
  color: var(--slate);
  line-height: 0.9;
}

.hero p {
  margin: 20px 0 0;
  max-width: 540px;
}

.hero .hero-intro {
  margin: 0 0 30px 4px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: clamp(var(--fz-sm), 5vw, var(--fz-md));
  font-weight: 400;
}

.hero .hero-title {
  font-size: clamp(40px, 8vw, 80px);
}

.hero .hero-subtitle {
  font-size: clamp(24px, 5vw, 40px);
  margin-top: 10px;
  color: var(--slate);
  line-height: 1.2;
}

.hero .hero-description {
  margin: 30px 0 0;
  max-width: 540px;
}

.hero .cta-button {
  margin-top: 60px;
}

/* Section headings */
.section-heading {
  display: flex;
  align-items: center;
  position: relative;
  margin: 10px 0 40px;
  width: 100%;
  font-size: clamp(26px, 5vw, var(--fz-heading));
  white-space: nowrap;
}

.section-heading .section-number {
  position: relative;
  bottom: 4px;
  margin-right: 10px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: clamp(var(--fz-md), 3vw, var(--fz-xl));
  font-weight: 400;
}

@media (max-width: 480px) {
  .section-heading .section-number {
    margin-bottom: -3px;
    margin-right: 5px;
  }
}

.section-heading:after {
  content: '';
  display: block;
  position: relative;
  top: -5px;
  width: 300px;
  height: 1px;
  margin-left: 20px;
  background-color: var(--lightest-navy);
}

@media (max-width: 1080px) {
  .section-heading:after {
    width: 200px;
  }
}
@media (max-width: 768px) {
  .section-heading:after {
    width: 100px;
  }
}
@media (max-width: 600px) {
  .section-heading:after {
    width: 100%;
    margin-left: 10px;
  }
}

/* About section */
.about .about-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 50px;
}

@media (max-width: 768px) {
  .about .about-content {
    display: block;
  }
}

.about .about-content .about-text p {
  margin: 0 0 15px 0;
}

.about .about-content .about-text p:last-child,
.about .about-content .about-text p:last-of-type {
  margin: 0;
}

.about .about-content .about-text .skills-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 200px));
  gap: 0px 10px;
  padding: 0;
  margin: 20px 0 0 0;
  overflow: hidden;
  list-style: none;
}

.about .about-content .about-text .skills-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
}

.about .about-content .about-text .skills-list li:before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: var(--fz-sm);
  line-height: 12px;
}

.about .about-content .about-pic {
  position: relative;
  max-width: 300px;
}

@media (max-width: 768px) {
  .about .about-content .about-pic {
    margin: 50px auto 0;
    width: 70%;
  }
}

.about .about-content .about-pic .pic-wrapper {
  display: block;
  position: relative;
  width: 100%;
  border-radius: var(--border-radius);
  background-color: var(--green);
}

.about .about-content .about-pic .pic-wrapper:hover,
.about .about-content .about-pic .pic-wrapper:focus {
  background: transparent;
  outline: 0;
}

.about .about-content .about-pic .pic-wrapper:hover:after,
.about .about-content .about-pic .pic-wrapper:focus:after {
  top: 15px;
  left: 15px;
}

.about .about-content .about-pic .pic-wrapper:hover .img,
.about .about-content .about-pic .pic-wrapper:focus .img {
  filter: none;
  mix-blend-mode: normal;
}

.about .about-content .about-pic .pic-wrapper .img {
  position: relative;
  border-radius: var(--border-radius);
  mix-blend-mode: multiply;
  filter: grayscale(100%) contrast(1);
  transition: var(--transition);
}

.about .about-content .about-pic .pic-wrapper:before,
.about .about-content .about-pic .pic-wrapper:after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.about .about-content .about-pic .pic-wrapper:before {
  top: 0;
  left: 0;
  background-color: var(--navy);
  mix-blend-mode: screen;
}

.about .about-content .about-pic .pic-wrapper:after {
  border: 2px solid var(--green);
  top: 20px;
  left: 20px;
  z-index: -1;
}

.about .about-content .about-pic .pic-wrapper img {
  width: 100%;
  max-width: 100%;
  vertical-align: middle;
  border-radius: var(--border-radius);
  position: relative;
  mix-blend-mode: multiply;
  filter: grayscale(100%) contrast(1);
  transition: var(--transition);
}

/* Work/Projects section */
.work .projects-list .project {
  position: relative;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
}

@media (max-width: 768px) {
  .work .projects-list .project {
    box-shadow: 0 10px 30px -15px var(--navy-shadow);
    transition: var(--transition);
  }

  .work .projects-list .project:hover,
  .work .projects-list .project:focus {
    box-shadow: 0 20px 30px -15px var(--navy-shadow);
  }
}

.work .projects-list .project:not(:last-of-type) {
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .work .projects-list .project:not(:last-of-type) {
    margin-bottom: 70px;
  }
}

@media (max-width: 480px) {
  .work .projects-list .project:not(:last-of-type) {
    margin-bottom: 30px;
  }
}

.work .projects-list .project:nth-of-type(odd) .project-content {
  grid-column: 7 / -1;
  text-align: right;
}

@media (max-width: 1080px) {
  .work .projects-list .project:nth-of-type(odd) .project-content {
    grid-column: 5 / -1;
  }
}
@media (max-width: 768px) {
  .work .projects-list .project:nth-of-type(odd) .project-content {
    grid-column: 1 / -1;
    padding: 40px 40px 30px;
    text-align: left;
  }
}
@media (max-width: 480px) {
  .work .projects-list .project:nth-of-type(odd) .project-content {
    padding: 25px 25px 20px;
  }
}

.work .projects-list .project:nth-of-type(odd) .project-tech-list {
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .work .projects-list .project:nth-of-type(odd) .project-tech-list {
    justify-content: flex-start;
  }
}

.work .projects-list .project:nth-of-type(odd) .project-tech-list li {
  margin: 0 0 5px 20px;
}

@media (max-width: 768px) {
  .work .projects-list .project:nth-of-type(odd) .project-tech-list li {
    margin: 0 10px 5px 0;
  }
}

.work .projects-list .project:nth-of-type(odd) .project-links {
  justify-content: flex-end;
  margin-left: 0;
  margin-right: -10px;
}

@media (max-width: 768px) {
  .work .projects-list .project:nth-of-type(odd) .project-links {
    justify-content: flex-start;
    margin-left: -10px;
    margin-right: 0;
  }
}

.work .projects-list .project:nth-of-type(odd) .project-image {
  grid-column: 1 / 8;
}

@media (max-width: 768px) {
  .work .projects-list .project:nth-of-type(odd) .project-image {
    grid-column: 1 / -1;
  }
}

.work .projects-list .project .project-content {
  position: relative;
  grid-column: 1 / 7;
  grid-row: 1 / -1;
  z-index: 2;
}

@media (max-width: 1080px) {
  .work .projects-list .project .project-content {
    grid-column: 1 / 9;
  }
}

@media (max-width: 768px) {
  .work .projects-list .project .project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    grid-column: 1 / -1;
    padding: 40px 40px 30px;
    z-index: 5;
  }
}

@media (max-width: 480px) {
  .work .projects-list .project .project-content {
    padding: 30px 25px 20px;
  }
}

.work .projects-list .project .project-overline {
  margin: 10px 0;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  font-weight: 400;
}

.work .projects-list .project .project-title {
  color: var(--lightest-slate);
  font-size: clamp(24px, 5vw, 28px);
}

@media (min-width: 768px) {
  .work .projects-list .project .project-title {
    margin: 0 0 20px;
  }
}

@media (max-width: 768px) {
  .work .projects-list .project .project-title {
    color: var(--white);
  }

  .work .projects-list .project .project-title a {
    position: static;
  }

  .work .projects-list .project .project-title a:before {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
}

.work .projects-list .project .project-title a {
  text-decoration: none;
  color: inherit;
}

.work .projects-list .project .project-title a:hover,
.work .projects-list .project .project-title a:focus {
  color: var(--green);
}

.work .projects-list .project .project-description {
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .work .projects-list .project .project-description {
    padding: 20px 0;
    background-color: transparent;
    box-shadow: none;
  }

  .work .projects-list .project .project-description:hover {
    box-shadow: none;
  }
}

.work .projects-list .project .project-description strong {
  color: var(--white);
  font-weight: normal;
}

.work .projects-list .project .project-description p {
  position: relative;
  z-index: 2;
  padding: 25px;
  border-radius: var(--border-radius);
  background-color: var(--light-navy);
  color: var(--light-slate);
  font-size: var(--fz-lg);
}

@media (max-width: 768px) {
  .work .projects-list .project .project-description p {
    padding: 0;
    background-color: transparent;
    color: var(--lightest-slate);
  }
}

.work .projects-list .project .project-description p a {
  color: var(--white);
}

.work .projects-list .project .project-tech-list {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin: 25px 0 10px;
  padding: 0;
  list-style: none;
}

.work .projects-list .project .project-tech-list li {
  margin: 0 20px 5px 0;
  color: var(--light-slate);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .work .projects-list .project .project-tech-list li {
    margin: 0 10px 5px 0;
    color: var(--lightest-slate);
  }

  .work .projects-list .project .project-tech-list li:last-of-type {
    margin-right: 0;
  }
}

.work .projects-list .project .project-links {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 10px;
  margin-left: -10px;
  color: var(--lightest-slate);
}

.work .projects-list .project .project-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.work .projects-list .project .project-links a:hover,
.work .projects-list .project .project-links a:focus {
  color: var(--green);
}

.work .projects-list .project .project-links a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.work .projects-list .project .project-links a i {
  font-size: 22px;
}

.work .projects-list .project .project-image {
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
  transition: var(--transition);
  grid-column: 6 / -1;
  grid-row: 1 / -1;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--border-radius);
}

@media (max-width: 768px) {
  .work .projects-list .project .project-image {
    grid-column: 1 / -1;
    height: 100%;
    opacity: 0.25;
  }
}

.work .projects-list .project .project-image a {
  width: 100%;
  height: 100%;
  background-color: var(--green);
  border-radius: var(--border-radius);
  vertical-align: middle;
  display: block;
  position: relative;
  overflow: hidden;
}

.work .projects-list .project .project-image a:hover,
.work .projects-list .project .project-image a:focus {
  background: transparent;
  outline: 0;
}

.work .projects-list .project .project-image a:hover:before,
.work .projects-list .project .project-image a:focus:before,
.work .projects-list .project .project-image a:hover .img,
.work .projects-list .project .project-image a:focus .img {
  background: transparent;
  filter: none;
}

.work .projects-list .project .project-image a:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--navy);
  mix-blend-mode: screen;
  transition: var(--transition);
}

.work .projects-list .project .project-image .img,
.work .projects-list .project .project-image img {
  border-radius: var(--border-radius);
  mix-blend-mode: multiply;
  filter: grayscale(100%) contrast(1) brightness(90%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .work .projects-list .project .project-image .img,
  .work .projects-list .project .project-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: grayscale(100%) contrast(1) brightness(50%);
  }
}

.work .projects-list .project .project-image img {
  width: 100%;
  max-width: 100%;
  vertical-align: middle;
  transition: var(--transition);
}

/* Contact section */
.contact {
  max-width: 600px;
  margin: 0 auto 100px;
  text-align: center;
}

@media (max-width: 768px) {
  .contact {
    margin: 0 auto 50px;
  }
}

.contact .overline {
  display: block;
  margin-bottom: 20px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-md);
  font-weight: 400;
}

.contact .overline:before {
  bottom: 0;
  font-size: var(--fz-sm);
}

.contact .overline:after {
  display: none;
}

.contact .contact-title {
  font-size: clamp(40px, 5vw, 60px);
}

.contact .contact-description {
  margin-bottom: 50px;
}

.contact .contact-button {
  color: var(--green);
  background-color: transparent;
  border: 1px solid var(--green);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.75rem;
  font-size: var(--fz-xs);
  font-family: var(--font-mono);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.contact .contact-button:hover,
.contact .contact-button:focus {
  background-color: var(--green-tint);
  outline: none;
}

/* Footer */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: auto;
  min-height: 70px;
  padding: 15px;
  text-align: center;
}

.footer .footer-content p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fz-xxs);
  line-height: 1;
}

.footer .footer-content p a {
  color: inherit;
  text-decoration: none;
}

.footer .footer-content p a:hover,
.footer .footer-content p a:focus {
  color: var(--green);
}

@media (min-width: 1081px) {
  .footer .footer-social {
    display: none;
  }
}

.footer .footer-social ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.footer .footer-social ul li {
  margin: 0 10px;
}

.footer .footer-social ul li a {
  color: var(--light-slate);
  text-decoration: none;
  transition: var(--transition);
}

.footer .footer-social ul li a:hover,
.footer .footer-social ul li a:focus {
  color: var(--green);
}

.footer .footer-social ul li a i {
  font-size: 20px;
}

/* Utility classes */
.cta-button {
  color: var(--green);
  background-color: transparent;
  border: 1px solid var(--green);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.75rem;
  font-size: var(--fz-xs);
  font-family: var(--font-mono);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  margin-top: 50px;
  display: inline-block;
}

@media (max-width: 768px) {
  .cta-button {
    padding: 1rem 1.5rem;
    font-size: var(--fz-xxs);
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .cta-button {
    padding: 0.875rem 1.25rem;
    margin-top: 30px;
  }
}

.cta-button:hover,
.cta-button:focus {
  background-color: var(--green-tint);
  outline: none;
  transform: translateY(-1px);
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Responsive design */
@media (max-width: 1080px) {
  #root {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .section-heading:after {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .section-heading:after {
    width: 100%;
    margin-left: 10px;
  }
}

/* Experience section */
.experience .experience-content {
  max-width: 700px;
}

.experience .experience-item {
  margin-bottom: 50px;
}

.experience .experience-position {
  color: var(--lightest-slate);
  font-size: var(--fz-xxl);
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 2px 0;
}

.experience .experience-company {
  color: var(--green);
  font-size: var(--fz-lg);
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 5px 0;
}

.experience .experience-company a {
  color: inherit;
  text-decoration: none;
}

.experience .experience-company a:hover,
.experience .experience-company a:focus {
  text-decoration: underline;
}

.experience .experience-duration {
  color: var(--light-slate);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  margin: 0 0 30px 0;
}

.experience .experience-description {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experience .experience-description li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--slate);
  font-size: var(--fz-lg);
}

.experience .experience-description li:before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: var(--fz-sm);
  line-height: 12px;
}

/* Other Projects section */
.other-projects {
  margin-top: 80px;
}

.other-projects-title {
  margin: 0 auto 50px;
  font-size: clamp(24px, 5vw, 28px);
  color: var(--lightest-slate);
  text-align: center;
}

.other-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
  position: relative;
  margin-top: 50px;
}

@media (max-width: 1080px) {
  .other-projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

.other-project {
  position: relative;
  cursor: default;
  transition: var(--transition);
  background-color: var(--light-navy);
  border-radius: var(--border-radius);
  padding: 2rem 1.75rem;
  height: 100%;
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
}

.other-project:hover,
.other-project:focus-within {
  transform: translateY(-7px);
}

.other-project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.other-project .folder-icon {
  color: var(--green);
  font-size: 40px;
}

.other-project .project-links {
  display: flex;
  align-items: center;
  margin-right: -10px;
  color: var(--light-slate);
}

.other-project .project-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 7px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.other-project .project-links a:hover,
.other-project .project-links a:focus {
  color: var(--green);
}

.other-project .project-links a i {
  font-size: 22px;
}

.other-project-title {
  margin: 0 0 10px 0;
  color: var(--lightest-slate);
  font-size: var(--fz-xxl);
}

.other-project-title a {
  position: static;
  color: inherit;
  text-decoration: none;
}

.other-project-title a:before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.other-project-title a:hover,
.other-project-title a:focus {
  color: var(--green);
}

.other-project-description {
  color: var(--light-slate);
  font-size: 17px;
  line-height: 1.3;
}

.other-project-tech-list {
  display: flex;
  align-items: flex-end;
  flex-grow: 1;
  flex-wrap: wrap;
  padding: 0;
  margin: 20px 0 0 0;
  list-style: none;
}

.other-project-tech-list li {
  font-family: var(--font-mono);
  font-size: var(--fz-xxs);
  line-height: 1.75;
  margin-right: 15px;
  color: var(--light-slate);
}

.other-project-tech-list li:last-of-type {
  margin-right: 0;
}

/* Remove auto-numbering from Resume button */
.nav-cv-button::before {
  content: none !important;
}

/* Show More Button */
.show-more-container {
  text-align: center;
  margin-top: 50px;
}

.show-more-btn {
  background: transparent;
  border: 1px solid var(--green);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.75rem;
  font-size: var(--fz-xs);
  font-family: var(--font-mono);
  color: var(--green);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.show-more-btn:hover,
.show-more-btn:focus {
  background-color: var(--green-tint);
  transform: translateY(-2px);
  outline: none;
}

/* Additional projects that will be shown/hidden */
.additional-projects {
  display: none;
  margin-top: 15px;
}

.additional-projects.show {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
}

@media (max-width: 1080px) {
  .additional-projects.show {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}
