/***********************
        HEADER
***********************/

/* Hamburger Menu */

.nav-icon {
  display: none;
  width: 24px;
  height: 30px;
  position: absolute;
  left: 30px;
  top: 42px;
  margin: 0 auto;
  transform: rotate(0deg);
  transition: 0.2s all;
  cursor: pointer;
  z-index: 9;
}

.nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--color-primary);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.nav-icon span:nth-child(1) {
  top: 0;
}

.nav-icon span:nth-child(2) {
  top: 10px;
}

.nav-icon span:nth-child(3) {
  top: 20px;
}

.nav-icon.open span:nth-child(1) {
  top: 18px;
  transform: rotate(135deg);
}

.nav-icon.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.nav-icon.open span:nth-child(3) {
  top: 18px;
  transform: rotate(-135deg);
}

header {
  position: absolute;
  top: 0px;
  z-index: 3;
  width: 100%;
  background: transparent;
}

.navigation {
  padding: 20px 0px;
  justify-content: space-between;
}

.menu-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 5px 0px;
  transition: 0.4s all;
  width: 60%;
}

.nav {
  display: flex;
  margin-right: 20px;
}

.nav li {
  display: flex;
  list-style: none;
  padding: 10px;
  align-items: center;
}

.nav li a {
  color: var(--color-white);
  position: relative;
  font-family: var(--font-title);
}

.nav li a:hover {
  color: var(--color-primary);
}

.logo {
  display: flex;
  max-height: 150px;
  align-items: center;
}

.logo:hover {
  opacity: 0.9;
  transform: scale(0.95);
}

.sub-menu {
  box-shadow: 0px 4px 5px #00000017;
}

.menu-item-has-children {
  position: relative;
}

.menu-item-has-children ul {
  position: absolute;
  top: 60px;
  left: -50px;
  padding: 0px 10px;
  max-height: 0;
  background: var(--color-white);
  overflow: hidden;
  transition: 0.4s;
  min-width: 240px;
  border-radius: 10px;
}

.menu-item-has-children ul li {
  padding: 5px;
  margin: 10px 0px;
}

.menu-item-has-children ul li a {
  width: 100%;
  display: flex;
  color: var(--color-primary);
  align-items: center;
  padding-left: 0;
  font-size: 14px;
}

.menu-item-has-children ul li a:hover {
  color: var(--color-primary);
  padding-left: 15px;
}

.menu-item-has-children ul li a::before {
  content: "\e905";
  font-family: "mrz-iconset" !important;
  color: transparent;
  position: relative;
  display: flex;
  margin-right: 10px;
  transition: 0.3s all;
  width: 0px;
  font-size: 12px;
}

.menu-item-has-children ul li a:hover:before {
  color: var(--color-secondary);
  width: 10px;
}

.menu-item-has-children:after {
  content: "\e906";
  font-family: "mrz-iconset";
  margin-left: 8px;
  position: relative;
  height: 10px;
  padding: 2px;
  font-size: 10px;
  top: 3px;
  transition: transform 0.4s;
  transform-origin: 50% 45%;
  color: var(--color-secondary);
}

.menu-item-has-children:hover ul {
  max-height: 220px;
}

.menu-item-has-children:hover:after {
  transform: rotate(-180deg);
}

.mega-menu {
  position: relative;
}

.mega-menu .sub-menu {
  position: absolute;
  width: 900px;
  left: -900px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mega-menu:hover ul {
  max-height: 200px;
}

.menu-col {
  width: 25%;
  overflow: hidden;
  padding: 0px;
  text-align: center;
}

.menu-col:hover {
  background-color: var(--color-light);
  border-radius: 5px;
}

.menu-col img {
  width: 100%;
  object-fit: contain;
  border-radius: 5px;
}

.nav li a::after {
  content: "";
  height: 2px;
  width: 100%;
  background: transparent;
  position: absolute;
  bottom: -5px;
  display: block;
  right: -100%;
  transition: 0.3s all;
}

.nav li a:hover::after {
  left: 0;
  background: var(--color-secondary);
}

.menu-item-has-children ul li a::after {
  display: none;
}

.header-info {
  position: absolute;
  right: 10%;
  top: 20px;
  display: flex;
  align-items: center;
}

.header-info .btn {
  min-width: 140px;
  padding: 10px 20px;
  font-size: 14px;
  justify-content: center;
}

header .btn {
  min-width: inherit;
}

header .btn::after {
  display: none;
}
