:root {
  --primary: #874f07;
  --secondary: #ffefbf;
}

* {
  box-sizing: border-box;
  margin-block-start: 0;
}

body {
  overflow-y: clip;
  font-family: "Ubuntu", serif;
  text-transform: uppercase;
  font-weight: bold;
  font-display: swap;
  margin: 0;
  color: var(--primary);
  font-size: 16px;
  background-color: var(--secondary);
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
}

body::-webkit-scrollbar {
  display: none;
}

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

svg|a:link,
svg|a:visited {
  cursor: pointer;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
             supported by Chrome, Edge, Opera and Firefox */
}

.fade {
  opacity: 0;
  transform: translateX(-20vh);
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.45, 0.53, 0.58, 1.23), transform 0.8s cubic-bezier(0.45, 0.53, 0.58, 1.23);
  will-change: opacity, visibility;
}

.fadeUp {
  transform: translateY(20vh);
}

.fadeDown {
  transform: translateY(-4vh);
}

.fadeLeft {
  transform: translateX(20vh);
}

.fadeIn {
  opacity: 1;
  transform: none !important;
  visibility: visible;
}

.blur {
  filter: blur(8px);
}

nav {
  position: fixed;
  top: 64px;
  right: 32px;
}

nav ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  position: fixed;
  left: -768px;
  justify-content: space-around;
  align-items: flex-end;
  margin: 0;
  transition: left 0.9s cubic-bezier(0.45, 0.53, 0.58, 1.23);
  -webkit-transition: left 0.9s cubic-bezier(0.45, 0.53, 0.58, 1.23);
  width: 100%;
  top: 128px;
  padding-right: 32px;
}

nav div {
  display: none;
}

nav li {
  padding: 8px 0;
}

nav a {
  letter-spacing: 2px;
}

nav ul.active {
  left: 0;
}

.hamburger {
  cursor: pointer;
  display: block;
}

.hamburger span {
  display: block;
  width: 48px;
  height: 2px;
  -webkit-transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  background-color: var(--primary);
}

.hamburger span:nth-child(1) {
  margin-bottom: 16px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.logo {
  width: 64px;
  height: 64px;
  margin: 48px 0 64px 64px;
}

.shine {
  -webkit-mask-image: linear-gradient(-75deg, rgba(0, 0, 0, 0.7) 30%, var(--primary) 50%, rgba(0, 0, 0, 0.7) 70%);
  -webkit-mask-size: 200%;
  mask-image: linear-gradient(-75deg, rgba(0, 0, 0, 0.7) 30%, var(--primary) 50%, rgba(0, 0, 0, 0.7) 70%);
  mask-size: 200%;
  animation: shine 4s infinite;
}

@keyframes shine {
  from {
    -webkit-mask-position: 150%;
  }
  to {
    -webkit-mask-position: -50%;
  }
}
@-webkit-keyframes shine {
  from {
    -webkit-mask-position: 150%;
  }
  to {
    -webkit-mask-position: -50%;
  }
}
@media (width >= 576px) {
  body {
    font-size: 18px;
  }
  nav {
    right: 128px;
  }
  nav ul {
    top: 128px;
    padding-right: 128px;
  }
}
@media (width >= 768px) {
  body {
    font-size: 20px;
  }
  nav {
    writing-mode: vertical-lr;
    top: 0;
    bottom: 0;
    right: 56px;
  }
  nav li {
    background-color: var(--secondary);
    rotate: 180deg;
  }
  nav ul {
    flex-direction: row;
    position: unset;
    left: unset;
    align-items: center;
    padding: 0;
  }
  nav div {
    display: unset;
    width: 1px;
    position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
    height: 100%;
    background-color: var(--primary);
    z-index: -1;
  }
  .hamburger {
    display: none;
  }
  .logo {
    width: 96px;
    height: 96px;
    margin: 64px 0 40px 96px;
  }
}
@media (width >= 1224px) {
  nav {
    right: 80px;
  }
}
