* {
  box-sizing: border-box;
}

body {
  background-color: #fdfaf6;
  padding: 0;
  margin: 0;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

.border-wrapper {
  border: 30px solid #2c2c2c;
  z-index: 99;
  border-width: 0;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

@font-face {
  font-family: "EditorialNew";
  font-style: normal;
  font-weight: 200;
  src: url(/assets/fonts/PPEditorialNew/PPEditorialNew-Ultralight.woff2)
    format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "EditorialNew";
  font-style: normal;
  font-weight: 300;
  src: url(/assets/fonts/PPEditorialNew/PPEditorialNew-Regular.otf)
    format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 200;
  src: url(/assets/fonts/Inter/Inter_18pt-Light.ttf) format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url(/assets/fonts/Inter/Inter_18pt-Regular.ttf) format("truetype");
  font-display: swap;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 4.2rem 4.4rem;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 {
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

.h1 {
  font-size: 1.5rem;
  color: #2c2c2c;
  text-decoration: none;
}

.y-h1 {
  margin-left: -3px;
}

.nav-button {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  cursor: pointer;
}

.nav-button span {
  background-color: #2c2c2c;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-button:hover span {
  background-color: #000;
}

.menu-items {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: -1;
  width: 100%;
  height: 100vh;
}

.menu-nav {
  display: flex;
  justify-content: flex-start;
  right: 0;
  padding: 2rem 3rem;
  position: fixed;
  top: 0;
}

.menu-links {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  height: 100%;
}

.menu-links p {
  font-family: "EditorialNew", serif;
  font-size: 4rem;
  font-weight: 200;
  margin: 0 !important;
  margin: 1rem 0;
  position: relative;
  color: #2c2c2c;
  text-transform: uppercase;
}

.menu-links a {
  text-decoration: none;
  color: #2c2c2c;
}

.text {
  height: 4.4rem;
  line-height: 4.4rem;
  overflow: hidden !important;
  position: relative;
  display: inline-block;
}

.text.play .letter {
  transform: translateY(-100%);
}

.text .letter {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.024, 1);
  position: relative;
}

.menu {
  background-color: #fdfaf6;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  color: #f2f0e8;
  display: flex;
  height: 100vh;
  justify-content: space-between;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  left: 0;
}

.menu-close,
.menu-open {
  cursor: pointer;
  z-index: 1000;
  overflow: hidden;
}

.menu-close {
  height: 20px;
  position: relative;
  width: 20px;
}

.menu-close img {
  position: absolute;
  height: 16px;
  width: 16px;
}

.menu-sub-col {
  flex: 1;
}
.menu-link,
.menu-sub-item {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.menu-bottom {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 1rem;
  width: 100%;
  padding: 0 6rem;
}
.menu-bottom p {
  margin: 0;
  color: #2c2c2c;
  font-weight: 100;
  font-size: 0.9rem;
}
.menu-bottom a {
  margin: 0;
  color: #2c2c2c;
  font-weight: 100;
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom a {
  color: #2c2c2c;
  font-weight: 100;
  font-size: 1rem;
  text-decoration: none;
}

.legal-links img {
  vertical-align: middle;
}

main {
  margin: 8rem 6rem;
  color: #2c2c2c;
  min-height: 100vh;
}

.videos-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.6rem;
  margin-top: 4rem;
}

.videos-layout div {
  width: 100%;
}

.image-clip {
  overflow: hidden;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}

.image-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.videos-layout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .loader-layout p {
    font-size: 1.7rem;
  }
  .border-wrapper {
    min-height: 0 !important;
    height: auto !important;
    border: none;
  }

  header {
    padding: 1.4rem 1rem;
  }

  .menu-nav {
    padding: 1.6rem 1.5rem;
  }

  .menu-links p {
    font-size: 2.6rem !important;
  }

  .text {
    height: 3rem !important;
    line-height: 3rem !important;
  }

  .menu-bottom {
    padding: 0;
    justify-content: center;
  }

  .menu-bottom p:nth-child(1) {
    display: none;
  }

  main {
    margin: 8rem 1rem 2rem 1rem;
  }

  .videos-layout {
    grid-template-columns: 1fr;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .loader-layout p {
    font-size: 1.7rem;
  }

  .border-wrapper {
    min-height: 0 !important;
    height: auto !important;
    border: none;
  }

  header {
    padding: 1.4rem 1rem;
  }

  .menu-nav {
    padding: 1.6rem 1.5rem;
  }

  .menu-links p {
    font-size: 3.4rem;
  }

  .text {
    height: 4.1rem;
    line-height: 4.1rem;
  }

  .menu-bottom {
    padding: 0;
    justify-content: center;
  }

  .menu-bottom p:nth-child(1) {
    display: none;
  }

  main {
    margin: 8rem 1rem 2rem 1rem;
  }

  .videos-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1200px) and (orientation: landscape) {
  header {
    padding: 1.4rem 1rem;
  }
  .menu-links p {
    font-size: 2.6rem !important;
  }

  .text {
    height: 3rem !important;
    line-height: 3rem !important;
  }

  .loader-layout p {
    font-size: 1.7rem;
  }

  .border-wrapper {
    min-height: 0 !important;
    height: auto !important;
    border: none;
  }

  .menu-links p {
    font-size: 3.4rem;
  }

  .text {
    height: 4.1rem;
    line-height: 4.1rem;
  }

  main {
    margin: 8rem 1rem 2rem 1rem;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1520px) {
  .menu-links p {
    font-size: 4.1rem;
  }
  .menu-bottom {
    padding: 0 4rem;
  }
  .text {
    height: 4.3rem;
    line-height: 4.3rem;
  }
}
