header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgb(75,7,152);
  background: linear-gradient(90deg, rgba(42, 7, 83) 0%, rgba(29,20,47,1) 50%, rgb(42, 7, 83) 100%);
  box-shadow: 0px 8px 16px 0px rgba(64, 7, 93, 0.2);
  z-index: 1000;
}
.scale-up-tl {
	-webkit-animation: scale-up-tl 0.9s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: scale-up-tl 0.9s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
/* ----------------------------------------------
 * Generated by Animista on 2024-2-26 13:51:30
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation scale-up-tl
 * ----------------------------------------
 */
 @-webkit-keyframes scale-up-tl {
  0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
}
@keyframes scale-up-tl {
  0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
}


header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
header .nav-list {
  order: 1;
  display: flex;
  gap: 2.4rem;
  list-style: none;
}

header .nav-list li a{
  color: var(--gray-light);
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1.9rem;
  line-height: 2.4rem;
}

header .nav-list li a:hover{
  color: var(--green);
}

header .mobile-menu {
  display: none;
  cursor: pointer;
  order: 2;
}

header .mobile-menu div {
  width: 32px;
  height: 2px;
  background: #fff;
  margin: 8px;
  transition: 0.3s;
}

@media (max-width: 1024px) {
  header .nav-list {
    position: absolute;
    top: 8rem;
    right: 0;
    padding: 3rem;
    font-size: 2rem !important;
    width: 50%;
    height: auto;
    background: var(--purple-light);
    border-radius: 1.6rem;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    display: none;
    transition: transform 0.3s ease-in;
  }

  header .container{
    width: 100%;
  }

  header .nav-list.active {
    display: flex;
    transform: translateX(0);
  }

  header .mobile-menu {
    display: block;
    justify-content: space-between !important;
    order: 1;
  }
}header 

header .nav-list.active {
  transform: translateX(0);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

header .mobile-menu.active .line1 {
  transform: rotate(-45deg) translate(-8px, 8px);
}

header .mobile-menu.active .line2 {
  opacity: 0;
}

header .mobile-menu.active .line3 {
  transform: rotate(45deg) translate(-5px, -7px);
}
header .lang-item img{
  width: 26px;
  height: 21px;
}
header ul li:last-child a {
  padding: 10px;
  margin: -10px;
  background-color: var(--purple);
  box-shadow: 0 0 0 1px var(--purple);
  color: var(--gray-light);
}

header ul li:last-child a:hover {
  background-color: var(--purple-medium);
  box-shadow: 0 0 0 1px var(--purple-medium);
}

header ul li:last-child::before{
  content: '';
  width: 100%;
  height: 100%;
  cursor: pointer;
}
header ul li:last-child::after{
  content: '';
  width: 100%;
  height: 100%;
  cursor: pointer;
}