/* ----------- MAIN MENU ---------- */
/*
nav,
#navPC {
  font-family: "Space Mono", monospace;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
  text-transform: uppercase;
  font-weight: 400;
  position: absolute;
  mix-blend-mode: difference;
  color: white;
  border-bottom: solid 1px white;
  position: fixed;
  border-bottom: solid 1px rgb(255, 255, 255);
  top: 0;
  left: 0;
  right: 0;
  padding: 15px 10%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgb(255 255 255 / 0.01);
  max-width: 100vw;
}*/

nav,
#navPC {
  font-family: "Space Mono", monospace;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
  text-transform: uppercase;
  font-weight: 400;
  position: absolute;
  color: rgb(0, 0, 0);
  border-bottom: solid 1px rgb(0, 0, 0);
  position: fixed;
  border-bottom: solid 1px rgb(0, 0, 0);
  top: 0;
  left: 0;
  right: 0;
  padding: 15px 10%;
  background-color: #ececec;
  max-width: 100vw;
}

.mainMenu {
  display: flex;
  direction: row;
  text-decoration: none;
}

ul {
  list-style-type: none;
}

nav li:not(:last-child) {
  margin-right: 15px;
  font-size: 16px;
}

nav .scrambledText {
  padding: 5px 10px;
  border-radius: 7px;
  background: linear-gradient(#9595ec, #9595ec) no-repeat left center;
  background-size: 0% 100%;
  transition: background-size 0.3s ease;
}

nav .scrambledText:hover {
  background-size: 100% 100%;
}

/* menu icon*/

.logotype i {
  /* padding: 10px; */
  vertical-align: middle;
}
.logotype h3 {
  display: inline-block;
  vertical-align: middle;
}
.logo {
  /*fill: white;*/
  fill: black;
  /* width: 40px; */
}

/* menu grid*/

#container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  min-height: 100vh;
}
.box {
  background: #250e5a !important;
  background: #4332c7 !important;
}

#menuAnimation {
  height: 100vh;
  position: fixed;
  left: 0;
  z-index: 90;
  pointer-events: none;
}

#openMenu {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 91;
  opacity: 1;
}

#openMenu ul {
  height: 100vh;
  display: flex;
  flex-direction: column;
  /*justify-content: space-evenly;*/
  justify-content: space-around;
  align-items: center;
  padding: 5vh 10vw;
  color: white;
  list-style: none;
  margin: 0;
}

#openMenu li {
  opacity: 0.6;
}

#openMenu li:hover {
  opacity: 1 !important;
}

#container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 90;
}

#container {
  visibility: hidden; /* hidden by default, GSAP will show them */
}

#openMenu {
  visibility: hidden;
}

#mainLogotype {
  height: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#openMenu a {
  font-family: "Space Mono", monospace;
  color: white;
  font-weight: 400;
  text-decoration: none;
}

#openMenu a:hover {
  font-weight: 600;
  color: #bccd38;
}

/*fix menu non visiblie su pg illustrazioni*/
#siteNav * {
  overflow: visible;
}

.lang-switcher {
  overflow: hidden !important;
}

/* ----------- UNIFIED OPEN MENU STYLING ---------- */
/* These rules protect the open menu from global/loose selectors
   in other stylesheets (singleProject.css, petrichor.css, etc.) */

#openMenu ul {
  box-sizing: border-box;
  margin: 0;
  overflow: hidden !important;
}

#openMenu li {
  font-size: clamp(18px, 4vw, 32px) !important;
  line-height: 1.2;
  white-space: nowrap;
  overflow: visible !important;
  font-family: "Space Mono", monospace !important;
}

#openMenu a {
  font-size: 18px;
  line-height: inherit;
  overflow: visible !important;
  font-family: inherit !important;
}
