html,
body {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}
header {
  position: absolute;
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  z-index: 1000;
  margin: 0 auto;
  top: 0;
}
.header_container {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: auto;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  box-sizing: border-box;
}
/* .logo {
  display: flex;
  flex-direction: row;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
} 
.logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}*/
.header_nome_logo {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: auto;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 30px;
  box-sizing: border-box;
}
.menu {
  display: flex;
  flex-direction: row;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
}
.menu-button {
  width: 50px;
  height: 50px;
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #121212;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  right: 12px;
}

.menu-icon {
  width: 30px;
  height: 24px;
  position: relative;
}

.menu-icon span {
  position: absolute;
  height: 2px;
  background-color: #fff8e7; /* Bianco panna */
  border-radius: 2px;
  transition: all 0.45s ease-in-out;
  left: 0;
}

.menu-icon span:nth-child(1) {
  top: 0;
  width: 60%;
}

.menu-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.menu-icon span:nth-child(3) {
  top: calc(100% - 2px); /* posizione in basso, stessa altezza di bottom: 0 */
  width: 80%;
  right: 0;
  left: auto;
}

.menu-button.active .menu-icon span:nth-child(1) {
  width: 100%;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-button.active .menu-icon span:nth-child(2) {
  transform: translateX(30px);
  opacity: 0;
  width: 0;
}

.menu-button.active .menu-icon span:nth-child(3) {
  width: 100%;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.container {
  text-align: center;
}

.instructions {
  margin-top: 50px;
  color: #555;
  font-size: 16px;
}
.linea {
  display: flex;
  flex-direction: row;
  margin: 2px auto;
  height: 2px;
  background-color: #414141;
  transition: linear;
  transition-duration: 0.3s;
}
.lunga {
  width: 80%;
}
.prima {
  position: absolute;
  width: 32px;
  top: 8px;
  left: 5px;
  right: 5px;
}
.ultima {
  position: absolute;
  width: 32px;
  bottom: 8px;
  left: 5px;
  right: 5px;
}
.corta {
  width: 30px;
  width: 70%;
  margin: auto;
}

.menu_list {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(253, 251, 244, 0.9);
  flex-direction: row;
  top: 0;
  left: 0;
  top: -100vh;
  z-index: -900;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0;
  border-radius: 0;
  margin: 0;
  align-items: center;
  justify-content: flex-start;
  transition: all ease-in 0.4s;
  box-sizing: border-box;
}
.visibile {
  top: 0;
}
.menu_container {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 !important;
}
.menu_column {
  display: flex;
  flex-direction: column;
  width: 45%;
  height: 80%;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.imgs_container {
  display: flex;
  flex-direction: column;
  width: 55%;
  height: 100vh;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.img_menu {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
}
.img_menu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.elenco_voci {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 300px;
  height: 100%;
  align-items: flex-start;
  justify-content: center;
  font-size: 28px;
}
.chiudi .prima {
  transform: rotate(44.7deg);
  transform-origin: left;
  right: 0;
  top: 3px;
  width: 90%;
}
.chiudi .ultima {
  transform: rotate(-44.7deg);
  transform-origin: left;
  bottom: 4px;
  right: 0;
  width: 90%;
}
.chiudi .corta {
  opacity: 0;
  width: 0;
}
.voce_menu {
  width: 90%;
  margin: 0 auto;
}
.nascoste {
  display: none;
}
.voce_menu {
  display: flex;
  flex-direction: row;
  width: 90%;
  height: auto;
  align-items: center;
  justify-content: flex-start;
  padding: 5px 10px;
  box-sizing: border-box;
  font-variant: small-caps;
  font-size: 28px;
  font-family: "Afacad Flux", sans-serif;
  color: #525252;
  position: relative;
  cursor: pointer;
}
.voce_menu::after {
  position: absolute;
  content: "";
  height: 2px;
  width: 0;
  bottom: 0;
  background-color: #262626;
  left: 0;
  transition: all ease-out 0.3s;
}
.voce_menu:hover::after {
  width: 100%;
}
.menu_list a {
  text-decoration: none;
}
.icone {
  display: flex;
  flex-direction: row;
  width: 80%;
  height: 40px;
  padding: 0 20px;
  align-items: flex-end;
  justify-content: flex-start;
}
.header_nome_logo .logo {
  display: flex;
  flex-direction: column;
  width: 40px;
  height: 40px;
  margin-right: 10px;
}
.icone a {
  display: flex;
  width: 30px;
  height: 30px;
}
.icone a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nascoste {
  opacity: 0;
}
.nome_sito_header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  margin-right: 5px;
  font-family: "Andika", sans-serif;
  font-size: 18px;
  width: 80%;
  height: 100%;
  color: #525252;
  mix-blend-mode: difference;
}

@media screen and (max-width: 768px) {
  header {
    width: 100vw;
    left: auto;
    right: auto;
    justify-content: space-between;
    z-index: 1000 !important;
    position: absolute;
  }
  .header_container {
    width: 100%;
    min-width: 200px;
    border-radius: 20px;
    padding: 3px 3px 20px;
    box-sizing: border-box;
    margin: 0 auto;
    justify-content: space-between;
    transition: all ease-in-out 0.7s;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .header_nome_logo {
    padding: 20px 10px;
  }
  .no_bg {
    background-color: transparent;
  }
  .long {
    width: 90vw;
  }
  .logo {
    width: 30px;
    height: 30px;
  }
  .imgs_container {
    display: none;
  }
}
