@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
@font-face {
  font-family: "GrifinitoL";
  src: url("/fonts/GrifinitoL/GrifinitoL.woff2")format("woff2");
  src: url("/fonts/GrifinitoL/GrifinitoL.woff")format("woff");
  src: url("/fonts/GrifinitoL/GrifinitoL.ttf")format("truetype");
}
@font-face {
    font-family: 'Canopee';
    src: url('/fonts/Canopee/Canopee-Regular.woff2') format('woff2'),
         url('/fonts/Canopee/Canopee-Regular.woff') format('woff'),
         url('/fonts/Canopee/Canopee-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
  font-family: 'Maelstrom Sans';
  src: url('/fonts/MaelstromSans/MaelstromSans-Bold.woff2') format('woff2'),
      url('/fonts/MaelstromSans/MaelstromSans-Bold.woff') format('woff'),
      url('/fonts/MaelstromSans/MaelstromSans-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

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

html,
body {
  background: #a0a0a0;
}

/* Navigation styles */
nav {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5em 2em;
  color: #000;
  z-index: 20;
}

nav > div {
  flex: 1;
}

.info {
  font-family: "Canopee";
}

.logo {
  text-align: center;
  font-family: "GrifinitoL";
}

.logo a {
  text-decoration: none;
  font-size: 2.4em;
  color: #000;
}

.toggle-btn {
  display: flex;
  justify-content: flex-end;
}

.burger {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.75em 2em 1.5em 2em;
  background: rgba(255, 255, 255, 0);
  outline: none;
  border: none;
  width: 28px;
  height: 20px;
  transition: all 250ms ease-out;
  cursor: pointer;
}

.burger:before, .burger:after {
  content: "";
  width: 40px;
  height: 2px;
  position: absolute;
  background: #000;
  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-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  background: #141412;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  will-change: clip-path;
  z-index: 10;
}

.overlay-menu-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  gap: 1em;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 11;
}

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

.menu-item p a {
  color: #cdc6be;
  text-decoration: none;
}

.menu-item p {
  position: relative;
  text-align: center;
  font-family: "Canopee", sans-serif;
  font-size: 15vw;
  line-height: 80%;
  will-change: transform;
  transition: letter-spacing 0.3s;
  color: #cdc6be;
}

.menu-item p:hover {
  letter-spacing: 0.075em;
}

.menu-item p#active::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 0;
  transform: translateY(-50%);
  background: #c03f13;
  width: 100%;
  height: 12px;
}

.sub-nav {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5em;
  opacity: 0;
  z-index: 11;
}

.sub-nav p a {
  color: #cdc6be;
}

.sub-nav p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
}

/* Existing styles */
.header-container {
  position: absolute;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header > span {
  font-family: "Maelstrom Sans";
  font-size: 40vw;
  position: relative;
}

.footer {
  position: fixed;
  bottom: 5em;
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer span {
  position: relative;
  top: 30px;
  text-decoration: none;
  font-family: "Space Grotesk", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1.4em;
  transition: 1s;
}

.footer-wrapper:after {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  width: 110%;
  height: 100%;
  background: transparent;
  margin: 0 auto;
  transition: 1s;
}

@media (max-width: 900px) {
  .logo a {
    font-size: 20px;
  }
}

