/*****************************************
*       THEME DARK OR LIGHT              *
******************************************/
#theme-switch {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#theme-switch svg {
  fill: var(--primary-color);
}

#theme-switch svg:last-child {
  display: none;
}

.darkmode #theme-switch svg {
  display: none;
}

.darkmode #theme-switch svg:last-child {
  display: block;
}

#theme-switch:hover {
  background-color: rgb(94 94 94 / 0.1);
  box-shadow: 0 8px 23px rgb(0 0 0 / 0.1);
}

header.active {
  background-color: var(--header-active);
  box-shadow: 0 5px 10px rgb(0 0 0 / 0.15);
}

.link-contact-top {
  display: none;
}

.main-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: var(--header-bg-color);
  z-index: 100;
  height: 60px;
  padding: 0 7%;
  line-height: 60px;
}

@media only screen and (min-width: 1700px) {
  .main-head {
    justify-content: space-around;
  }
}

.fixed-header {
  background: var(--bg-blur);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.main-head .logo .title-logo {
  color: var(--color-primary);
  font-family: Yellowtail, Montserrat, sans-serif, cursive !important;
  text-transform: capitalize;
  font-weight: 800;
  font-size: 1.8rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.main-head .logo .title-logo span {
  color: var(--color-secondary);
  font-family: Yellowtail, Montserrat, sans-serif, cursive !important;
  font-weight: 800;
  cursor: pointer;
  font-size: 1.8rem;
  transition: 0.3s ease;
}

.main-head .logo .title-logo:hover,
.main-head .logo .title-logo span:hover {
  transform: scale(1.1);
}

.nav-header {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-left: clamp(28px, 5vw, 120px);
  gap: 20px;
}

.nav-header nav ul {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.nav-header nav ul li {
  list-style-type: none;
}

.nav-header nav ul li .nav__link {
  position: relative;
  text-decoration: none;
  text-transform: capitalize;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  user-select: none;
}

.nav-header nav ul li a.active {
  color: var(--color-secondary);
}

.nav-header nav ul li .nav__link.active::after {
  content: "";
  position: absolute;
  background-color: var(--link-active-bg-color);
  height: 3px;
  width: 100%;
  bottom: -10px;
  left: 0;
  transition: width 0.4s ease;
}

.nav-header nav ul li .nav__link::after {
  content: "";
  position: absolute;
  background-color: var(--color-secondary);
  height: 3px;
  width: 0;
  left: 0;
  bottom: -10px;
  transition: all 0.4s ease;
}

.nav-header nav ul li a:hover {
  color: var(--color-secondary);
}

.nav-header nav ul li a:hover::after {
  width: 100%;
}

.close_icon {
  position: absolute;
  font-size: 25px;
  top: 18px;
  right: 250px;
  z-index: 110;
  color: var(--color-primary);
  cursor: pointer;
  display: none;
}

.toggle_icon {
  display: none;
  font-size: 35px;
  cursor: pointer;
  margin-right: 10px;
  margin-top: 13px;
}

@media only screen and (max-width: 768px) {
  .main-head {
    width: 100%;
  }
}

@media only screen and (max-width: 1168px) {
  .hamburger {
    display: block;
    cursor: pointer;
    justify-content: center;
    align-items: center;
  }

  .hamburger .line {
    width: 30px;
    height: 3px;
    background: var(--color-primary);
    margin: 6px 0;
  }

  header {
    display: flex;
    width: 100%;
  }

  .nav-bar {
    height: 0;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100vw;
    transition: all 0.5s ease;
    overflow: hidden;
  }

  .nav-header nav ul {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    line-height: 20px;
  }

  .nav-bar ul .menu_item {
    margin: 40px auto 0;
    transition: 0.5s;
    opacity: 0;
  }

  .nav-bar.active ul .menu_item {
    opacity: 1;
    font-size: 1.3rem;
  }

  .nav-bar ul li a {
    margin-bottom: 10px;
  }

  .nav-bar ul li a:hover {
    margin-bottom: 10px;
  }

  .nav-bar.active {
    height: 800px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .main-head {
    z-index: 100;
    position: relative;
    justify-content: space-between;
    width: 100%;
  }

  .nav-header {
    margin-left: 0;
  }
}
