:root {
  --blue: #1d34eb;
  --black: #000000;
  --white: #ffffff;
  --yellow: #DAFF02;
}

/* geist-mono-300 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/geist-mono-v3-latin-300.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* geist-mono-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/geist-mono-v3-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* gasoek-one-regular - latin */
@font-face {
  font-family: 'Gasoek One';
  font-style: normal;
  font-display: block;
  font-weight: 400;
  src: url('../fonts/gasoek-one-v3-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

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

html,
body {
  width: 100%;
  height: 100%;
  background-color: var(--black);
  color: #fff;
  scroll-behavior: smooth;
  font-family: "Geist Mono";
  position: relative;
}

body.nav-open {
  overflow: hidden;
  height: 100dvh;
}

.preloader {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  align-items: center;
  justify-content: center;
  display: flex;
  background-color: var(--blue);
}

.projectwrap {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  display: none;
  background-color: #000000aa;
}

.projectwrap.active {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.project-pane {
  width: 50%;
  height: 100%;
  background-color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 20px;
}

.left-pane {
  width: 30%;
  height: 100%;
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.left-pane h3 {
  font-family: "Gasoek One";
  font-weight: 400;
  text-transform: uppercase;
  font-size: 16px;
}

.left-pane p {
  font-size: 14px;
}

.left-pane ul {
  font-family: "Gasoek One";
  margin: 16px 0px;
}

.left-pane li {
  font-family: "Geist Mono";
  font-size: 14px;
  text-transform: uppercase;
}

.left-pane a {
  text-decoration: none;
  color: var(--white);
  font-family: "Gasoek One";
  font-weight: 100;
  text-transform: uppercase;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  transition: gap 250ms ease-in-out;
}

.left-pane a:hover {
  gap: 2px;
}

.left-pane a svg {
  width: 16px;
  height: 16px;
}

.right-pane {
  width: 70%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  justify-content: flex-start;
  flex: 1 0 0;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
  position: relative;
}

.right-pane::-webkit-scrollbar {
  display: none;
}

.right-pane button {
  position: sticky;
  top: 0%;
  right: 0;
  z-index: 1002;
  font-size: 24px;
  background-color: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
  padding: 5px 10px;
  cursor: pointer;
  transform: scale(1);
  transition: transform 250ms ease-out;
  outline: none;
}

.right-pane button svg {
  width: 16px;
  height: 16px;
}

.right-pane button:hover {
  transform: scale(1.05);
}

.right-pane img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 4px solid var(--white);
}

nav {
  width: 100%;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 999;
}

.right-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

section {
  padding: 0 60px;
}

.navbtn {
  padding: 10px 20px;
  color: var(--white);
  background-color: transparent;
  font-family: "Gasoek One";
  font-size: 1rem;
  box-shadow: none;
  text-transform: uppercase;
  outline: none;
  border: 1px dotted var(--white);
  cursor: pointer;
}

.logo {
  font-family: "Gasoek One";
  font-size: 24px;
  line-height: 100%;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
}

.logo a {
  color: var(--white);
}

.burger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75em 2em 1.5em 2em;
  outline: none;
  background-color: transparent;
  border: 1px solid #fff;
  width: 28px;
  height: 20px;
  transition: all 250ms ease-out;
  cursor: pointer;
}

.burger:before,
.burger:after {
  content: "";
  width: 40px;
  height: 2px;
  position: absolute;
  background-color: #fff;
  transition: all 250ms ease-out;
  will-change: transform;
}

.burger:before {
  transform: translateY(-3px);
}

.burger:after {
  transform: translateY(3px);
}

.active.burger:before {
  transform: translateY(0) rotate(45deg);
}

.active.burger:after {
  transform: translateY(0) rotate(-45deg);
}

.overlay {
  position: fixed;
  top: -120%;
  left: 0;
  width: 100%;
  min-height: 100dvh;
  z-index: 998;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  background-color: #1d34eb;
  will-change: transform;
  pointer-events: none;
}

.overlay.show {
  transform: translateY(0%);
  pointer-events: auto;
}

a {
  text-decoration: none;
}

.overlay-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.menu-item {
  width: inherit;
  display: flex;
  cursor: pointer;
}

.menu-item a {
  width: inherit;
  min-height: 5rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border-bottom: 1px solid white;
}

.navlinkname {
  font-size: clamp(6rem, 0rem + 5vw, 5rem);
  font-family: "Gasoek One";
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-1.5rem);
  transition: transform 250ms ease-out;
}

.menu-item a:hover .navlinkname {
  transform: translateX(0);
}

.navlinknumber {
  font-family: "Geist Mono";
  font-size: 16px;
}

.navicon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 8px;
}

.preloader h2 {
  font-family: "Gasoek One";
  font-size: clamp(6rem, 5.166rem + 1.6701vw, 5.5rem);
  color: #ffffff;
  letter-spacing: 0.3rem;
  display: flex;
  text-transform: uppercase;
}

.char {
  overflow: hidden;
  position: relative;
}

.clonetext {
  position: absolute;
  top: 0;
  left: 0;
}

.hero {
  width: 100%;
  padding-top: 158px;
}

.hero-top p {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 300;
}

h1 {
  font-family: "Gasoek One";
  color: var(--white);
  font-weight: 400;
  font-size: 96px;
  text-transform: uppercase;
  line-height: 105%;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 57px;
}

.hero-content p {
  text-transform: capitalize;
}

.primary-btn {
  border: none;
  outline: none;
  font-family: "Gasoek One";
  box-shadow: 0 4px 20px #1d35eba7;
  text-transform: uppercase;
  background-color: var(--blue);
  width: fit-content;
  color: var(--white);
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1%;
  cursor: pointer;
  transition: all 300ms ease-out;
  scale: 1;
}

.primary-btn:hover {
  background-color: var(--yellow);
  color: var(--black);
  box-shadow: 0 4px 20px #d9ff0289;
  scale: 1.04;
}

.img_wrap {
  margin-top: 64px;
  height: 1000px;
}

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

.lighttext {
  font-family: "Geist Mono";
  font-weight: 300;
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8rem;
  white-space: nowrap;
}

.works {
  margin: 185px 0px;
  width: 100%;
}

.heading2 {
  font-family: "Gasoek One";
  font-weight: 400;
  font-size: clamp(5rem, -1rem + 5vw, 4rem);
  line-height: 100%;
  text-transform: uppercase;
}

.project_grid {
  margin-top: 2rem;
  width: 100%;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.project_grid article img {
  width: 100%;
}

article {
  transition: all 1000ms ease-out;
  cursor: pointer;
}

article h3 {
  font-family: "Gasoek One";
  font-weight: 400;
  margin-top: 0.25rem;
  font-size: 24px;
  text-transform: uppercase;
}

article p {
  font-family: "Geist Mono";
  font-weight: 400;
  text-transform: capitalize;
}

article:hover img {
  padding: 2px;
  border: 1px solid var(--white);
}

.services {
  width: 100%;
  will-change: transform, opacity;
}

.service a svg {
  width: 16px;
  height: 16px;
}

.services_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 20px;
  margin-top: 2rem;
}

.service1,
.service3,
.service5,
.service7 {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
}

.service2,
.service4,
.service6,
.service8 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.service3 {
  grid-column-start: 2;
  grid-row-start: 2;
}

.service4 {
  grid-column-start: 3;
  grid-row-start: 2;
}

.service5 {
  grid-row-start: 3;
}

.service6 {
  grid-row-start: 3;
}

.service7 {
  grid-column-start: 2;
  grid-row-start: 4;
}

.service8 {
  grid-column-start: 3;
  grid-row-start: 4;
}

.darktext {
  font-family: "Geist Mono";
  font-weight: 300;
  display: block;
  color: #000;
  text-transform: uppercase;
  font-size: 0.8rem;
  white-space: nowrap;
}

.heading3 {
  font-family: "Gasoek One";
  font-weight: 400;
  line-height: 100%;
  font-size: 3.5rem;
  color: var(--blue);
  text-transform: uppercase;
}

.service .service_content {
  font-family: "Geist Mono";
  font-size: 1rem;
  letter-spacing: -0.02rem;
}

.service {
  width: 100%;
  height: 400px;
  color: #000;
  background-color: #ffffff;
  padding: 24px;
}

.service ul li {
  list-style: none;
  font-family: "Geist Mono";
  font-weight: 400;
  font-size: 1rem;
  text-transform: uppercase;
}

.service_link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  gap: 8px;
  color: var(--black);
  transition: all 250ms ease-out;
}

.service_link:hover {
  color: var(--blue);
  gap: 4px;
}

.aboutme {
  width: 100%;
  margin: 185px 0px;
}


.aboutme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.about_img {
  grid-column-start: 2;
  position: relative;
  width: 100%;
  height: 700px;
}

.archlogo {
  position: absolute;
  z-index: 1;
  width: 200px;
  height: 200px;
  bottom: 5%;
  left: -20%;
}

.about_img .avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.about_content {
  grid-column-start: 3;
  align-content: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about_content h3 {
  font-family: "Gasoek One";
  font-weight: 400;
  font-size: 56px;
  line-height: 120%;
  text-transform: uppercase;
}

.about_content p {
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 150%;
}

.about_content button {
  width: fit-content;
}

footer {
  width: 100%;
  height: 100dvh;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-transform: uppercase;
}

.footer_heading {
  font-family: "Gasoek One";
  font-weight: 400;
  font-size: 5rem;
  line-height: 100%;
  text-transform: uppercase;
}

.footer-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1.5rem 1rem;
}

footer svg {
  color: var(--yellow);
  width: 18px;
}

.footer-content {
  z-index: 1;
  gap: 1rem;
  grid-template-rows: .25fr 1fr .25fr;
  grid-template-columns: .35fr 1fr .35fr;
  grid-auto-columns: 1fr;
  align-content: space-between;
  width: 100%;
  height: 100%;
  display: grid;
  position: relative;
}

.div1 p,
.div3 p {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
}

.div2 {
  grid-area: 1 / 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.div3 {
  grid-area: 1 / 3;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.div3 p {
  justify-content: flex-end;
}

/* Center Content */
.footer-cta {
  grid-column: 2;
  grid-row: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* Bottom Row */
.div5 {
  grid-area: 3 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.sub-menu {
  grid-area: 3 / 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
}

.div7 {
  grid-area: 3 / 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  color: var(--white);
}

.div7 a {
  color: var(--white);
  transition: color 250ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.div7 a:hover,
.div7 a:hover svg {
  color: var(--yellow);
}

.div7 a svg {
  color: var(--white);
}

.div2 .logo {
  color: var(--white);
}

.cta-btn {
  font-family: "Gasoek One";
  font-weight: 400;
  text-transform: uppercase;
  color: var(--black);
  background-color: var(--yellow);
  padding: 10px;
  outline: none;
  border: none;
  font-size: 24px;
  transition: scale 0.3s linear;
  cursor: pointer;
}

.cta-btn:hover {
  scale: 1.1;
}

.ghost_btn {
  padding: 10px;
  border: 1px solid var(--white);
  text-transform: uppercase;
  background-color: transparent;
  color: var(--white);
  transition: all 250ms ease-in-out;
}

.ghost_btn:hover {
  background-color: var(--white);
  color: var(--blue);
}

.footer-bg {
  z-index: 0;
  background-color: var(--blue);
  border-radius: 0rem;
  width: 100vw;
  height: 100dvh;
  position: absolute;
}


@media (max-width: 1600px) {
  .navlinkname {
    font-size: clamp(5rem, 2.5rem + 2.5vw, 4.5rem);
  }

  .hero-top h1 {
    font-size: clamp(5rem, 2.5rem + 2.5vw, 4.5rem);
  }

  .heading2 {
    font-size: clamp(4rem, 2.5rem + 1.25vw, 3.75rem);
  }

  .preloader h2 {
    font-size: clamp(5.5rem, 5.5rem + 0vw, 5.5rem);
  }
}

@media (max-width:1280px) and (min-width:800px) {

  .navlinkname {
    font-size: clamp(3.375rem, 1.0417rem + 2.9167vw, 2.5rem);
  }

  .hero-top h1 {
    font-size: clamp(4.5rem, 1.5rem + 3.75vw, 3.375rem);
    line-height: 105%;
  }

  .heading3 {
    font-size: clamp(2.5rem, 1.1667rem + 1.6667vw, 2rem);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
  }

  .aboutme-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    gap: 16px;
  }

  .about_img {
    grid-area: 1/1/2/2;
    height: 500px;
  }

  .about_content {
    grid-area: 1/2/2/3;
  }

  .archlogo {
    width: 150px;
    height: 150px;
    bottom: 5%;
    left: -50%;
    /* transform: translateX(-50%); */
  }

  .services_grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: rrepeat(4, 1fr);
    gap: 16px;
  }

  .service1 {
    grid-area: 1 / 1 / 2 / 2;
    /* Row 1, Col 1 */
  }

  .service2 {
    grid-area: 1 / 2 / 2 / 3;
    /* Row 1, Col 2 */
  }

  .service3 {
    grid-area: 2 / 1 / 3 / 2;
    /* Row 2, Col 1 */
  }

  .service4 {
    grid-area: 2 / 2 / 3 / 3;
    /* Row 2, Col 2 */
  }

  .service5 {
    grid-area: 3 / 1 / 4 / 2;
    /* Row 3, Col 1 */
  }

  .service6 {
    grid-area: 3 / 2 / 4 / 3;
    /* Row 3, Col 2 */
  }

  .service7 {
    grid-area: 4 / 1 / 5 / 2;
    /* Row 4, Col 1 */
  }

  .service8 {
    grid-area: 4 / 2 / 5 / 3;
    /* Row 4, Col 2 */
  }

  .footer_heading {
    font-size: 3rem;
  }

  .project-pane {
    width: 75%;
  }

  .preloader h2 {
    font-size: clamp(5.5rem, 2.8333rem + 3.3333vw, 4.5rem);
  }
}

@media (max-width: 799px) and (min-width:320px) {
  .navlinkname {
    font-size: clamp(3.25rem, 1.999rem + 2.5052vw, 2.5rem);
  }

  .hero-top h1 {
    font-size: clamp(3.25rem, 1.999rem + 2.5052vw, 2.5rem);
    line-height: 105%;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
  }

  .img_wrap {
    height: 500px;
    object-fit: cover;
  }

  .works,
  .aboutme {
    margin: 120px 0px;
  }

  .about_content h3 {
    font-size: clamp(2.5rem, 1.666rem + 1.6701vw, 2rem);
  }

  nav {
    padding: 16px;
  }

  .overlay-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }


  .aboutme-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }

  .project_grid {
    margin-top: 2rem;
    width: 100%;
    display: grid;
    gap: 2.75rem;
    grid-template-columns: 1fr;
  }

  .about_img {
    height: 500px;
  }

  .about_img img {
    object-fit: cover;
  }

  .archlogo {
    bottom: 0%;
    left: 0%;
    width: 150px;
    height: 150px;
  }

  .services {
    padding: 16px;
  }

  .service {
    width: 100%;
    height: 100%;
    color: #000;
    background-color: #ffffff;
    padding: 16px;
    gap: 1.5rem;
  }

  .heading2 {
    font-size: clamp(2.5rem, 1.666rem + 1.6701vw, 2rem);
  }

  .heading3 {
    font-size: clamp(2.25rem, 1.833rem + 0.8351vw, 2rem);
  }

  .services_grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .service1 {
    grid-area: 1 / 1 / 2 / 2;
    /* Row 1, Col 1 */
  }

  .service2 {
    grid-area: 1 / 2 / 2 / 3;
    /* Row 1, Col 2 */
  }

  .service3 {
    grid-area: 2 / 1 / 3 / 2;
    /* Row 2, Col 1 */
  }

  .service4 {
    grid-area: 2 / 2 / 3 / 3;
    /* Row 2, Col 2 */
  }

  .service5 {
    grid-area: 3 / 1 / 4 / 2;
    /* Row 3, Col 1 */
  }

  .service6 {
    grid-area: 3 / 2 / 4 / 3;
    /* Row 3, Col 2 */
  }

  .service7 {
    grid-area: 4 / 1 / 5 / 2;
    /* Row 4, Col 1 */
  }

  .service8 {
    grid-area: 4 / 2 / 5 / 3;
    /* Row 4, Col 2 */
  }

  .footer_heading {
    font-size: 2.5rem;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }

  .sub-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 16px;
  }

  section {
    padding: 0 16px;
  }

  .div1 {
    display: none;
  }

  .div5 {
    order: 99
  }

  .project-pane {
    width: 100%;
  }

  .preloader h2 {
    font-size: clamp(3.5rem, 2.666rem + 1.6701vw, 3rem);
  }

}
