.navbar-container {
  display: flex;
  position: fixed;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  height: 6rem;
  width: 100%;
  z-index: 999;
  background-color: white;
  box-shadow: 0px .125rem .75rem 0px rgba(0, 0, 0, 0.12);
  user-select: none;
}

.navbar-top {
  margin: 6rem;
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin: 0px 3.125rem;
}

.navbar-logo {
  width: 5rem;
  height: 5rem;
}

.navbar-space {
  flex: 1;
}

.navbar-logo > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 1.375rem;
}

.navbar-items {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end;
  color: black;
  font-size: 1rem;
  font-family: "SourceHanSansCN";
}

.navbar-item {
  position: relative;
  margin-right: 1.875rem;
  cursor: pointer;
  font-size: 1rem;
  border-bottom: .125rem transparent solid;
  padding-left: .1875rem;
  padding-right: .1875rem;
  padding-bottom: .375rem;
  font-family: "SourceHanSansCN";
}

@media screen and (max-width: 1920px) {
  .navbar-container {
    height: 100px;
  }

  .navbar-top {
    margin: 100px;
  }

  .navbar-items {
    font-size: 16px;
  }
  
  .navbar-item {
    font-size: 16px;
  }

  .navbar-logo {
    width: 80px;
    height: 80px;
  }  
}

.navbar-item-active {
  border-bottom: .125rem rgb(44, 158, 244) solid;
}

.navbar-item:hover {
  border-bottom: .125rem rgb(44, 158, 244) solid;
}

.navbar-item-image {
  margin-left: 3.125rem;
}

.navbar-item > img {
  width: 1.125rem;
  height: 1.125rem;
  padding-top: .375rem;
}

.navbar-item > span > img {
  width: 1.125rem;
  height: 1.125rem;
  padding-top: .375rem;
}

.navbar-sub-items {
  visibility: hidden;
  position: absolute;
  background-color: rgb(255, 255, 255);
  padding-top: 2.5rem;
  margin-top: .5rem;
  left: -1.9375rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.navbar-sub-item {
  margin-bottom: .625rem;
  text-align: center;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: .625rem;
  padding-bottom: .625rem;
  width: 6.25rem;
}

.navbar-sub-items-category {
  left: -48rem;
}

.navbar-sub-items-category-list {
  margin-bottom: .625rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: .625rem;
  width: 84rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.navbar-sub-items-category-list-item {
  display: flex;
  flex-direction: column;
  width: 14rem;
}

.navbar-sub-items-category-list-item > div:not(:last-child) {
  margin-bottom: 1rem;
}

.navbar-sub-items-category-list-item > div {
  transition: all .3s;
}

.navbar-sub-items-category-list-item > div:hover {
  color: rgb(44, 158, 244);
}

.navbar-sub-items-category-list-item-main {
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  border-bottom: .0625rem solid #ccc;
  padding-bottom: .5rem;
}

.navbar-sub-items-category-list-item-sub {
  font-size: 1rem;
  color: #555;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.navbar-sub-items-category-list-item-sub > span {
  width: .325rem;
  height: .325rem;
  border-top: .125rem solid #aaa;
  border-right: .125rem solid #aaa;
  transform: rotate(45deg);
  margin-right: .5rem;
}

.navbar-sub-item:hover {
  background-color: rgb(44, 158, 244);
  color: white;
}

.navbar-item:hover > .navbar-sub-items {
  visibility: visible;
  opacity: 1;
}

.navbar-toggler {
  display: none;
  align-items: center;
  justify-content: end;
}

.navbar-toggler > svg {
  height: 32px;
  width: 32px;
  padding: 8px 12px;
  cursor: pointer;
  color: rgb(0, 0, 0);
}

.navbar-toggler > svg:hover {
  border-radius: 10px;
  box-shadow:
    0px 0px 0.9px rgba(0, 0, 0, 0.038),
    0px 0px 2.5px rgba(0, 0, 0, 0.055),
    0px 0px 6px rgba(0, 0, 0, 0.072),
    0px 0px 20px rgba(0, 0, 0, 0.11)
  ;
}

.navbar-offcanvas {
  display: none;
  position: fixed;
  background-color: rgb(129, 129, 129);
  height: 100%;
  width: 0px;
  top: 0;
  right: 0;
  text-align: right;
}

.navbar-offcanvas-mask {
  display: none;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.navbar-offcanvas-body {
  display: flex;
  flex-direction: column;
  color: white;
}

.navbar-offcanvas-close {
  display: flex;
  justify-content: end;
  cursor: pointer;
  margin-bottom: 10px;
}

.navbar-offcanvas-header {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  margin-right: 12px;
}

.offcanvas-item {
  cursor: pointer;
  margin-bottom: 12px;
  font-size: 18px;
  margin-right: 12px;
}

.offcanvas-item:hover {
  color: rgb(94, 175, 238);
}

.offcanvas-sub-items {
  display: none;
  margin-right: 30px;
  color: white;
}

.offcanvas-sub-item {
  margin-top: 10px;
}

.offcanvas-sub-item:hover {
  color: rgb(94, 175, 238);
}

@media screen and (max-width: 950px) {
  .navbar-items { 
    display: none;
  }

  .navbar-toggler { 
    display: flex;
  }
}

.navbar-item-search {
  position: relative;
  padding-left: .25rem;
  padding-right: .25rem;
  padding-bottom: .125rem;
  margin-right: 1rem;
}

.navbar-item-search > input {
  padding-left: .5rem;
  height: 2rem;
  width: 100%;
  border: 0px;
  border-bottom: 1px solid rgb(129, 129, 129);
  outline: none;
  font-size: .875rem;
}

.navbar-item-search > img {
  height: 1rem;
  position: absolute;
  top: .5rem;
  right: 0;
  cursor: pointer;
}