/* Start - css/menu.css */
#menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 25vw;
  background-color: white;
  background-image: url(img/papel.webp);
  background-repeat: repeat;
  background-size: auto 100%;
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.35);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1), opacity 0.35s ease;
  z-index: 9999;
  padding: 3vw 3vw 2vw 3vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background-position: left top;
}
#menu.menu-open {
  transform: translateX(0);
  opacity: 1;
}
h2.menu-title {
  font-size: 3vw;
  line-height: 4vw;
  font-family: var(--euphorigenic);
  margin-bottom: 3vw;
  color: var(--karazan-bordo);
  text-align: center;
  font-weight: bold;
  margin-top: 5vw;
}
.menu-close {
  position: absolute;
  top: 1vw;
  right: 1.5vw;
  background-color: transparent;
  border-width: 0;
  border-style: none;
  border-color: transparent;
  color: var(--karazan-bordo);
  font-size: 4vw;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin: 0;
  font-family: var(--ibarra);
}
#menu ul {
  list-style: none;
  padding: 1.5vw 0 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5vw;
  align-items: flex-start;
}
#menu li {
  margin: 0;
}
#menu a {
  color: var(--karazan-bordo);
  font-family: var(--ibarra);
  font-size: 1.3vw;
  line-height: 1.3vw;
  text-decoration: none;
  display: inline-block;
}
#menu a:hover,
#menu a:focus {
  text-decoration: underline;
}
#menu a:focus,
.menu-close:focus {
  outline-width: 0.2vw;
  outline-style: solid;
  outline-color: var(--teste00);
  outline-offset: 0.3vw;
}

/* Mobile Menu Adjustments */
@media only screen and (max-width: 1024px) and (orientation: portrait) {
  #menu {
    width: 74vw;
    padding: 6vw 6vw 4vw 6vw;
  }
  h2.menu-title {
    font-size: 9vw;
    line-height: 11vw;
    margin-bottom: 6vw;
    margin-top: 12vw;
  }
  .menu-close {
    top: 2.5vw;
    right: 3.5vw;
    font-size: 12vw;
  }
  #menu ul {
    padding: 3vw 0 0 0;
    gap: 3.5vw;
  }
  #menu a {
    font-size: 5.6vw;
    line-height: 6.5vw;
  }
}

/* End - css/menu.css */
