.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* position: fixed; */
  /* top: 0;
  left: 0; */
  width: 100%;
  z-index: 100;
  background-color: #fff; 
  /* padding: 10px; */
}

.header_logo {
  flex: 1;
  padding-left: 1.5vw;
}

.logo_header {
  width: 12vw;
}

.header_menu_right {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content:end;
  padding-right: 1.5vw;
}
.search_icon{
  color: #4A553E;
  width: 2vw!important;
}
.login_icon{
  width: 2.5vw!important;
}

/* Fixed Navigation below the header */
nav {
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 6.5rem;
  width: 100%;
  /* background: #1E5A37; */
  background: #4A553E;
  /* position: fixed; */
  top: 4.5rem; 
  left: 0;
  z-index: 20;
}
body {
  /* padding-top: 2rem; */
  margin: 0;
}
.header_logo {
  flex: 1;
}

.logo_header {
  width: 12vw;
}

.header_menu_right {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: end;
  padding-right: 30px;
}

/* Further tweaks to the icons in the header */
.search_icon {
  color: #4A553E;
  width: 2vw !important;
}

.login_icon {
  width: 2.5vw !important;
}


nav menu{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

nav .menu_logo{
    flex: 1;
}

nav menu{
    flex: 2;
}

nav li{
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-lato);
    color: #fff;
}

nav .user_ui{
    flex: 1;
    text-align: end;
    fill: #fff;

}

nav .user_ui svg{
    color: var(--primary-dark-color);
    width: 24px;
    height: 24px;
}

.menu-link {
    position: relative;
    text-decoration: none;
    color: #fff!important;
}

.menu-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2.5px;
    top: 65%;
    display: block;
    margin-top: 5px;
    left: 0;
    background: currentColor;
    transition: width 0.4s ease, right 0.4s ease;
}

.menu-link:hover::after {
    width: 100%;
    left: 0;
}


/*************** **************/
.wrapper{
    position: fixed;
    top: 0;
    /*left: -100%;*/
    right: -100%;
    height: 100%;
    width: 100%;
    /* background: #1E5A37; */
    background: #4A553E;
    transition: all 0.6s ease-in-out;
  }
  .wrapper .menu-link1:hover a{
    text-decoration: underline!important;
    transition: all 0.6s ease-in-out;
  }

  #active:checked ~ .wrapper{
    /*left: 0;*/
    right:0;
  }
  .menu-btn{
    position: absolute;
    z-index: 101;
    /* right: 20px; */
    left: 20px;
    top: 1rem;
    height: 4.5rem;
    width: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  .menu-btn span,
  .menu-btn:before,
  .menu-btn:after{
      content: "";
      position: absolute;
      top: calc(50% - 1px);
      left: 30%;
      width: 40%;
      border-bottom: 3px solid #fff;
      transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  .menu-btn:before{
    transform: translateY(-8px);
  }
  .menu-btn:after{
    transform: translateY(8px);
  }

  input[type="checkbox"]#active{
    display: none;
  }
  
  .close {
      z-index: 101;
      width: 100%;
      height: 100%;
      pointer-events: none;
      transition: background .6s;
  }
  
  /* closing animation */
  #active:checked + .menu-btn span {
      transform: scaleX(0);
  }
  #active:checked + .menu-btn:before {
      transform: rotate(45deg);
    border-color: #fff;
  }
  #active:checked + .menu-btn:after {
      transform: rotate(-45deg);
    border-color: #fff;
  }
  .wrapper ul{
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 80%;
    transform: translate(-50%, -50%);
    list-style: none;
    text-align: center;
  }
  .wrapper ul li{
    height: 10%;
    margin: 15px 0;
  }
  .wrapper ul li a{
    text-decoration: none;
    font-size: 30px;
    font-weight: 500;
    padding: 5px 30px;
    color: #fff;
    border-radius: 50px;
    position: absolute;
    line-height: 50px;
    margin: 5px 30px;
    opacity: 0;
    transition: all 0.3s ease;
    transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  
  
  #active:checked ~ .wrapper ul li a{
    opacity: 1;
  }
  
.menu_logo img {
  width: 10rem;
  margin-left: 4rem;
  z-index: 1000;
  /* width:30%; */
}

.menu_logo video {
  width: 12vw;
  margin-left: 2rem;
  /* width:30%; */ 
  clip-path: inset(25% 10% 25% 10%);
}

@media screen and (max-width: 600px) {
  .menu_logo img {
    width: 75% !important;
  }
}
@media screen and (max-width: 768px) {
  nav menu{
   display: none;
  }
}