* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.header-content {
  width: 90%;
  height: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem 2rem;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

/* nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #5d495d;
} */

.header-logo img {
  height: 1.7rem;
  vertical-align: middle;
}
.nav-links {
  display: flex;
  justify-content: space-between;
}

.nav-links li {
  list-style: none;
}

ul li:hover .dropdown > li {
  top: 0;

  display: block;
}

.dropdown li {
  display: none;

  position: relative;
  padding-top: 15px;
  padding-left: 20px;
}

.dropdown li:last-child {
  padding-bottom: 20px;
}
.dropdown li:first-child {
  padding-top: 20px;
}
.dropdown {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.dropbar-2 {
  display: none;
}
.burger {
  display: none;
  cursor: pointer;
  justify-self: flex-end;
}

.burger div {
  width: 2rem;
  height: 0.15rem;
  border-radius: 1rem;
  margin: 0.4rem;
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  .dropbar-2 {
    display: inline-flex;
  }
  .dropbar {
    display: none;
  }
  .dropbar-sub {
    padding-left: 2rem;
  }

  .nav-links {
    position: absolute;
    right: -100vw;

    top: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: flex-start;
    padding-left: 20vw;
    width: 100vw;
    /* transform: translateX(100%); */
    transition: right 0.5s ease-in;
    height: calc(100vh - 2.5rem);
    max-height: 100vh;
    width: 100%;
    overflow-y: auto;
  }

  .nav-links li {
    opacity: 0;
    margin-top: 1.4rem;
  }  li.dropbar-sub {
    margin-top: 0.8rem;
  }
  .nav-links li:last-child {
    margin-bottom: 5rem;
  }
  .burger {
    display: block;
  }
}
@media screen and (min-width: 1276.6px) {
  .header-content {
    grid-template-columns: 1fr calc(50% + 4.8rem);
  }
}

.logo-active {
  margin-left: -0.05rem;
}
.nav-active {
  /* transform: translateX(0%); */
  right: 0;
}

.main-active {
  position: fixed;
  top: 100vh;
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.toggle {
  margin-right: 1rem;
}
.toggle .line1 {
  transform: rotate(-45deg) translate(-0.4rem, 0.4rem);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-0.4rem, -0.4rem);
}

.change_EN {
background-image: url('../images/Innolite_language_EN.jpg'); background-size: contain; background-repeat:no-repeat;background-position: center; display:inline-block; width: 1.5rem;height: 100%;
}