@font-face {
  font-family: "ClashGrotesk-Variable";
  src:
    url("./fonts/ClashGrotesk-Variable.woff2") format("woff2"),
    url("./fonts/ClashGrotesk-Variable.woff") format("woff"),
    url("./fonts/ClashGrotesk-Variable.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
  font-style: normal;
}

:root {
  /* --padding-sides-section: 144px; */
  --padding-sides-section: 10%;
  --navbar-size: 6.3rem;

  /* colours */
  --background: #d9d9d9;
  --submenu-hover: #939698;
  --text-nav-menu: 2.8rem;
  --text-vertical-title: 2.8rem;
  --text--header-left: 3.2rem;
  --text-body: 2.1rem;
  --text-filter: 2.1rem;
  --text-footer: 1.7rem;
  --color-form: #d7dde0;

  /* var */
  --max-width-rect: 1380px;
}
*,
*::before,
*::after {
  cursor:
    url("/assets/cursor.png") 45 30,
    auto !important;
}
::selection {
  background: var(--submenu-hover);
  color: black;
}
html {
  font-size: 62.5%;
  /* scrollbar-width: none;
  overflow: -moz-scrollbars-none; */
  cursor:
    url("/assets/cursor.png") 45 30,
    auto;
}
body {
  cursor: none;
  margin: 0;
  font-family: ClashGrotesk-Variable;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  visibility: hidden;
  background-color: white;
  transition: background-color 0.5s ease;
}

body.loaded {
  visibility: visible;
  background-color: white;
  cursor:
    url("/assets/cursor.png") 45 30,
    auto;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.main-container img {
  transform: scale(1.15);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
input:-internal-autofill-selected {
  appearance: none !important;
  background-color: var(--color-form) !important;
}
.nav__items a:visited {
  color: black; /* Purple (default color, change to your preference) */
}
a:hover {
  /* cursor: none; */
  cursor:
    url("/assets/cursor.png") 45 30,
    auto;
  color: var(--submenu-hover);
}
.nav__items a:hover {
  color: black;
}
.nav__items a:hover {
  text-decoration: none;
}
a.nav_submenu:hover {
  text-decoration: none;
  color: var(--submenu-hover);
} /* cursor: none; */

/* font styles */
.text__nav-menu {
  font-weight: 600;
  font-size: var(--text-nav-menu);
  text-transform: uppercase;
  text-decoration: none;
}
.text__nav-submenu {
  font-weight: 600;
  font-size: var(--text-nav-menu);
  line-height: 77%;
  text-transform: none;
  text-decoration: none;
}
.text__vertical-title {
  font-weight: 600;
  font-size: var(--text-vertical-title);
  line-height: 90%;
  text-transform: uppercase;
}
.text__header-left {
  font-weight: 600;
  font-size: var(--text--header-left);
  line-height: 85%;
}
.text__body {
  font-weight: 600;
  font-size: var(--text-body);
  line-height: 100%;
}
.text__filter {
  font-weight: 600;
  font-size: var(--text-filter);
  line-height: 88%;
}
.text__footer {
  font-weight: 600;
  font-size: var(--text-footer);
  line-height: 100%;
}
.text__footer--light {
  font-weight: 400;
  font-size: var(--text-footer);
  line-height: 100%;
}
p {
  margin: 0;
}
.display-none {
  display: none;
}

/* elements */
a {
  color: black;
  text-decoration: none;
}
.filter {
  color: black;
}
.filter.active {
  color: #6e6e6e;
}

.main-container {
  padding: 0 var(--padding-sides-section);
  /* margin-top: -12px; */
  padding-top: 63px;
  width: calc(100% - 2 * var(--padding-sides-section));
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__form {
}
/* .footer__form input {
  border-bottom: 0.1px #000000 solid !important;
  border: none;
} */
.dynamic-size {
  font-family: ClashGrotesk-Variable;
  font-size: var(--text-footer);
}
input {
  font-family: ClashGrotesk-Variable;
  border: none !important;
  outline: none !important;
}
.dynamic-size:focus {
  border-color: black;
  outline: none;
  /* background-color: var(--color-form); */
}
.dynamic-size::before {
  content: "[";
  margin-right: 6px;
}
.dynamic-size::after {
  content: "]";
  margin-left: 6px;
}
.flex-h-10 {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn__footer {
  background: none;
  border: none;
  padding: 0;
}
.rect-container {
  background-color: var(--background);
  width: 100%;
  /* min-height: 120rem; */
  padding-bottom: 2rem;
  position: relative;
  height: 750px;
  max-width: 1380px;
  /* padding-bottom: 21.4rem; */
}
.rect-container.gray {
  height: auto;
}
.rect__image-caption {
  position: absolute;
  bottom: 5%;
  left: 0%;
  width: 100%;
}

.grid-2-c {
  margin-left: -2.5rem;
  display: grid;
  row-gap: 145px;
  column-gap: 20px;
  grid-template-rows: repeat(1, minmax(0, 1fr));
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  align-items: start;
  position: relative;
  z-index: 111;
  width: calc(100% + 5rem);
}
.grid-left-c {
}
.grid-right-c {
}
.grid-right-2-c {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.8rem;
  row-gap: 2.8rem;
  align-items: start;
}
.rect__background {
  height: 700px;
  /* height: 850px; */
  position: relative;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.rect__background.mwg_effect000 {
  pointer-events: all;
}
.rect__background-img {
  position: relative;
  z-index: 60;
}
/* nav items */

.nav {
  z-index: 120 !important;
  padding: 0 var(--padding-sides-section);
  position: fixed;
  width: calc(100% - 2 * var(--padding-sides-section));
  height: 64px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  max-width: var(--max-width-rect);
  /* left: 0; */
  /* background-color: white; */
}
.nav-logo--img {
  /* width: 97px; */
  height: 100%;
}
.nav-logo {
  margin-left: -5.5rem;
  height: 100%;
  /* margin-bottom: 8px; */
}
.nav__items {
  display: flex;
  gap: 3.6rem;
  flex-direction: row;
  position: relative;
}
.nav__items-item {
  position: relative;
  width: max-content;
}
.nav__item--highlight {
  height: 14px;
  /* width: 111px;   */
  position: absolute;
  width: 110%;
}
.nav__item--highlight.high-home {
  background: black;
  position: absolute;
  /* top: 0; */
  top: 1rem;
  left: -0.5rem;
  min-width: 85px;
  max-width: 90px;
}
.nav-submenu-container {
  display: flex;
  flex-direction: column;
  gap: 1px;
  position: absolute;
  margin-top: -5px;
  /* max-height: 0; */
  overflow: hidden;
  opacity: 0;
  /* transition: opacity 0.8s ease; */
  overflow: visible;
}
.nav-submenu-container-mobile {
}
.nav-submenu-container.show {
  /* max-height: 200px; */
  opacity: 1;
}
.nav_submenu {
  width: 140% !important;
  position: relative;
}
.nav-submenu-container {
  pointer-events: none;
}
.nav-submenu-container.show {
  pointer-events: all;
}

/* page */

.vertical-container {
  position: absolute;
  left: -2.1rem;
  top: 5rem;
}

.vertical__header {
  /* writing-mode: sideways-lr;
  -webkit-writing-mode: sideways-lr; */
  display: inline-block;
  writing-mode: vertical-rl; /* vertical container */
  text-orientation: sideways-right; /* most browsers */
  -webkit-writing-mode: vertical-rl; /* Safari */
  -webkit-text-orientation: sideways-right;
  transform: rotate(180deg);
}

.grid-right-2.footer {
}

.grid-2 {
  margin-left: -2.5rem;
  display: grid;
  row-gap: 145px;
  column-gap: 20px;
  grid-template-rows: repeat(1, minmax(0, 1fr));
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  align-items: start;
  position: relative;
  z-index: 111;
  width: calc(100% + 5rem);
}
.grid-2.maingrid {
}
.grid-left.footer {
}
.grid-right-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.8rem;
  row-gap: 2.8rem;
  align-items: start;
}
.grid-right-2.projects {
  grid-template-columns: 1fr;
  /* width: 50vw; */
}
.grid-right-2--left {
}
.grid-right-2--right {
}
.grid-left__header {
  width: 90%;
  display: grid;
  grid-template-rows: 1fr;
  row-gap: 2rem;
}
.grid-left__header.footer {
  row-gap: 0;
}
.grid-right-2.footer {
}
.grid-2.footer {
  margin-top: 1rem;
  /* max-width: var(--max-width-rect); */
  position: sticky;
  z-index: 1;
  margin-left: 0;
  /* top: 71vh; */
  filter: blur(3px);
  opacity: 0.45;
  transition: all 0.4s ease-out;
  column-gap: 20px;
  width: calc(var(--max-width-rect) + 5rem);
}
.grid-2.footer.show {
  filter: blur(0);
  opacity: 1;
}
.grid-3-v {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.grid-3-v--item {
  display: flex;
  flex-direction: column;
}
.grid-3-v.menu-footer {
  display: none;
  margin-top: 30%;
}
/* hover effests */

.nav_submenu:hover {
  color: var(--submenu-hover);
  /* cursor: pointer; */
}
/* #mag-nav:hover {
  color: var(--submenu-hover);
  cursor: pointer;
} */
/* #about-nav:hover + .nav-submenu-container {
  display: flex;
} */
#about-nav:hover::after,
#mag-nav:hover::after,
#home-nav:hover::after,
#about-nav-m .about-nav-m-text::after {
  display: block;
}

#about-nav.active::after,
#mag-nav.active::after,
#home-nav.active::after,
#about-nav-m .about-nav-m-text::after {
  display: block;
}
#about-nav-m-text.active::after {
  display: block;
}

#about-nav-m-text {
  width: fit-content;
  position: relative;
}

#about-nav::after,
#mag-nav::after,
#home-nav::after,
#about-nav-m-text::after {
  content: "";
  background: black;
  height: 14px;
  width: 100%;
  position: absolute;
  top: 10px;
  left: 0;
  z-index: -1;
  display: none;
}
#about-nav-m .about-nav-m-text::after {
  content: "";
  background: black;
  height: 14px;
  width: 100%;
  position: absolute;
  top: 10px;
  left: 0;
  z-index: -1;
  display: none;
}

/* .nav_submenu::after {
  content: "";
  background: black;
  height: 70%;
  width: 66%;
  position: absolute;
  top: 5px;
  left: 0;
  z-index: -1;
  display: none;
} */

#about-nav.active:hover::after,
#mag-nav.active:hover::after,
#home-nav.active:hover::after {
  /* background-color: white; */
}
/* .nav_submenu:hover::after {
  display: block;
} */
.mwg_effect000 {
  /* height: 100vh; */
  /* overflow: hidden; */
  position: relative;
  display: grid;
  place-items: center;
  justify-content: stretch;
  height: 850px;
}

.mwg_effect000 .medias {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  z-index: 110;
  justify-items: center;
  width: 100%;
  height: 90%;
}
.mwg_effect000 .medias img {
  width: 100%;
  height: 100%;
  max-width: 340px;
  max-height: 340px;
  object-fit: contain;
  border-radius: 4%;
  display: block;
  pointer-events: none;
  will-change: transform;
}

/* background id */
#back-work {
  position: relative;
  z-index: 60;
  width: 110%;
  object-fit: contain;
}
#back-btw {
  margin-left: 10%;
  width: 100%;
  object-fit: cover;
  transform: rotate(355deg) scale(1.15);
}
#back-mag {
  height: 100%;
  transform: rotate(355deg) scale(1.1);
  margin-top: -3rem;
}
#back-studio {
  margin-top: -4rem;
  width: 100%;
  max-width: 1200px;
  transform: rotate(0deg) scale(1.15);
  object-fit: contain;
}
#back-work {
  width: 780px;
  mix-blend-mode: darken;
}
#back-works {
  /* width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: darken; */
  height: 105%;
  position: absolute;
  /* object-fit: cover; */
}
#back-magworks {
  width: 165%;
  height: 100%;
  object-fit: contain;
  /* mix-blend-mode: darken; */
}
.grid-right-work {
  column-count: 2;
  column-gap: 2.8rem;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  /* cursor: pointer; */
  gap: 5px;
  z-index: 100;
  position: relative;
  padding: 5px 5px 0 5px;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -8px);
}
.nav__mobile--back {
  display: none;
}
.ham__items {
  /* display: none; */
  visibility: hidden;
  opacity: 0;
  /* display: none; */
}
#measure {
  position: absolute;
  visibility: hidden;
  white-space: pre;
  font: inherit;
  /* width: 2px; */
}
#measure-name {
  position: absolute;
  visibility: hidden;
  white-space: pre;
  font: inherit;
  /* width: 2px; */
}
#newsletter-form div:hover {
  cursor: text;
}
/* media stuff */
@media (max-width: 1725px) {
  .grid-2.footer {
    width: calc(100% + 5rem);
  }
}
@media (max-width: 950px) {
  .flex-h-10 {
    gap: 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .mwg_effect000 .medias {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .mwg_effect000 .header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
  }
  .mwg_effect000 .header div:nth-child(2) {
    display: none;
  }
  .mwg_effect000 .medias {
    /* gap: 2vw; */
  }
  .mwg_effect000 .medias img {
    max-width: 240px;
    max-height: 240px;
  }
  .nav__mobile--back {
  }
  #back-works {
    /* width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: darken; */
    height: calc(100vw * 700 / 1350 * 1.5);
    top: 10%;
    /* object-fit: cover; */
  }
}
@media (max-width: 620px) {
  a:hover {
    /* cursor: none; */

    color: black;
  }
  .nav__mobile--back {
    display: block;
    position: absolute;
    width: calc(100vw - var(--padding-sides-section) * 2);
    height: 100%;
    background: var(--submenu-hover);
    top: 0;
    margin-left: var(--padding-sides-section);
    left: 0;
    z-index: -1;
  }

  /* .mwg_effect000 .header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
  }
  .mwg_effect000 .header div:nth-child(2) {
    display: none;
  }
  .mwg_effect000 .medias {
    gap: 2vw;
  }
  .mwg_effect000 .medias img {
    width: 18vw;
    height: 18vw;
  } */
  .nav {
    align-items: center;
  }
  .hamburger {
    display: flex;
    position: relative;
    z-index: 101;
  }
  .nav__items {
    display: none;
  }
  #about-nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .nav__items.active {
    display: block;

    position: fixed;
    width: calc(100% + 4rem - var(--padding-sides-section));
    height: calc(100vh - 6.4rem);
    top: 6.4rem;
    padding-top: 50%;
    left: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: calc(-4rem + var(--padding-sides-section));
    transition: all 0.3s ease;
    gap: 0;
  }
  .grid-3-v.menu-footer {
    display: flex;
  }
  .nav-submenu-container {
    /* top: 5px;
    left: 120%; */
    position: relative;
    /* max-width: 10rem; */
    display: none;
  }
  .nav-submenu-container.show {
    display: flex;
  }
  .nav-submenu-container-mobile {
    position: relative;
    display: none;
  }
  .nav-submenu-container-mobile.show {
    display: flex;
    flex-direction: column;
  }

  .ham__items {
    /* display: none; */

    opacity: 0;
    transition: all 0.3s ease;
    width: calc(100% + 4rem - var(--padding-sides-section));
    /* width: 2px; */
    height: calc(100vh - 6.4rem);
    top: 6.4rem;
    padding-top: 50%;
    left: -20rem;
    /* right: 0; */
    transition: all 0.6s ease;
    position: fixed;
    top: 5.3rem;
    visibility: hidden;
  }
  .ham__items.active {
    opacity: 1;
    width: calc(100% + 4rem - var(--padding-sides-section));
    height: calc(100vh - 6.4rem);
    padding-top: 50%;
    left: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: calc(-4rem + var(--padding-sides-section));
    transition: all 0.6s ease;
    gap: 0;
    visibility: visible;
  }
}
@media (max-width: 450px) {
  :root {
    --padding-sides-section: 7.2rem;
    --padding-sides-section-mobile: 2.4rem;
    --navbar-size: 5.3rem;
    /* --text-nav-menu: 2.8rem; */
    --text-vertical-title: 2.4rem;
    --text--header-left: 2.4rem;
    --text-body: 1.6rem;
    --text-filter: 1.6rem;
    --text-footer: 1.2rem;
  }
  .main-container img {
    transform: scale(1);
  }
  .grid-2-c {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 0px;
    margin-bottom: 1.5rem;
  }
  .grid-left-c {
  }
  .grid-right-c {
    column-count: revert;
  }
  .grid-right-2-c {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .rect__image-caption {
    bottom: 5%;
  }
  .nav__mobile--back {
    width: calc(
      100vw - var(--padding-sides-section-mobile) - var(--padding-sides-section)
    );
  }
  .nav-logo {
    margin-left: -4.5rem;
  }
  .main-container {
    padding: var(--navbar-size) var(--padding-sides-section-mobile) 0
      var(--padding-sides-section);
    width: calc(
      100vw - var(--padding-sides-section-mobile) - var(--padding-sides-section)
    );
    overflow-x: hidden;
  }
  .grid-right-work {
    column-count: revert;
  }
  .nav {
    align-items: center;
    padding: 0 var(--padding-sides-section-mobile) 0
      var(--padding-sides-section);
    width: calc(
      100% - var(--padding-sides-section) - var(--padding-sides-section-mobile)
    );
    height: 5.3rem;
  }
  .hamburger {
    display: flex;
    position: relative;
    z-index: 101;
  }
  .nav__items {
    display: none;
  }
  #about-nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .nav__items.active {
    display: block;
    position: fixed;
    width: calc(100% + 4rem - var(--padding-sides-section));
    height: calc(100vh - 5.3rem);
    top: 5.3rem;
    padding-top: 50%;
    left: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: calc(-4rem + var(--padding-sides-section));
    transition: all 0.3s ease;
    gap: 0;
  }
  .nav-submenu-container {
    /* top: 5px;
    left: 120%; */
    position: relative;
    /* max-width: 10rem; */
    display: none;
  }
  .nav-submenu-container.show {
    display: flex;
  }
  .rect-container {
    /* min-height: max-content; */
    padding-bottom: 2rem;
    height: 590px;
  }
  .rect__background {
    height: 510px;
  }
  .vertical-container {
    left: -1.8rem;
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 0;
    /* width: 100%; */
    /* width: 105%; */
  }
  .grid-right-2 {
    /* grid-template-columns: 1fr; */
    grid-template-columns: 0.9fr;
  }
  .grid-right-2.footer {
    row-gap: 0;
  }
  .grid-left__header {
    row-gap: 0.5rem;
  }
  .grid-2.footer {
    column-gap: 0px;
    margin-bottom: 1.5rem;
    /* margin-left: -2.5rem; */
  }
  .grid-left.footer {
  }
  /* fix grid */
  .mwg_effect000 .medias {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }
  .mwg_effect000 .medias img {
    width: 55vw;
    height: 55vw;
  }
  .media {
    margin: -1.5rem;
  }
  #media-1 {
    padding-left: 4rem;
    transform: rotate(350deg);
  }
  #media-2 {
    margin-left: -20%;
    transform: rotate(349deg);
  }
  #media-3 {
    padding-left: 4rem;
    transform: rotate(10deg);
  }

  #media-4,
  #media-5,
  #media-6 {
    display: none;
  }
  #back-mag {
    margin-top: -2rem;
  }
  #back-btw {
    margin-left: 0;
  }
  .grid-right-2--right {
    /* display: none; */
  }
  #back-studio {
    width: 152%;
  }
  .grid-right-2.footer {
    row-gap: 0;
  }
}
