* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  font-family: neue-haas-grotesk-display, sans-serif;
  font-style: normal;
  line-height: normal;
}

@font-face {
  font-family: editorialBold;
  src: url('"../assets/fonts/PPEditorialOld-Bold.ttf');
}

/** BASE STYLES **/
:root {
  --black: #111010;
  --richBlack: #000000;
  --orange: #f64423;
  --beige: #fff4e5;
  --red: rgb(136, 19, 20);
  --cyan: #09b0c2;
}

body {
  margin: 0;
  padding: 0;
  font-weight: 400;
  /*  cursor: none; */
}

.editorialBold {
  font-family: url("../assets/fonts/PPEditorialOld-Bold.ttf");
}

.paperOverlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.1;
  background-size: cover;
  background-repeat: repeat;
  background-position: center;
  /*  transform: rotate(90deg); */
  background-image: url(../assets/images/paper-overlay.jpg);
  mix-blend-mode: hard-light;
  pointer-events: none;
}

.onboard-body {
  /*   background-color: var(--red);
  transition: background-color 0.3s ease; */
}

/** CURSOR **/
.circle {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

/* NAVIGATION */
nav {
  width: 97vw;
  margin: 2rem;
  z-index: 30;
  position: fixed;
  color: var(--beige);
  display: flex;
  justify-content: space-between;
  border-top: var(--beige) 1px solid;
  font-weight: 200;
  mix-blend-mode: difference;
}

a {
  color: var(--beige);
  cursor: pointer;
  padding-top: 0.5rem;
  text-decoration: none;
  mix-blend-mode: difference;
}

.nav-title-left {
  width: 70vw;
}

.nav-title-home {
  border-left: var(--beige) 1px solid;
  padding-left: 0.5rem;
}

.nav-title-right {
  border-right: var(--beige) 1px solid;
  padding-right: 0.5rem;
}

nav div {
  display: flex;
  justify-content: space-between;
}

nav h2 {
  font-weight: normal;
}

div {
  position: relative;
  height: auto;
  width: 100%;
  margin: 0;
}

/* SCROLL BARS */
.barContainer {
  background-color: var(--beige);
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 20px;
  background: var(--cyan);
}

/* BUTTON */
.btn-1 {
  font-size: 20px;
  border: 1px var(--beige) solid;
  border-radius: 6px;
  color: var(--beige);
  padding: 0.5rem 5rem 0.5rem 5rem;
  background-color: transparent;
  transition: 0.6s ease-in-out;
}

.btn-1:hover {
  cursor: pointer;
  background-color: var(--red);
  transition: 0.6s ease-in-out;
}

/* LAYOUT */
section {
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  padding: 2rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  transition: background-color 1s ease;
}

.layout-row {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: row;
}

.layout-50 {
  width: 50%;
}

.layout-33 {
  width: 33%;
}

.align-top {
  align-self: flex-start;
}

.align-btm {
  align-self: flex-end;
}

/* LANDING PAGE STYLES */
.landing-title {
  position: relative;
  margin: 0 auto;
  z-index: 5;
}

/* Gradient background layer */
#gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

.landing-section {
  color: var(--beige);
  font-size: 48px;
  text-align: center;
  padding: 2rem;
  background-color: transparent; /* OR try a solid fallback color */
  isolation: isolate;
}

.landing-one {
  text-align: center;
  display: grid;
}

.blend-wrapper {
  position: relative;
  z-index: 0;
}

.landing-img {
  top: 4rem;
  left: 0;
  position: absolute;
  flex-shrink: 0;
  opacity: 0.79;
  mix-blend-mode: hue;
  width: 100vw;
  height: auto;
  object-fit: cover;
  min-width: 100vw;
  max-width: none;
  transition: opacity 0.8s ease-in-out;
}

/* Class for fading out the landing image */
.landing-img.fade-out {
  opacity: 0;
}

.landing-bg {
  position: absolute;
  top: 0;
  left: -100px;
  width: 100vw;
  height: auto;
  mix-blend-mode: overlay;
}

.left {
  position: absolute;
  left: 2rem;
}

.right {
  position: absolute;
  right: 2rem;
}

.landing-photo {
  right: 0;
  mix-blend-mode: hard-light;
}

.landing-scroll-instruct {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.landing-scroll-instruct p {
  color: #75cce4;
  font-family: "Neue Haas Grotesk Display Pro";
  font-size: 24px;
  font-style: normal;
  font-weight: 450;
  line-height: normal;
}

.fade-on-scroll {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.fade-on-scroll.scrolled {
  opacity: 0;
  pointer-events: none;
}

.landing-onetwo {
}

.landing-onetwo img {
  position: absolute;
}

.landing-two {
  justify-content: space-between;
}

.landing-two img {
  z-index: -1;
  mix-blend-mode: hard-light;
}

.landing-two-bold {
  font-weight: 900;
}

.landing-map {
  position: absolute;
  left: 75px;
  opacity: 0.11;
}

.landing-two-bg-img {
  transform: rotate(35.968deg);
}

/* THREE  */
.landing-three {
  mix-blend-mode: difference;
  display: grid;
}

.overlap-el {
  grid-column: 1;
  grid-row: 1;
}

.landing-three-title {
  font-family: hellofont-id-jianghuzhaopaih, sans-serif;
  font-weight: 400;
  font-style: normal;
  mix-blend-mode: difference;
}

.landing-four {
  transition: background-color 0.3s ease;
  justify-content: space-evenly;
  display: grid;
  justify-items: center;
}

.landing-four-content {
  position: fixed;
}

#indexxtBtn {
  z-index: 10;
}

.bg-black {
  background-color: var(--richBlack);
}

#onboard-bg-vid {
  position: relative;
  text-align: center;
  z-index: -300;
  opacity: 0;
  mix-blend-mode: lighten;
}

/** AOUT SECTIO **/
.about-body {
  background-color: var(--red);
  color: var(--beige);
  transition: background-color 0.3s ease;
}

.about-title {
  font-size: 500px;
  position: relative;
  text-align: left;
  margin: 0 auto;
  font-family: neue-haas-grotesk-display, sans-serif;
  font-weight: 900;
  font-style: normal;
  color: var(--beige);
  mix-blend-mode: difference;
  text-transform: uppercase;
  z-index: 5;
}

.about-title-2 {
  font-size: 64px;
  z-index: 10;
}

.about-subheading {
  opacity: 0.6;
  font-size: 24px;
  font-style: italic;
}

.about-landing-img {
  opacity: 0.3;
}

.aboutSection {
  background-color: inherit;
  display: flex;
  position: relative;
  align-items: flex-start;
  flex-direction: column;
}

/** ABOUT SECTION TWO **/
.aboutSectionTwo {
  display: flex;
  flex-direction: row;
}

.aboutSectionTwo h2 {
  font-size: 66.158px;
}

.aboutSectionTwo span {
  font-style: italic;
}

.aboutSectionTwo img {
  max-width: 80%;
  height: auto;
}

/** ABOUT SECTION THREE **/
.aboutSectionThree {
  display: flex;
  flex-direction: column;
}

.aboutDiv {
  flex-direction: column;
  width: 40vw;
}

.about-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 5rem;
  font-size: 24px;
}

.about-text-title {
  font-style: italic;
  margin-bottom: 1rem;
}

.aboutSectionThree h1 {
  font-size: 445.586px;
}

/** CH NAVIGATION RIGHT **/
.hanzi-hr {
  width: 13rem;
  margin: 0 auto;
  opacity: 1; /* Start fully visible */
  transition: opacity 1.5s ease; /* Smooth fade transition */
}

.hr-wrapper {
  transform: rotate(90deg);
  margin-top: 6rem;
}

.ch-nav {
  top: 10rem;
  position: fixed;
  right: 3rem;
}

.ch-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: flex-end;
  flex-wrap: wrap;
  pointer-events: none;
  z-index: 3;
}

.side-bar-jia {
  color: #08ab54;
}

.side-hanzi-hr {
}

.side-hr-wrapper {
}

.exportbtn-right {
  display: flex;
  justify-content: end;
  margin: 1rem 1rem 1rem 0;
}

/** FIISH UTtO **/
.exportBtn {
  background-color: white;
  width: 57px;
  height: 57px;
  padding: 0.5rem;
  transition: ease-in-out 0.6s;
}

.exportBtn:hover {
  background-color: var(--red);
  transition: ease-in-out 0.6s;
  cursor: pointer;
}

.write-subheading {
  font-size: 48px;
  line-height: 112.473%;
  opacity: 0.5;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0); /* semi-transparent black */
  opacity: 0;
  pointer-events: none; /* prevent interaction when hidden */
  transition: opacity 0.5s ease; /* fade-in and fade-out transition */
  z-index: 9999; /* Ensure it covers other elements */
}

.visible {
  opacity: 1;
  pointer-events: auto; /* allow interaction when visible */
}

.stet {
  padding: 1rem;
  font-size: 1rem;
}
