.header-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}

.header-section img {
  width: 200px;
}

.header-nav1 ul {
  list-style: none;
  display: flex;
}

a {
  text-decoration: none;
  color: black;
}

.header-nav1 ul li {
  padding: 10px;
  font-size: var(--desktop-font4);
  font-weight: 500;
}

.header-nav1 ul li:hover {
  font-weight: 700;
  cursor: pointer;
}

.header-nav2 {
  display: none;
}

/* CSS for hamburger */

#menu__toggle {
  opacity: 0;
}

/* Background color to change for all 3 strokes after open menu */
#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
  background-color: white;
}
#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
  background-color: white;
}
#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
  background-color: white;
}
#menu__toggle:checked ~ .menu__box {
  right: 0 !important;
}
.menu__btn {
  position: absolute;
  top: 38px;
  right: 20px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 3;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #2e3192;
  transition-duration: 0.25s;
}
.menu__btn > span::before {
  content: "";
  top: -8px;
}
.menu__btn > span::after {
  content: "";
  top: 8px;
}

.menu__box {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 2;
  /* Hamburger Menu background color, text size and font weight */
  background-color: #2e3192;
  color: white;
  font-size: var(--mobile-font2);
  font-weight: 400;
}

.menu__box li {
  padding: 10px;
}

.menu__box li a {
  color: white;
}

.menu__box li a:hover {
  font-weight: 400;
  text-decoration: underline;
}

.menu__item {
  display: block;
  padding: 12px 24px;
  font-weight: 400;
  text-decoration: none;
}

/* end of CSS for hamburger-menu */

@media only screen and (max-width: 600px) {
  .header-section {
    padding: 10px;
  }

  .header-section img {
    width: 140px;
  }

  .header-nav1 {
    display: none;
  }

  .header-nav2 {
    display: flex;
    align-items: center;
    color: white;
  }

  .header-nav2 ul {
    display: flex;
    align-items: center;
  }

  .header-nav2 ul li {
    padding-right: 15px;
  }

  .header-nav2 ul li:hover {
    font-weight: 700;
    cursor: pointer;
  }
}
