header {
  width: 100%;
  /* height: 80px; */
  background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.6));
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 0 100px; */
  padding: 0 4.8rem;
  position: fixed;
  z-index: 1000;
  transition: all 0.3s;
}

header:hover {
  /* height: 5.2rem; */
  transform: scale(1.01);
}

header:hover ul li a {
  /* font-size: 2.1rem; */
}

header.black-background {
  background-color: #000;
}
.logo {
  height: 4.8rem;
  margin: 2.4rem;
  transition: all 0.3s;
}
.hamburger {
  display: none;
  /* font-size: 28px; */
  color: #fefefe;
  cursor: pointer;
  transition: all 0.3s;
}
.nav-bar ul li {
  list-style: none;
}

.nav-bar ul {
  display: flex;
}
.nav-bar ul li a {
  display: inline-block;
  color: #fefefe;
  font-size: 2rem;
  /* padding: 10px; */
  /* padding-bottom: 5px; */
  border-radius: 50px;
  transition: 0.5s;
  /* margin: 0 5px; */
  text-decoration: none;
}
.nav-bar ul li a:hover {
  color: #b4955b;
}

.menu-icon {
  font-size: 5.6rem;
  color: #fff;
  transition: all 0.3s;
}
.close-icon {
  font-size: 5.6rem;
  color: #fff;
  transition: all 0.3s;
}

.menu-icon:hover {
  color: #b4955b;
}
.close-icon:hover {
  color: #b4955b;
}
@media only screen and (max-width: 1320px) {
  header {
    /* padding: 0 50px; */
    padding: 0 2.4rem;
  }
}
@media only screen and (max-width: 1100px) {
  header {
    /* padding: 0 30px; */
    padding: 0 1.2rem;
  }
}
@media only screen and (max-width: 1200px) {
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-bar ul li a {
    font-size: 2.4rem;
  }
  .nav-bar {
    height: 0;
    position: absolute;
    top: 9.5rem;
    left: 0;
    right: 0;
    /* width: 100vw; */
    background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.9));
    transition: 0.5s;
    overflow: hidden;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }
  .nav-bar.active {
    height: 320px;
  }
  .nav-bar ul {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
    text-align: center;
    transition: 0.5s;
    opacity: 0;
  }
  .nav-bar.active ul {
    opacity: 1;
  }
  .nav-bar ul li a {
    margin-bottom: 30px;
  }
}
.backniga {
  height: 200vh;
  background-color: red;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
}
.nav-menu li a {
  position: relative;
}
.nav-menu li a::before {
  content: "";
  height: 3px;
  width: 0;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: all 0.5s;
}
.nav-menu li a:hover::before {
  width: 100%;
  background-color: #b4955b;
}

@media (max-width: 500px) {
  .logo {
    margin: 2.4rem 1.2rem;
  }

  .menu-x-language {
    margin-right: 1.2rem;
  }
}
