/* 导航盒子 */

.hide-navigation {
  width: 100%;
  height: 60px;
}

.navigation {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  background-color: #232222;
}

.navigation-box {
  max-width: 1232px;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  justify-content: space-between;
}

/* Logo */

.navigation-box > .logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 10px;
  height: 100%;
  text-decoration: none;
  outline: none;
  border: none;
}

.navigation-box > .logo:focus,
.navigation-box > .logo:active {
  outline: none;
  border: none;
}

.navigation-box > .logo > img {
  border-radius: 22px;
  height: 35px;
  margin-right: 10px;
  border: none;
  outline: none;
}

.navigation-box > .logo > div {
  font-size: 16px;
  color: #ffffff;
}

/* 栏目 */

.navigation-box > .column {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.navigation-box > .column > .column-item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100%;
  color: #e5e5e5;
}

.navigation-box > .column > .column-item.active {
  background-color: #3a3838;
}

/* 查找 */

.find {
  padding-top: 12px;
  margin-right: 40px;
}

#search {
  position: relative;
  display: flex;
  align-items: center;
}

#search .text {
  background-color: #3a3838;
  border: 1px solid transparent;
  border-radius: 20px;
  color: #ffffff;
  padding: 8px 16px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  width: 180px;
}

#search .text:focus {
  background-color: #4a4848;
  border-color: #555;
  width: 240px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

#search .text::placeholder {
  color: #aaa;
  font-size: 13px;
}

@media (max-width: 991px) {
  /* 查找 */
  .navigation-box {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  /* 查找 */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 100000;
    margin-right: 10px;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* 查找 */
  .navigation-box > .column {
    display: none;
    justify-content: space-evenly;
    width: 100%;
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
  }

  .navigation-box > .column.show {
    display: flex;
  }

  .navigation-box > .column > .column-item {
    width: 68px;
    height: 35px;
    margin: 2px 0;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
  }
}
