:root {
  --animate-duration: 100ms;
  --animate-delay: 0.2s;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}
.container {
  max-width: 1340px;
  width: 90%;
  margin: auto;
  /* text-align: center; */
  font-family: PPTelegraf-Regular;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.48px;
}
.navbar {
  position: fixed;
  width: 100%;
  background: #ffffffed;
  color: #000;
  z-index: 100;
  top: 0;
  display: flex;
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  height: 80px;
  align-items: center;
}
.menu-items {
  order: 2;
  display: flex;
  align-items: center;
}
.logo {
  order: 1;
  font-size: 2.3rem;
}
.menu-items li {
  list-style: none;
  margin-left: 1.5rem;
  font-size: 1.3rem;
  position: relative;
}

/* -----------------nav tabs----------------- */
.head-title {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.1s ease-in-out;
  display: flex;
  gap: 5px;
  align-items: center;
  color: #444;
  text-decoration: none;
  font-weight: 500;
  color: #141414;
  position: relative;
}
.head-title svg {
  transition: all 0.2s;
}
.head-title:hover::after {
  content: "";
  width: 200%;
  transform: translateX(-30px);
  position: absolute;
  top: 13px;
  height: 100px;
}
.head-title:hover::after {
  display: block;
}
.head-title:hover {
  color: #ff0005;
}
.head-title:hover svg path {
  fill: #ff0005;
}

/* -----------------menu common----------------- */
.menu {
  position: absolute;
  width: 338px;
  padding: 15px 30px;
  top: 40px;
  display: flex;
  height: fit-content;
  -webkit-box-shadow: 0px 0px 28px 0px rgba(0, 0, 0, 0.44);
  -moz-box-shadow: 0px 0px 28px 0px rgba(0, 0, 0, 0.44);
  box-shadow: 0px 0px 28px 0px rgba(0, 0, 0, 0.44);
}
.menu a:first-child {
  display: none;
}
.menu a {
  padding: 18px;
}
/*----------------- child sub-----------------*/
.child-sub-menu {
  display: none;
  background: #c60004;
  left: 338px;
  flex-direction: column;
  color: white;
  top: 0;
  z-index: 999;
}
.child-sub-menu:hover {
  display: flex;
}
/* -----------------sub menu----------------- */
.sub-menu {
  display: none;
  left: -150px;
  flex-direction: column;
  background-color: #ff0005;
  color: white;
}
.sub-menu:hover {
  display: flex;
}

/* .head-title:hover::before {
  display: none;
  z-index: -1;
  content: "";
  position: fixed;
  width: 100vw;
  height: calc(100vh);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  top: 0;
  left: 0;
} */
.has-child-sub {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  position: relative;
}
.has-child-sub::after {
  content: "";
  width: 200%;
  position: absolute;
  height: 50px;
  z-index: 999;
}
.head-title:hover + .sub-menu {
  display: flex;
}
.has-child-sub:hover + .child-sub-menu {
  display: flex;
}
.child-sub-menu a,
.sub-menu a {
  color: white;
}

/* -----------------mobile----------------- */
@media (max-width: 900px) {
  .navbar {
    opacity: 0.95;
  }
  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }
  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
  }
  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
  }
  .navbar-container .hamburger-lines {
    display: block;
    height: 28px;
    width: 35px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #333;
  }
  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.3s ease-in-out;
  }
  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }
  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.3s ease-in-out;
  }
  .navbar .menu-items {
    padding-top: 100px;
    background: #fff;
    height: 100vh;
    max-width: 300px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 40px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #aaa;
    overflow: auto;
    align-items: flex-start;
  }
  .navbar .menu-items li {
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    font-weight: 500;
  }
  .logo {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2.5rem;
  }
  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }
  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
  }
  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }
  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
  }
  .hide {
    display: none !important;
  }
  .menu {
    position: relative;
    top: 0;
    padding: 0;
    left: 0;
    width: max-content;
    padding-left: 20px;
    -webkit-box-shadow: 0px 0px 0px 0px;
    -moz-box-shadow: 0px 0px 0px 0px;
    box-shadow: 0px 0px 0px 0px;
  }

  .sub-menu,
  .child-sub-menu {
    background-color: white;
  }
  a {
    color: #000 !important;
  }

  .head-title::after {
    height: 0;
  }
  .sub-menu::before {
    display: none;
  }
  .has-child-sub svg path {
    fill: black;
  }
  .has-child-sub {
    margin-bottom: -10px;
  }
  .head-title:hover > svg {
    transform: rotate(0deg);
  }
  .has-child-sub::after {
    display: none;
  }
}
@media (max-width: 500px) {
  .navbar-container input[type="checkbox"]:checked ~ .logo {
    display: none;
  }
}

/* dummy div */
.dummy-div {
  width: 100%;
  height: 6px;
  border-radius: 6px;
  border: 1px solid var(--system-colors-white-opacity, rgba(255, 255, 255, 0.36));
}

/* -----------------button----------------- */
.header-nav-features {
  position: relative;
  height: max-content;
  width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.header-nav-features .hire-container {
  padding: 16px 34px;
  border: 1px solid #000000;
  border-radius: 48px;
  text-align: center;
  color: black;
  transition: all 0.3s ease-in;
}
.header-nav-features .arrow-circle {
  width: 45px;
  height: 45px;
  border-radius: 100%;
  transition: all 0.3s ease-in;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000000;
}
.header-nav-features .arrow-circle svg {
  color: #000000;
  transition: all 0.3s ease-in;
  transform: rotate(0deg);
}
.header-nav-features:hover .hire-container {
  background-color: #000000;
  border: 1px solid #000000;
  color: white;
}
.header-nav-features:hover .arrow-circle {
  border: 1px solid #000000;
}
.header-nav-features:hover .arrow-circle svg {
  transform: rotate(45deg);
  color: #000000;
}
