:root {
  --background-color-menu: #ced1bf;
  --primary-color: #2b3530;
  --background-color: #2b3530;
  --secondary-color: #d1ccbf;
}

@font-face {
  font-family: "Basis Grotesque";
  src: url("/assets/fonts/BasisGrotesqueRegular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

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

body {
  background-color: var(--background-color);
  color: var(--secondary-color);
  font-family: "Basis Grotesque", sans-serif;
}

p {
  font-weight: 300;
}

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

li,
ol {
  list-style: none;
}

a {
  color: currentColor;
  text-decoration: none;
}

.link {
  position: relative;
  width: max-content;
}

.link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background: currentColor;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.24, 0.43, 0.15, 0.97);
  will-change: transform;
  width: 100%;
  height: 2px;
}

.link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.fade-out {
  will-change: transform;
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  letter-spacing: 0.5rem;
}

.hamburger,
.close-btn {
  width: 40px;
  height: 40px;
  display: flex;
  background: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  overflow: hidden;
  top: 2rem;
  right: 3rem;
}

.hamburger span,
.close-btn span:nth-child(1) {
  height: 1px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  position: absolute;
  will-change: transform;
}

.hamburger span:nth-child(2) {
  top: 10px;
}
.hamburger span:nth-child(3) {
  top: 20px;
}

.hamburger span::after,
.close-btn span:nth-child(1)::before {
  content: "";
  position: absolute;
  left: -150%;
  width: 100%;
  height: 1px;
  border-radius: 2px;
}

.hamburger span::after {
  background-color: white;
}

.close-btn {
  transform: rotate(45deg);
}

.close-btn span {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.close-btn span:nth-child(1) {
  background-color: var(--primary-color);
}

.close-btn span:nth-child(1)::after {
  background-color: currentColor;
}

.close-btn span:nth-child(2) {
  width: 1px;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 2px;
  position: absolute;
}

.close-btn span:nth-child(2)::before {
  content: "";
  position: absolute;
  top: -150%;
  width: 1px;
  height: 100%;
  background-color: currentColor;
  border-radius: 2px;
}

.close-btn span:nth-child(1)::before {
  background-color: currentColor;
}

.menu {
  width: 100%;
  height: 100dvh;
  clip-path: inset(100% 0 0 0);
  background-color: var(--background-color-menu);
  z-index: 10;
  position: fixed;
  inset: 0;
  color: var(--primary-color);
  will-change: clip-path;
}

.menu-container {
  width: 100%;
  height: 100%;
  display: flex;
  gap: 1rem;
}

.menu-image {
  width: 40%;
  height: 100%;
  padding-right: 1.5rem;
}

.image-wrapper {
  width: 100%;
  height: 100%;
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}

.images {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  will-change: clip-path;
}

.menu-navigation {
  width: 60%;
  height: 100%;
  padding: 6rem 5rem 2rem;
}

.menu-navigation p,
.menu-navigation a {
  font-size: clamp(1rem, 3vw, 1.35rem);
}

.menu-navigation-container {
  width: 100%;
  height: 100%;
}

.menu-list,
.contact-us,
.connected {
  margin-bottom: 1.5rem;
}

.menu-list {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  font-size: clamp(1.5rem, 3vw, 3rem);
}

.col-left,
.col-right {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

.hover-link {
  cursor: pointer;
  height: max-content;
}

.contact {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.connect-wrapper {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.policies {
  margin-top: auto;
}

@media screen and (max-width: 1024px) {
  .menu-image {
    display: none;
  }

  .menu-navigation {
    width: 100%;
    padding: 6rem 2rem 1.5rem;
  }

  .menu-list {
    flex-direction: column;
  }

  .menu-list,
  .col-left,
  .col-right {
    gap: 1rem;
  }

  .contact,
  .connect-wrapper {
    gap: 0.75rem;
  }
}
