header{
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
}

header nav{
    padding: 2rem 6% 1rem;
    color: var(--white);
    background: transparent;
    transition: all 0.5s ease;
}

header nav.active{
  background: linear-gradient(90deg, var(--light-navy), var(--dark-navy));
}

header nav .nav_top{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
  gap: 15px;
  display: inline-flex;
  align-items: baseline;
}
.logo .logo_img{
  height: 3rem;
}

.logo .logo_text{
  height: 2rem;
}
.hamburger {
    cursor: pointer;
  }
  
  .hamburger input {
    display: none;
  }
  
  .hamburger svg {
    /* The size of the SVG defines the overall size */
    height: 3em;
    /* Define the transition for transforming the SVG */
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .line {
    fill: none;
    stroke: white;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    /* Define the transition for transforming the Stroke */
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
                stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .line-top-bottom {
    stroke-dasharray: 12 63;
  }
  
  .hamburger input:checked + svg {
    transform: rotate(-45deg);
  }
  
  .hamburger input:checked + svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
  }
  

  /*bottom*/
  .nav_links{
    opacity: 0;
    margin-top: 3rem;
    transition: all 0.5s ease;
    transform: translateY(2rem);
    pointer-events: none;
  }

  .nav_links.active{
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .nav_links ul{
    padding-inline-start: 0px;
  }
  .nav_links li{
    width: 100%;
    display: flex;
    gap: 4rem;
    list-style: none;
  }
  .nav_links li a::after{
    content: "";
    position: absolute;
    height: 4px;
    width: 0rem;
    left: 0;
    bottom: 0;
    background: var(--white);
    transform-origin: left;
    transition: all 0.5s ease;
  }

  .nav_links li a:hover::after{
    width: 2.5rem;
  }


  @media screen and (max-width: 768px){
    .nav_links{
      height: 100vh;
    }
    .nav_links li{
      flex-direction: column;
    }
    .nav_links li{
      gap: 3rem;
    }
    
  }