.menu-container {
  background-color: transparent;
  border-radius: 0px 0px 24px 0px;
  position: absolute;
  padding: 12px;
  top: 0px;
  left: 0px;
  display: flex;
  flex-direction: row;
}

@media (max-width: 1024px) or (hover: none) {
  .menu-container {
    display: none;
  }
}

.toggle-button {
  opacity: 0.25;
  color: white;
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: transparent;
  border: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-container:hover .toggle-button {
  opacity: 1;
}

.menu {
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  height: 24px;
  width: 24px;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
  color: white;
  padding: 0px 0px;
  position: relative;
  top: 0px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "SF-Text", sans-serif;
  overflow: hidden;
  white-space: nowrap;
  cursor: default;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.menu.show {
  opacity: 0.5;
  background-color: rgb(30, 30, 30);
  border: 1px solid rgb(190, 190, 190);
  border-radius: 16px;
  height: 53px;
  width: 100%;
  padding: 0px 24px;
  top: 0px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-container:hover .menu {
  opacity: 1;
  background-color: rgb(30, 30, 30);
  border: 1px solid rgb(190, 190, 190);
  box-shadow: 0px 0px 12px 0px rgba(255, 255, 255, 0.25);
}

.menu.show li {
  opacity: 1;
}

.menu.show .toggle-button {
  opacity: 0.75;
}

.menu li {
  position: relative;
  left: 0px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu a {
  background-color: transparent;
  padding: 6px 12px;
  border: 1px solid rgb(190, 190, 190);
  border-radius: 12px;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: white;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.menu a:hover {
  box-shadow: 0px 0px 12px 0px rgba(255, 255, 255, 0.25);
  background-color: gray;
  border: 1px solid rgb(150, 150, 150);
}

.menu a:active {
  color: gray;
  background-color: lightgray;
}

.menu a.white {
  color: black;
  background-color: white;
}

.menu a.white:hover {
  background-color: rgb(200, 200, 200);
}

/* 我的屎山代码…… */
/* 能用就行（ */
