@media print {
  .nav-links {
    display: none !important;
  }

  .nav-account {
    display: none !important;
  }

  .nav-menu {
    display: flex !important;
  }
}

nav {
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: start;
  justify-items: start;
  align-content: end;
  align-items: end;
  flex-direction: column;
  position: fixed;
  top: 0px;
  transition: 0.5s all;
  z-index: 999;
}

.shadow-c {
  width: 100%;
  height: 70px;
}

.nav-area {
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  justify-items: space-between;
  align-content: center;
  align-items: center;
  background-color: white;
  border-bottom: 1px solid rgb(209, 209, 209);
}

.nav-logo {
  width: fit-content;
  height: 100%;
  margin-left: 10px;
  cursor: pointer;
}

.nav-logo-link {
  width: fit-content;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-content: center;
  align-items: center;
}

.nav-logo-img {
  width: auto;
  height: 80%;
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.5));
  image-rendering: -webkit-optimize-contrast;
  /* Untuk Safari & iOS */
}

.nav-links {
  width: fit-content;
  height: 100%;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-content: center;
  align-items: center;
  gap: 20px;
}

.nav-links-link {
  text-decoration: none;
  color: var(--first-color);
  cursor: pointer;
  margin: 0px;
  padding: 0px;
}

.nav-links-link:hover {
  color: var(--second-color);
}

.nav-links-txt {
  font-size: 17px;
  margin: 0px;
  padding: 0px;
  font-weight: bold;
}

.nav-menu {
  width: fit-content;
  height: 100%;
  display: none;
  justify-content: center;
  justify-items: center;
  align-content: center;
  align-items: center;
  margin-right: 20px;
}

.nav-menu-ic {
  text-decoration: none;
  color: var(--first-color);
  cursor: pointer;
  font-size: 25px;
}

.nav-menu-ic2 {
  color: var(--second-color);
}

.nav-menu-ic:hover,
.nav-menu-ic2:hover {
  color: var(--second-color);
}

.nav-account {
  width: fit-content;
  height: 100%;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-content: center;
  align-items: center;
  margin-right: 20px;
}

.nav-account-ic {
  text-decoration: none;
  color: var(--first-color);
  cursor: pointer;
  font-size: 25px;
}

.nav-account-ic2 {
  color: var(--second-color);
}

.nav-account-ic:hover,
.nav-account-ic2:hover {
  color: var(--second-color);
}

.close-account-box {
  position: absolute;
  width: 100%;
  height: 200vh;
}

.account-box {
  position: absolute;
  width: 250px;
  height: fit-content;
  padding: 20px 0px;
  background-color: white;
  border-radius: 5px;
  margin-top: 60px;
  margin-right: 10px;
  border: 2px solid rgb(209, 209, 209);
  display: flex;
  justify-content: center;
  justify-items: center;
  align-content: center;
  align-items: center;
}

.account-box-area {
  width: 90%;
  height: fit-content;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.account-box-btn {
  width: 100%;
  height: fit-content;
  padding: 10px 0px;
  background-color: var(--first-color);
  border-radius: 5px;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s all ease;
}

.account-box-btn:hover {
  opacity: 0.8;
}

.account-box-btn-txt {
  font-size: 17px;
  margin: 0px;
  padding: 0px;
  color: white;
  margin-left: 10px;
}

.account-box-line {
  width: 100%;
  height: 2px;
  background-color: rgb(209, 209, 209);
  margin: 10px 0px;
}

.account-box-btn-normal {
  width: 100%;
  height: fit-content;
  padding: 10px 0px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s all ease;
  background-color: rgb(235, 235, 235);
}

.account-box-btn-normal:hover {
  opacity: 0.8;
}

.account-box-btn-normal-txt {
  font-size: 17px;
  margin: 0px;
  padding: 0px;
  color: black;
  margin-left: 10px;
}

.close-menus {
  position: absolute;
  width: 100%;
  height: 200vh;
  z-index: 997;
}

.menus {
  width: 300px;
  height: 100vh;
  display: flex;
  justify-content: start;
  justify-items: start;
  align-content: center;
  align-items: center;
  flex-direction: column;
  position: fixed;
  top: 0px;
  right: -400px;
  background-color: white;
  transition: 0.5s all;
  z-index: 998;
  border-left: 1px solid rgb(209, 209, 209);
}

.menus-area {
  width: 90%;
  height: fit-content;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 15px;
  overflow-y: auto;
  overflow-x: hidden;
}

.menus-link {
  text-decoration: none;
  color: var(--first-color);
  cursor: pointer;
  margin: 0px;
  padding: 0px;
  font-weight: bold;
}

.menus-link:hover {
  color: var(--second-color);
}

.menus-link-txt {
  font-size: 25px;
  margin: 0px;
  padding: 0px;
  margin-bottom: 10px;
}

.menus-account {
  width: 100%;
  height: fit-content;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.x-menu {
  scale: 1.2;
}

.lang-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.lang-dropdown:hover {
  background-color: #e2e6ea;
}

.flag-icon {
  font-size: 18px;
  border-radius: 4px;
  background-color: transparent;
  border: 2px solid black;
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 1000;
  min-width: 140px;
}

.lang-dropdown-menu2 {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 1000;
  min-width: 140px;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: #333;
  background-color: #fff;
  transition: background-color 0.2s ease;
}

.lang-option:hover {
  background-color: #f0f0f0;
}

@media screen and (min-width: 1000px) {
  .nav-menu {
    display: none;
  }

  .nav-account {
    display: flex;
  }

  .nav-links {
    display: flex;
  }

  .account-box {
    display: flex;
  }

  .menus {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  .nav-menu {
    display: flex;
  }

  .nav-account {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .account-box {
    display: none;
  }

  .menus {
    display: flex;
  }
}

@media screen and (min-width: 400px) {
  .menus {
    width: 300px;
  }
}

@media screen and (max-width: 400px) {
  .menus {
    width: 100%;
  }
}