:root {
  --bg-color: #000000;
  --text-color: #ffffff;
  --primary-color: #ffffff;
  --primary-text-color: #000000;
  --secondary-text-color: #cccccc;
  --hero-bg-gradient-start: #333333;
  --hero-bg-gradient-end: #000000;
  --logo-color: #ffffff;
  --glow-color: #fff;
  --main-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
body.light-theme {
  --bg-color: #f0f2f5;
  --text-color: #1c1e21;
  --primary-color: #000000;
  --primary-text-color: #ffffff;
  --secondary-text-color: #65676b;
  --hero-bg-gradient-start: #ffffff;
  --hero-bg-gradient-end: #d5d8de;
  --logo-color: #000000;
  --glow-color: #333;
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--main-font);
  background-color: var(--bg-color);
  background-image: radial-gradient(
    ellipse at center,
    var(--hero-bg-gradient-start) 0%,
    var(--hero-bg-gradient-end) 75%
  );
  background-attachment: fixed;
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
}
h1,
h2 {
  font-weight: 600;
}
a {
  text-decoration: none;
  color: var(--text-color);
}
ul {
  list-style: none;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: transparent;
}
.header__logo {
  font-family: "Dancing Script", cursive;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--logo-color);
  transition: color 0.3s;
}
.header__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__list {
  display: flex;
  gap: 1.5rem;
}
.nav__link {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 500;
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}
.nav__link.active-link {
  background-color: var(--primary-color);
  color: var(--primary-text-color);
}
.theme-switcher {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-icon {
  font-size: 1.5rem;
  color: var(--text-color);
}
#theme-icon-sun {
  display: none;
}
body.light-theme #theme-icon-moon {
  display: none;
}
body.light-theme #theme-icon-sun {
  display: block;
}
.header__toggle {
  display: none;
  cursor: pointer;
}
.header__toggle .material-symbols-outlined {
  font-size: 1.8rem;
  color: var(--text-color);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 2rem;
}
.mobile-menu.show-menu {
  right: 0;
}
.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--text-color);
  transition: transform 0.3s;
}
.mobile-menu__close:hover {
  transform: rotate(90deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.mobile-nav__list,
.mobile-nav__list--secondary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.mobile-nav__list {
  flex-direction: row;
  gap: 1rem;
}
.mobile-nav__list--secondary {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--secondary-text-color);
  gap: 1rem;
}
.mobile-nav__link {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}
.mobile-nav__link.active-link-mobile {
  background-color: var(--primary-color);
  color: var(--primary-text-color);
}
.main {
  isolation: isolate;
}
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}
.hero__content {
  position: relative;
  z-index: 1;
}
.hero__title {
  font-size: 6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff46;
}
.hero__subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--secondary-text-color);
  font-style: italic;
}
.hero__scroll-down {
  position: absolute;
  bottom: 2rem;
  z-index: 1;
  animation: bounce 3s infinite ease-in-out;
}
.hero__scroll-down svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--text-color);
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}
section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem 2rem;
  position: relative;
}
section h2 {
  font-size: 2.5rem;
}
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro");
.luminance-title {
  background: 50% 100% / 50% 50% no-repeat
    radial-gradient(
      ellipse at bottom,
      var(--text-color),
      transparent,
      transparent
    );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 6vw;
  font-family: "Source Sans Pro", sans-serif;
  animation: reveal 5000ms ease-in-out forwards 400ms,
    glow 4000ms ease-in-out forwards 2500ms;
}
@keyframes reveal {
  80% {
    letter-spacing: 8px;
  }
  100% {
    background-size: 300% 300%;
  }
}
@keyframes glow {
  40% {
    text-shadow: 0 0 10px var(--glow-color);
  }
}
@media screen and (max-width: 768px) {
  .nav {
    display: none;
  }
  .header__toggle {
    display: block;
  }
  .hero__title {
    font-size: 2.2rem;
  }
  .hero__subtitle {
    font-size: 1rem;
  }
}
