:root {
  --primary-color: #4f5de4;
  --secondary-color: #ff7200;
  --text-color: #333;
  --text-white: #fff;

  --background-color: #f5f5f5;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
img {
  width: 100%;
}
.body-layout {
  background-color: var(--background-color);
}
header {
  width: 100%;
  display: flex;
  background-color: var(--primary-color);
  position: fixed;
  padding: 8px 20px;
  z-index: 1;
}
.header-layout {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
a.logo-link {
  width: 52px;
  text-decoration: none;
}
a.logo-link img {
  width: 100%;
}
nav {
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
ul.nav-ul {
  list-style: none;
  display: flex;
}
li.nav-li {
  margin: 0 25px;
}
li.nav-li a {
  text-decoration: none;
  font-family: "Poppins", serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: var(--text-white);
}
.left-nav {
  width: auto;
  display: flex;
}
.left-nav-ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.left-nav-li {
  list-style: none;
  margin: 0;
  padding: 0;
}
button.search-btn {
  width: 20px;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  margin-right: 20px;
}
button.search-btn img {
  width: 100%;
}
button.login-btn {
  width: 100px;
  background-color: var(--secondary-color);
  border: 0;
  cursor: pointer;
  color: var(--text-white);
  font-family: "Poppins", serif;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  border-radius: 4px;
  padding: 10px 0;
}
.mobile-nav {
  display: none;
}
.mobile-nav.active span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
  margin: 6px;
}

.mobile-nav.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav.active span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
  margin: 6px;
}
.website-layout-wrapper {
  display: flex;
  margin-top: 60px;
}

@media (max-width: 1112px) {
  .mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    background-color: transparent;
    border: 0;
    margin-right: 20px;
  }
  .ham-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    margin: 6px 0 0;
    transition: all 0.4s ease-in-out;
  }
  /* header {
    position: relative;
  } */
  .header-layout {
    justify-content: flex-start;
  }
  .left-nav {
    margin-left: auto;
  }
  nav {
    width: 50%;
    position: fixed;
    top: 60px;
    left: -100%;
    height: 100vh;
    flex-direction: column;
    z-index: 4;
    background-color: var(--background-color);
  }
  nav.active {
    left: 0; /* Slides in */
  }
  a.logo-link {
    width: 55px;
  }
  ul.nav-ul {
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 20px;
  }
  li.nav-li {
    margin-left: 0;
  }
  li.nav-li a {
    color: var(--primary-color);
  }

  .header-layout .popup-overlay {
    top: 60px;
  }
}

@media (max-width: 600px) {
  nav {
    width: 73%;
  }
}
