:root {
  --pr-color: #EEE5DA;
  --second-color: #2C211B;
  --light-color: #CEB99D;
  --mid-color: #B48B67;
  --cubicbz: cubic-bezier(.9, 0, .1, 1);
  --fz-big: 60px;
  --pd: 50px;
}

* {
  box-sizing: border-box;
  font-family: "noka", sans-serif;
  margin: 0;
  padding: 0;
  font-feature-settings: "pnum" on, "lnum" on;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden !important;
  background: rgba(8, 25, 30, 1);
  background: linear-gradient(var(--pr-color), var(--light-color));
}

.bg {
  position: absolute;
  width: 100%;
  height: 100%;
  filter: blur(70px);
  transform: scale(2);
  opacity: .6;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header {
  height: fit-content;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  position: absolute;
  z-index: 100;
  width: 2vw;
  left: 5vw;
  top: 5vh;
  transition: all .2s ease-in-out;
  mix-blend-mode: difference;
}

.header a {
  display: flex;
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.4s var(--cubicbz),
    transform 0.4s var(--cubicbz),
    font-weight 0.2s;
  font-family: "noka", sans-serif;
  text-decoration: none;
  color: rgb(187, 187, 187);
  font-size: 1vw;
  pointer-events: none;
  white-space: nowrap;
}

.header:hover {
  width: fit-content;
  transition: all .4s ease-in-out;
}

.header svg {
  width: 4vw;
  height: auto;
  cursor: pointer;
  color: rgb(187, 187, 187);
  transition: none;
}

.header:hover a {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

header a:hover {
  opacity: 0.6;
  color: var(--pr-color);
}

.nav {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;

}



.content {
  display: flex;
}

.section {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.section_bl {
  width: 100%;
  height: 100%;
}

.title {
  position: absolute;
  margin: 0;
  top: 50%;
  left: 10vw;
  line-height: 1;
  font-size: 8vh;
  mix-blend-mode: difference;
  transform: translateY(-50%);
  z-index: 4;
  color: var(--second-color);
}

.title span {
  display: block;
  color: var(--second-color);
}



.text {
  position: absolute;
  bottom: 10vw;
  right: 10vw;
  line-height: 1.5;
  color: var(--pr-color);
  mix-blend-mode: difference;
  z-index: 5;
}

[data-scroll-container] {
  overflow-y: hidden !important;
  overflow-x: hidden !important;
}

.c-scrollbar {
  opacity: 1;
  mix-blend-mode: difference;
  pointer-events: none;
}

.c-scrollbar_thumb {
  opacity: 1;
  background-color: rgb(178, 178, 178);
}

.vertical {
  width: 100vw;
  min-width: 100vw;
  height: 100%;
}

.vertical .inner-section {
  position: relative;
  width: 100vw;
  height: 100vh !important;
}

.image {
  position: absolute;
  width: 40%;
  height: 90%;
  top: 50%;
  right: 5vw;
  overflow: hidden;
  transform: translateY(-50%);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .2);
}

.image__bl {
  will-change: transform;
}

.image__bl img {
  display: block;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.image__bl video {
  display: block;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}


.horizontal_img .image__bl {
  position: absolute;
  width: 200%;
  height: 100%;
  top: 0;
  left: 0;
  transform: translateX(-55%);
}

.horizontal_img .image__bl.distortion {
  width: 200%;
  height: 100%;
  transform: translateX(-45%);
}

.vertical_img .image__bl {
  position: absolute;
  height: 950px;
  top: 0;
  left: 0;
  will-change: transform;
}

.vertical_img .image__bl img {
  scale: 1.5;
  transform: none;
  min-height: 100%;
  max-height: none;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  object-fit: cover;
}

.vertical_img .image__bl video {
  scale: 1.5;
  transform: none;
  min-height: 100%;
  max-height: none;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  object-fit: cover;
}

.vertical .title {
  transform: translateY(-100%);
  font-size: 4vw;
}

.forma {
  font-family: "grappa-variable", sans-serif;
  font-weight: 400;
  font-size: 10vh;
}

h2 {
  font-weight: 600;
  color: var(--second-color);
}

.footer {
  position: absolute;
  bottom: 10vw;
  right: 10vw;
}

.title2 {
  font-size: 3vw;
  font-weight: 400;
}

#about .horizontal_img {
  margin-right: 50vw;
}

#intro {
  width: 50vw;
}

#intro .title2 {
  font-size: 2vh;
  font-weight: 400;
  padding: 10px;
  width: 40vw;
  height: auto;
}

#intro .title2 {
  font-size: 2vh;
  font-weight: 400;
  padding: 10px;
  width: 40vw;
  height: auto;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  overflow-wrap: break-word;
  letter-spacing: .1em;
  line-height: 1.5;
}


#loading-screen {
  position: fixed;
  inset: 0;
  color: var(--second-color);
  background: linear-gradient(var(--pr-color), var(--light-color));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  z-index: 9999;
}

.loader-bar {
  width: 200px;
  height: 8px;
  background: var(--light-color);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto 16px auto;
}

.loader-bar-progress {
  width: 0%;
  height: 100%;
  background: var(--second-color);
  transition: width 0.3s ease;
}

@keyframes loading-bar {
  0% {
    width: 0%;
  }

  80% {
    width: 100%;
  }

  100% {
    width: 0%;
  }
}

#mobile-warning {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(var(--pr-color), var(--light-color));
  color: var(--second-color);
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2vw;
  font-family: "noka", sans-serif;
}

#mobile-warning p {
  margin: 0;
  line-height: 1.4;
}