.header {
  height: 5rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--tertiary-color);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.header-middle {
  display: flex;
}

.header-left {
  display: block;
  overflow: hidden;
  padding: 0 2rem;
}

.header-logo {
  height: 100%;
  width: 13rem;
  transition: all 0.3s ease;
}

.header-logo:hover {
  cursor: pointer;
  opacity: 0.8;
}

.header-right {
  margin: auto 0;
  margin-right: 1rem;
  display: flex;
}

.header-nav-btn {
  color: inherit;
  display: none;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 1rem 1.5rem;
  border-radius: 5px;
  text-transform: capitalize;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.header-nav-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--chery-red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.header-nav-btn:hover::after {
  width: 80%;
}

.header-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.118);
  backdrop-filter: blur(5px);
}

.header-nav-btn.menu-btn {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.189);
  backdrop-filter: blur(5px);
}

.header.white-header {
  color: var(--tertiary-color);
  background: rgba(0, 0, 0, 0.3);
}

.header.white-header .header-nav-btn.menu-btn {
  background-color: rgba(255, 255, 255, 0.3);
}

@media screen and (min-width: 1200px) {
  .header-nav-btn {
    display: block;
  }
  .header-right {
    display: flex;
  }
}
