* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: inherit;
}

#top-bg {
  z-index: -100;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #0b0b0b;
}

.bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(105%);
  transition: transform 1.6s cubic-bezier(0.33, 0.1, 0.15, 1), opacity 1.6s ease;
  will-change: transform, opacity;
}

.bg-slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

.bg-slide.is-exiting {
  opacity: 0;
  transform: translateX(-105%);
}

.bg-slide-bg {
  position: absolute;
  inset: -8%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  animation: bgKenBurns 30s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes bgKenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

#bg-dark-overlay {
  z-index: -99;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  transition: background-color 0.5s ease;
}

[data-theme="light"] #bg-dark-overlay {
  background-color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] #bg-dark-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

:root {
  --themeColor: 70, 192, 0;

  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f5;
  --color-bg-soft: #f0f0f0;
  --color-bg-dim: #f5f5f5;
  --color-bg-card: #ffffff;

  --color-text: #000000;
  --color-text-secondary: #333333;
  --color-text-muted: #666666;
  --color-text-subtle: #888888;
  --color-text-placeholder: #aaaaaa;

  --color-header-bg: rgba(255, 255, 255, 0.45);
  --color-header-shadow: rgba(0, 0, 0, 0.1);
  --color-nav-text: #000000;
  --color-menu-bg: #ffffff;
  --color-menu-text: #555555;
  --color-hamburger: #000000;
  --color-menu-close: #000000;

  --color-skill-tag-bg: rgba(0, 0, 0, 0.05);
  --color-skill-tag-text: #666666;

  --color-card-shadow: rgba(0, 0, 0, 0.05);
  --color-img-shadow: rgba(0, 0, 0, 0.1);
  --color-form-shadow: rgba(0, 0, 0, 0.1);

  --color-btn-inv-bg: #ffffff;

  --color-form-input-border: rgba(0, 0, 0, 0.1);
  --color-form-bg: #ffffff;
  --color-form-label: #333333;

  --color-count-num-bg: #000000;
  --color-count-line: #000000;
  --color-count-dot: #000000;

  --color-github-icon: invert(0) sepia(0) saturate(10000%) hue-rotate(0deg);
}

[data-theme="dark"] {
  --color-bg: #1e1e1e;
  --color-bg-alt: #282828;
  --color-bg-soft: #303030;
  --color-bg-dim: #282828;
  --color-bg-card: #282828;

  --color-text: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.8);
  --color-text-muted: rgba(255, 255, 255, 0.6);
  --color-text-subtle: rgba(255, 255, 255, 0.5);
  --color-text-placeholder: rgba(255, 255, 255, 0.3);

  --color-header-bg: rgba(30, 30, 30, 0.4);
  --color-header-shadow: rgba(0, 0, 0, 0.3);
  --color-nav-text: #ffffff;
  --color-menu-bg: #1e1e1e;
  --color-menu-text: rgba(255, 255, 255, 0.8);
  --color-hamburger: #ffffff;
  --color-menu-close: #ffffff;

  --color-skill-tag-bg: rgba(255, 255, 255, 0.05);
  --color-skill-tag-text: rgba(255, 255, 255, 0.6);

  --color-card-shadow: rgba(0, 0, 0, 0.3);
  --color-img-shadow: rgba(0, 0, 0, 0.3);
  --color-form-shadow: rgba(0, 0, 0, 0.4);

  --color-btn-inv-bg: #1e1e1e;

  --color-form-input-border: rgba(255, 255, 255, 0.1);
  --color-form-bg: #282828;
  --color-form-label: rgba(255, 255, 255, 0.8);

  --color-count-num-bg: rgba(255, 255, 255, 0.1);
  --color-count-line: rgba(255, 255, 255, 0.1);
  --color-count-dot: rgba(255, 255, 255, 0.1);

  --color-github-icon: invert(1) sepia(0) saturate(10000%) hue-rotate(0deg);
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

@media (max-width: 75em) {
  html {
    font-size: 60%;
  }
}

@media (max-width: 56.25em) {
  html {
    font-size: 58%;
  }
}

@media (max-width: 37.5em) {
  html {
    font-size: 56%;
  }
}

body {
  font-family: 'PT Sans', 'PingFang SC', 'Microsoft YaHei', 'Microsoft YaHei UI', 'Hiragino Sans GB', 'Source Han Sans CN', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  transition: background 0.3s ease, color 0.3s ease;
}

ul {
  list-style: none;
}

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

.btn {
  font-family: inherit;
  letter-spacing: 1px;
  font-weight: 700;
  border: none;
  box-shadow: none;
  cursor: pointer;
  padding: 1.8rem 4rem;
  font-size: 1.8rem;
  border-radius: 5px;
  border: 2px solid rgba(var(--themeColor), 1);
  display: inline-block;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 22px 0 rgb(0 0 0 / 20%);
}

.btn:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .btn:active {
    transform: none;
  }
}

@media (max-width: 37.5em) {
  .btn {
    padding: 2rem 4rem;
  }
}

.btn-theme {
  background: rgba(var(--themeColor), 1);
  color: #fff;
  box-shadow: 0 5px 15px 0 rgb(0 0 0 / 15%);
}

.btn-inv {
  color: rgba(var(--themeColor), 1);
  background: var(--color-btn-inv-bg);
}

.btn-sm {
  padding: 1.3rem 2rem;
  font-size: 1.6rem;
  border: none;
}

.main-container {
  max-width: 120rem;
  margin: auto;
  width: 90%;
}

.main-section {
  padding: 12rem 0;
}

.main-section__content {
  margin-top: 10rem;
}

@media (max-width: 37.5em) {
  .main-section {
    padding: 10rem 0;
  }

  .main-section__content {
    margin-top: 9rem;
  }
}

.heading-primary {
  font-size: 4.5rem;
  letter-spacing: 1px;
  line-height: 1.3;
  color: var(--color-text);
  font-weight: 400;
}

@media (max-width: 37.5em) {
  .heading-primary {
    font-size: 4rem;
  }
}

.heading-primary__sm {
  font-size: 2rem;
  display: block;
  margin-bottom: 2.5rem;
}

.heading-secondary {
  font-size: 4rem;
  letter-spacing: 1px;
  line-height: 1.3;
  color: var(--color-text);
  font-weight: 400;
}

.heading-secondary__sm {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 2.5rem;
}

.heading-tertiary {
  font-size: 3.4rem;
  letter-spacing: 1px;
  line-height: 1.3;
  color: var(--color-text);
  font-weight: 400;
}

.heading-quaternary {
  font-size: 2.5rem;
  letter-spacing: 1px;
  line-height: 1.3;
  color: var(--color-text);
  font-weight: 400;
}

@media (max-width: 37.5em) {
  .heading-secondary {
    font-size: 3.7rem;
  }

  .heading-tertiary {
    font-size: 3rem;
  }
}

.text-primary {
  font-size: 1.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.text-primary span {
  margin-bottom: 1.5rem;
  display: block;
}

.text-primary span:last-child {
  margin-bottom: 0;
}

@keyframes downToUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 10px 100px -5px var(--color-header-shadow);
  z-index: 1000;
  background: var(--color-header-bg);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.main-header__logo-container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.main-header__logo-img-cont {
  margin-right: 1.5rem;
  width: 4rem;
  height: 4rem;
  overflow: hidden;
  border-radius: 10rem;
  background: rgba(var(--themeColor), 1);
}

.main-header__sm-scr-nav-btn {
  padding: 1rem 1rem;
  display: none;
  cursor: pointer;
}

@media (max-width: 37.5em) {
  .main-header__sm-scr-nav-btn {
    display: block;
  }
}

.main-header__sm-scr-nav-btn-line {
  height: 1px;
  background: var(--color-hamburger);
  width: 3rem;
  border-radius: 50px;
}

.main-header__sm-menu {
  background: var(--color-menu-bg);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 40rem;
  transform: translateX(-100%);
  transition: transform 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-header__sm-menu-close {
  position: absolute;
  top: 3.3rem;
  right: 2.5rem;
  width: 3rem;
  height: 3rem;
}

.main-header__sm-menu-close:before,
.main-header__sm-menu-close:after {
  position: absolute;
  content: ' ';
  height: 3rem;
  width: 1px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-menu-close);
}

.main-header__sm-menu-close:before {
  transform: rotate(45deg);
}

.main-header__sm-menu-close:after {
  transform: rotate(-45deg);
}

.main-header__sm-menu--active {
  transform: translateX(0);
}

.main-header__sm-menu-links {
  width: 90%;
}

.main-header__sm-menu-link {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.3s, transform 0.3s;
  font-size: 2.5rem;
  text-align: center;
  display: block;
  padding: 3rem;
  color: var(--color-menu-text);
}

.main-header__sm-scr-nav-btn-line:first-child {
  margin-bottom: 8px;
}

@media (max-width: 37.5em) {
  .main-header {
    padding: 2.3rem 1.5rem;
  }

  .main-header__logo-img-cont {
    margin-right: 1rem;
  }
}

.main-header__logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-header__logo-texts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.main-header__logo-text {
  font-size: 2.2rem;
  letter-spacing: 1px;
  color: var(--color-text);
  font-weight: 400;
}

.main-header__logo-sub {
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  margin-top: 0.4rem;
  color: var(--color-text-muted);
}

.main-header__navigation-links {
  display: flex;
  align-items: center;
}

.main-header__navigation-link {
  padding: 1.3rem 2rem;
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--color-nav-text);
  font-weight: 400;
  position: relative;
  cursor: pointer;
  transition: color 0.25s ease;
}

.main-header__navigation-link a {
  position: relative;
  display: inline-block;
  transition: transform 0.25s ease;
}

.main-header__navigation-link:hover a {
  transform: scale(1.08);
}

.main-header__navigation-link a::after {
  content: '';
  position: absolute;
  left: 20%;
  bottom: -3px;
  width: 60%;
  height: 3px;
  background: rgba(var(--themeColor), 1);
  border-radius: 2px;
  transform: scaleX(0);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.main-header__navigation-link:hover a::after {
  transform: scaleX(1);
  opacity: 1;
}

@media (max-width: 56.25em) {
  .main-header__navigation-link {
    padding: 1.3rem 1.5rem;
  }
}

@media (max-width: 37.5em) {
  .main-header__navigation-links {
    display: none;
  }
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.6rem;
  margin-left: 1rem;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(var(--themeColor), 0.1);
}

.theme-toggle__icon {
  font-size: 2rem;
  line-height: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

[data-theme="light"] .theme-toggle__icon--sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle__icon--moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.3);
  position: absolute;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.3);
  position: absolute;
}

[data-theme="dark"] .theme-toggle__icon--moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

@media (max-width: 37.5em) {
  .theme-toggle {
    margin-right: 1rem;
  }
}

.github-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
}

.github-link:hover {
  background: rgba(var(--themeColor), 0.1);
  transform: scale(1.08);
}

.github-link__icon {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
  filter: var(--color-github-icon);
}

.main-header__logo-img-cont {
  cursor: pointer;
  transition: transform 0.25s ease;
}

.main-header__logo-img-cont:hover {
  transform: scale(1.08);
}

.home-hero {
  display: flex;
  height: 100vh;
  min-height: 80rem;
  max-height: 120rem;
  position: relative;
}

.home-hero .heading-primary,
.home-hero .heading-primary__sm,
.home-hero .heading-primary__main {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.home-hero .heading-primary__main {
  display: block;
  font-size: 7rem;
  line-height: 1.2;
  font-weight: 500;
}

.home-hero .heading-primary__sub {
  display: block;
  margin-top: 2.5rem;
  max-width: 60rem;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.home-hero__btn-theme {
  box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.4);
}

.home-hero__btn-inv {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.home-hero__btn-inv:hover {
  background: rgba(255, 255, 255, 0.25);
}

.home-hero__content {
  max-width: 120rem;
  margin: auto;
  width: 90%;

  animation: downToUp 0.8s;
}

@media (max-width: 37.5em) {
  .home-hero {
    height: unset;
    min-height: unset;
    max-height: unset;
  }

  .home-hero__content {
    margin: 0 auto;
    padding: 15rem 0 10rem 0;
  }

  .home-hero .heading-primary__main {
    font-size: 4.5rem;
  }

  .home-hero .heading-primary__sub {
    font-size: 1.7rem;
  }
}

.home-hero__heading-primary {
  margin-bottom: 5rem;
}

.home-hero__btn-theme {
  margin-right: 2rem;
}

@media (max-width: 37.5em) {
  .home-hero__heading-primary {
    margin-bottom: 4.5rem;
  }

  .home-hero__btn-theme,
  .home-hero__btn-inv {
    width: 100%;
  }

  .home-hero__btn-theme {
    margin: 0 0 2rem 0;
  }
}

.about {
  background: var(--color-bg-alt);
}

.about__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 8rem;
}

@media (max-width: 37.5em) {
  .about__info {
    grid-template-columns: 1fr;
    grid-gap: 6rem;
  }

  .about__btn-theme {
    width: 70%;
  }
}

.about__heading-quaternary {
  margin-bottom: 3rem;
}

.about__main-info {
  margin-bottom: 4rem;
}

.about__text-primary {
  margin-bottom: 4rem;
}

.about__info-heading {
  margin-bottom: 3rem;
  color: var(--color-text-muted);
}

.about__skills {
  display: flex;
  flex-wrap: wrap;
}

.about__skill {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1.5rem 2rem;
  margin-right: 2rem;
  margin-bottom: 2rem;

  background: var(--color-skill-tag-bg);
  color: var(--color-skill-tag-text);
  border-radius: 5px;
  font-weight: 500;
}

.skills-showcase {
  background: var(--color-bg-soft);
  padding: 5rem 3rem;
}

.skills-showcase__list {
  display: flex;
  justify-content: space-around;
}

.skills-showcase__list-item {
  padding: 3rem;
  border-radius: 5px;
  background: var(--color-bg-card);
  box-shadow: var(--color-card-shadow) 0px 7px 29px 0px;
}

.skills-showcase__list-item i {
  color: rgba(var(--themeColor), 1);
  font-size: 5rem;
}

@media (max-width: 75em) {
  .skills-showcase__list-item {
    padding: 1.5rem;
    border-radius: 5px;
    background: var(--color-bg-card);
  }

  .skills-showcase__list-item i {
    font-size: 5rem;
  }
}

@media (max-width: 56.25em) {
  .skills-showcase {
    padding: 5rem;
  }

  .skills-showcase__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 5rem;
  }

  .skills-showcase__list-item {
    text-align: center;
  }
}

@media (max-width: 37.5em) {
  .skills-showcase {
    padding: 4rem;
  }

  .skills-showcase__list {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 4rem;
  }
}

@media (max-width: 21.875em) {
  .skills-showcase__list-item i {
    font-size: 4rem;
  }
}

.projects__list-item {
  display: grid;
  grid-template-columns: 100%;
  grid-gap: 4rem;
  margin-bottom: 8rem;
}

.projects__list-item--inv {
  justify-content: flex-end;
}

@media (max-width: 75em) {
  .projects__list-item {
    grid-template-columns: 60%;
  }
}

@media (max-width: 56.25em) {
  .projects__list-item {
    grid-template-columns: 100%;
  }
}

.projects__list-item:last-child {
  margin-bottom: 0;
}

.projects__list-item-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 30rem;
  display: none;
}

.projects__list-item-count-num {
  font-size: 2rem;
  font-weight: 700;
  width: 5rem;
  height: 5rem;
  color: #fff;
  background: var(--color-count-num-bg);
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
}

.projects__list-item-count-line {
  flex-grow: 1;
  width: 2px;
  background: var(--color-count-line);
  border-radius: 50px;
}

.projects__list-item-count-end-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50px;
  background: var(--color-count-dot);
}

.projects__list-item--inv .projects__list-item-img-cont {
  margin: 0 0 0 auto;
}

.projects__list-item-img-cont {
  box-shadow: var(--color-img-shadow) 0px 5px 15px;
  box-shadow: var(--color-img-shadow) 0px 3px 8px;
}

.projects__list-item-img {
  width: 100%;
  display: block;
}

.projects__list-item-heading-tertiary {
  margin: 2rem 0 3rem 0;
}

@media (max-width: 37.5em) {
  .projects__list-item-heading-tertiary {
    margin: 2rem 0 2.5rem 0;
  }
}

.projects__title-text-divider {
  height: 5px;
  width: 3rem;
  background: rgba(var(--themeColor), 1);
  margin-bottom: 3rem;
  border-radius: 100px;
}

.projects__list-item-text-primary {
  margin-bottom: 4rem;
}

@media (max-width: 37.5em) {
  .projects__list-item-text-primary {
    margin-bottom: 3.7rem;
  }
}

.projects__list-item-text-primary span {
  margin-bottom: 1.5rem;
  display: block;
}

.projects__list-item-text-primary span:last-child {
  margin-bottom: 0;
}

.projects__btn-theme {
  margin-right: 2rem;
}

@media (max-width: 37.5em) {
  .projects__btn-theme {
    margin: 0 0 2rem 0;
  }

  .projects__btn-theme,
  .projects__btn-inv {
    width: 70%;
  }
}

.project-code {
  margin: 4rem 0 0 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-count-line);
  box-shadow: 0 12px 35px -12px var(--color-img-shadow);
}

.project-code__bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.6rem;
  font-size: 1.3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #f6f8fa;
  color: #57606a;
}

.project-code__dots {
  display: inline-flex;
  gap: 0.6rem;
}

.project-code__dots i {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
}

.project-code__dots i:nth-child(1) { background: #ff5f56; }
.project-code__dots i:nth-child(2) { background: #ffbd2e; }
.project-code__dots i:nth-child(3) { background: #27c93f; }

.project-code__file {
  font-family: 'Consolas', 'Menlo', monospace;
  letter-spacing: 0.3px;
}

.project-code__status {
  margin-left: auto;
  font-size: 1.2rem;
  opacity: 0.8;
}

.project-code__pre {
  margin: 0;
  max-height: 52rem;
  overflow: auto;
  background: #fff;
  padding: 2rem;
  font-size: 1.4rem;
  line-height: 1.7;
}

.project-code__pre code {
  font-family: 'Consolas', 'Menlo', 'Courier New', monospace;
  color: #24292f;
  display: block;
  white-space: pre;
}

/* 深色模式下载码框转白色 */
[data-theme="dark"] .project-code__pre {
  background: #fff;
}

[data-theme="dark"] .project-code__pre code {
  color: #24292f;
}

[data-theme="dark"] .project-code__bar {
  background: #f6f8fa;
  color: #57606a;
}

/* 浅色模式下载码框转黑色 */
[data-theme="light"] .project-code__pre {
  background: #0d1117;
}

[data-theme="light"] .project-code__pre code {
  color: #e6edf3;
}

[data-theme="light"] .project-code__bar {
  background: #161b22;
  color: #8b949e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .project-code__pre::-webkit-scrollbar,
.project-code__pre::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

[data-theme="light"] .project-code__pre::-webkit-scrollbar-thumb,
.project-code__pre::-webkit-scrollbar-thumb {
  background: rgba(139, 148, 158, 0.5);
  border-radius: 6px;
}

.timeline {
  background: var(--color-bg);
}

.timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline__list::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 3px;
  background: linear-gradient(180deg, rgba(var(--themeColor), 1), rgba(var(--themeColor), 0.15));
  border-radius: 100px;
}

.timeline__item {
  position: relative;
  padding-left: 5rem;
  margin-bottom: 4rem;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: 0.6rem;
  top: 1.3rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid rgba(var(--themeColor), 1);
  box-shadow: 0 0 0 4px rgba(var(--themeColor), 0.2);
}

.timeline__card {
  background: var(--color-bg-card);
  border-radius: 8px;
  padding: 2.5rem 3rem;
  box-shadow: 0 5px 25px -8px var(--color-img-shadow);
  border-left: 4px solid rgba(var(--themeColor), 1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px -10px var(--color-img-shadow);
}

.timeline__date {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(var(--themeColor), 1);
  padding: 0.4rem 1.4rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.timeline__title {
  margin: 0 0 1rem 0;
}

.timeline__card .text-primary {
  margin: 0;
}

.contact {
  background: var(--color-bg-dim);
}

.contact__form-cont {
  border-radius: 5px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  box-shadow: 0 10px 100px var(--color-form-shadow);
}

.contact__form {
  background: var(--color-form-bg);
  padding: 5rem;
}

@media (max-width: 56.25em) {
  .contact__form-cont {
    grid-template-columns: 2fr 1fr;
  }
}

@media (max-width: 37.5em) {
  .contact__form-cont {
    grid-template-columns: 1fr;
  }

  .contact__form {
    padding: 3rem;
  }
}

.contact__form-field {
  margin-bottom: 3rem;
}

.contact__form-field-label {
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--color-form-label);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;
}

.contact__form-field-input {
  display: block;
  padding: 2rem;
  width: 100%;
  border: 1px solid var(--color-form-input-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1.6rem;
  resize: none;
  border-radius: 5px;
  font-weight: 400;
  letter-spacing: 1px;
}

.contact__form-field-input::placeholder {
  color: var(--color-text-placeholder);
  font-weight: 400;
  font-size: 1.6rem;
}

.contact__form-field-input::-webkit-input-placeholder {
  color: var(--color-text-placeholder);
  font-weight: 400;
  font-size: 1.6rem;
}

.contact__form-field-input:-ms-input-placeholder {
  color: var(--color-text-placeholder);
  font-weight: 400;
  font-size: 1.6rem;
}

.contact__form-field-input::-ms-input-placeholder {
  color: var(--color-text-placeholder);
  font-weight: 400;
  font-size: 1.6rem;
}

.contact__form-field-input:-moz-placeholder {
  opacity: 1;
  color: var(--color-text-placeholder);
  font-weight: 400;
  font-size: 1.6rem;
}

.contact__form-field-input::-moz-placeholder {
  opacity: 1;
  color: var(--color-text-placeholder);
  font-weight: 400;
  font-size: 1.6rem;
}

.contact__form-field-input:focus {
  outline: none;
  border-color: rgba(var(--themeColor), 1);
}

.contact__form-submit {
  padding: 2rem;
  width: 100%;
  font-size: 1.6rem;
  border: none;
  letter-spacing: 1px;
  font-family: inherit;
  font-weight: 700;
  background: rgba(var(--themeColor), 1);
  color: #fff;
  margin-top: 4rem;
  display: block;
  border-radius: 5px;
  cursor: pointer;
}

.contact__form-visual {
  background-image: none;
  background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

@media (max-width: 37.5em) {
  .contact__form-visual {
    display: none;
  }
}

.contact__form-visual::after {
  content: '';
  position: absolute;
  z-index: 20;
  background: rgba(var(--themeColor), 0.5);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.main-footer__upper {
  background: var(--color-bg-soft);
  padding: 10rem 0;
}

.main-footer__links {
  display: flex;
  max-width: 50rem;
  align-items: center;
  justify-content: space-between;
  margin: auto;
}

.main-footer__link a {
  color: var(--color-text-secondary);
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  display: inline-block;
  transition: color 0.3s ease, transform 0.25s ease;
}

.main-footer__link a:hover {
  color: rgba(var(--themeColor), 1);
  transform: scale(1.08);
}

@media (max-width: 37.5em) {
  .main-footer__upper {
    padding: 7rem 0;
  }

  .main-footer__links {
    display: block;
  }

  .main-footer__link a {
    margin-bottom: 0.5rem;
    padding: 3rem 1.5rem;
    display: block;
  }
}

.main-footer__mid-line {
  background: var(--color-text-subtle);
  height: 1px;
  margin-top: 6rem;
}

.main-footer__socials {
  display: flex;
  align-content: center;
  justify-content: space-between;
  max-width: 25rem;
  margin: auto;
  margin-top: 6rem;
  gap: 1rem;
}

.main-footer__social-link {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(var(--themeColor), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.main-footer__social-link:hover {
  background: rgba(var(--themeColor), 1);
  transform: translateY(-3px);
}

.main-footer__social-link:hover .main-footer__social-link-icon {
  filter: brightness(0) invert(1);
}

.main-footer__social-link-icon {
  width: 2.5rem;
}

.main-footer__bottom {
  padding: 5rem 2rem;
  background: var(--color-bg);
}

.main-footer__bottom-txt {
  color: var(--color-text-muted);
  font-size: 1.3rem;
  word-spacing: 2px;
  text-align: center;
}

.main-footer__bottom-txt a {
  text-decoration: underline;
  color: rgba(var(--themeColor), 1);
  font-weight: 700;
}

.theme-swatches {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: 1rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--color-header-bg);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.theme-swatch {
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.theme-swatch:hover {
  transform: scale(1.25);
}

.theme-swatch.is-active {
  border-color: var(--color-text);
  box-shadow: 0 0 0 3px rgba(var(--themeColor), 0.35);
}

@media (max-width: 37.5em) {
  .theme-swatches {
    gap: 0.5rem;
    margin-left: 0.5rem;
    padding: 0.4rem 0.6rem;
  }
  .theme-swatch {
    width: 1.4rem;
    height: 1.4rem;
  }
}