@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

:root {
  --dark-grey: #333333;
  --medium-grey: #636363;
  --light-grey: #eeeeee;
  --ash: #f4f4f4;
  --primary-color: #8eb232 !important;
  --white: white;
  --border-color: #f6f6f6;
  --primary-white: #ffffff !important;
  --border: 1px solid var(--light-grey);
  --shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

body {
  font-family: inherit;
  background-color: var(--white);
  color: var(--dark-grey);
  letter-spacing: -0.4px;
}

ul {
  list-style: none;
}

header.header-container a {
  text-decoration: none;
  color: inherit;
}

.button-submit {
  border: none !important;
  background-color: #7ab805 !important;
  cursor: pointer !important;
  color: inherit !important;
  border: none !important;
}

.button-submit:hover {
  color: var(--primary-white) !important;
  border: none !important;
}

.header-account-name {
  font-size: 16px !important;
  color: #79b704;
}

.header-icon {
  font-size: 17px;
}

.header-user-icon {
  font-size: 30px;
  color: #7bb805;
}

.header-logo {
  margin-right: 1.5rem;
  margin-top: 22px;
}

#header-nav-menu {
  border-bottom: var(--border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 13px auto;
  column-gap: 2rem;
  height: 90px;
  padding: 1.2rem 3rem;
  border-bottom: solid;
  border-color: var(--border-color);
  margin-bottom: 30px;
  background-color: #ffffff;
}

.header-menu {
  position: relative;
  background: var(--white);
}

.header-menu-bar li:first-child .dropdown {
  flex-direction: initial;
  min-width: 480px;
}

.header-menu-bar li:first-child ul:nth-child(1) {
  border-right: var(--border);
}

.header-menu-bar li:nth-child(n + 2) ul:nth-child(1) {
  border-bottom: var(--border);
}

.header-menu-bar .dropdown-link-title {
  font-weight: 600;
}

.header-menu-bar .header-nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.6px;
  padding: 0.3rem;
  min-width: 60px;
  margin: 0 0.6rem;
}

.logo-image {
  width: 150px;
  height: 120px;
}

.header-active, .btn:hover {
  color: var(--primary-color);
}

.header-menu-bar .header-nav-link:hover,
.header-dropdown-link:hover {
  color: #8eb232 !important;
  text-decoration: none;
}

.header-nav-start,
.header-nav-end,
.header-menu-bar,
.header-right-container,
.header-right-container .search {
  display: flex;
  align-items: center;
}

.header-dropdown {
  display: flex;
  flex-direction: column;
  min-width: 230px;
  background-color: var(--white);
  border-radius: 10px;
  position: absolute;
  top: 36px;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.97) translateX(-5px);
  transition: 0.1s ease-in-out;
  box-shadow: var(--shadow);
}

.header-dropdown.active {
  visibility: visible;
  opacity: 1;
  transform: scale(1) translateX(5px);
}

.header-dropdown ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.2rem;
  font-size: 0.95rem;
}

.header-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.15rem;
  border: none !important;
}

.header-dropdown-link {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-radius: 7px;
  transition: 0.1s ease-in-out;
  font-size: 14px !important;
}

.header-dropdown-link p {
  font-size: 0.8rem;
  color: var(--medium-grey);
}

.header-right-container {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.header-right-container .header-search {
  position: relative;
}

.header-right-container img {
  border-radius: 50%;
}

.header-search input {
  background-color: var(--ash);
  border: none;
  border-radius: 6px;
  padding: 0.7rem;
  padding-left: 2.4rem;
  font-size: 16px;
  width: 100%;
  border: var(--border);
}

.header-search .bx-search {
  position: absolute;
  left: 10px;
  top: 50%;
  font-size: 1.3rem;
  transform: translateY(-50%);
  opacity: 0.6;
}

#hamburger {
  display: none;
  padding: 0.1rem;
  margin-left: 1rem;
  font-size: 1.9rem;
}

.dropdown-button {
  background-color: #ffffff !important;
}

.dropdown-button:hover {
  color: var(--primary-color) !important;
}

.form-control {
  height: 34px !important;
}

@media (max-width: 1100px) {
  #hamburger {
    display: block;
  }

  .header-container {
    padding: 1.2rem;
  }

  .header-menu {
    display: none;
    position: absolute;
    top: 87px;
    left: 0;
    width: 100vw;
  }

  .header-menu-bar li:first-child ul:nth-child(1) {
    border-right: none;
    border-bottom: var(--border);
  }

  .header-dropdown {
    display: none;
    min-width: 100%;
    border: none !important;
    border-radius: 5px;
    position: static;
    top: 0;
    left: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }

  .header-dropdown-user {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-radius: 7px;
    transition: 0.1s ease-in-out;
    font-size: 14px !important;
  }

  .header-menu.show,
  .header-dropdown.active {
    display: block;
  }

  .header-dropdown ul {
    padding-left: 0.3rem;
  }

  .header-menu-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    row-gap: 1rem;
    padding: 1rem;
  }

  .header-menu-bar .header-nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
  }

  .header-menu-bar li:first-child .dropdown {
    min-width: 100%;
  }

  .header-menu-bar > li:not(:last-child) {
    padding-bottom: 0.5rem;
    border-bottom: var(--border);
  }
}

@media (max-width: 600px) {
  .header-right-container {
    display: none;
  }
}