
header{
    position: fixed;
    left: 270px;
    top: 0;
    width: calc(100% - 270px);
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
background: #000;
}

.header_items{
  display: flex;
  align-items: center;
  padding-left: 30px;
  padding-right: 30px;
}

.header_item:nth-child(2){
  margin-left: auto;
  margin-right: auto;
}

.header_item:last-child{
  margin-left: 20px;
  position: relative;
}

.header_item_logo{
  vertical-align: middle;
  cursor: pointer;
}

.header_item_navs{
  display: flex;
  align-items: center;
  gap: 47px;
}

.header_item_nav{
color: #566570;
font-family: "Onest", sans-serif;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: normal;
letter-spacing: -0.32px;
display: flex;
align-items: center;
gap: 10px;
padding-bottom: 31px;
padding-top: 30px;
cursor: pointer;
  border-bottom: 1px solid transparent;

}

.header_item_nav a,
.header_item_nav span{
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.header_item_nav_active{
  color: #E8FF00;
  border-bottom: 1px solid #E8FF00;

}

.header_item_nav_active svg path{
  fill: #E8FF00;
}

.header_item_nav_active svg circle{
  fill: #E8FF00;
}

.header_item_nav:hover{
  border-bottom: 1px solid #E8FF00;
  color: #E8FF00;
}

.header_item_nav:hover svg path{
  fill: #E8FF00;
}

.header_item_nav:hover svg circle{
  fill: #E8FF00;
}

.header_item_buttons{
  display: flex;
  align-items: center;
  gap: 10px;
}

.header_item_balance{
  color: #E8FF00;
  font-family: "Onest", sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.header_item_button{
outline: none;
border: none;
cursor: pointer;
transition: all .5s;
color: #FFF;
font-family: "Inter", sans-serif;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 113%; /* 18.08px */
letter-spacing: -0.32px;
padding: 15px 25px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.10);
}

.header_item_button:last-child{
  background: #E8FF00;
  color: #19191C;
}

.header_item_button_connect{
  background: #E8FF00;
  color: #19191C;
}

.header_item_button:hover{
  opacity: .5;
}

.header_item_lang_selected{
  border-radius: 8px;
background: #191919;
padding: 14px 25px;
display: flex;
align-items: center;
cursor: pointer;
transition: all .5s;
min-width: 120px;
}

.header_item_lang_selected:hover{
  opacity: .5;
}

.header_item_lang_selected_icon{
  vertical-align: middle;
  margin-right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 100px;
  flex-shrink: 0;
}

.header_item_lang_text{
  color: #FFF;
text-align: center;
font-family: "Onest", sans-serif;
font-size: 14px;
font-style: normal;
font-weight: 400;
text-transform: uppercase;
line-height: 20px; /* 142.857% */
text-transform: uppercase;
}

.header_item_lang_selected_text{
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header_item_lang_selected_arrow{
  vertical-align: middle;
  margin-left: 15px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.header_item_lang_selected_arrow.rotated{
  transform: rotate(180deg);
}

.header_mobile_items{
  display: flex;
  align-items: center;
  padding: 16px;
}

.header_mobile_item .header_item_lang_selected{
    padding: 10px 12px;
    gap: 8px;
    min-width: 0;
    width: auto;
}
.header_mobile_item:nth-child(2){
  margin-left: auto;
}
.header_mobile_item:last-child{
  margin-left: 16px;
  position: relative;
}
.header_mobile_item .header_item_lang_selected_icon{
  margin-right: 0px;
}

.header_mobile_item .header_item_lang_selected_text{
  display: none;
}

.header_mobile_item .header_item_lang_selected_arrow{
  margin-left: 0;
}


.header_mobile{
  display: none;
}

.header_mobile_menu{
  position: fixed;
  right: 0;
  left: auto;
  top: 0;
  width: 240px;
  height: 100%;
  min-height: 100vh;
  background: #000;
  z-index: 12;
  transition: transform 0.3s ease-in-out;
  transform: translateX(100%);
}

.header_mobile_menu.active{
  transform: translateX(0);
}

.header_mobile_menu_content{
  padding: 20px;
}
.header_mobile_menu_overlay{
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 11;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  cursor: pointer;
}

.header_mobile_menu_overlay.active{
  opacity: 1;
  visibility: visible;
}
.header_mobile_menu_close{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  width: 100%;
  cursor: pointer;
  transform: all .5s;
  color: #E8FF00;
  letter-spacing: -.32px;
  font-family: Onest, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.header_mobile_menu_close svg{
  vertical-align: middle;
  height: 12px;
}

.header_mobile_menu_close:hover{
  opacity: .5;
}

.header_mobile .sidebar_login{
  justify-content: flex-start;
  margin-top: 20px;
}
.header_mobile .header_item_navs{
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
}
.header_mobile .header_item_nav{
  padding-top: 0px;
  padding-bottom: 5px;
}

.header_item_lang_select{
  position: absolute;
  top: 71px;
  z-index: 3;
  left: 0;
  width: 100%;
  border-radius: 8px;
  background: #191919;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.header_item_lang_select.active{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header_item_lang_select_content{
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.header_item_lang_select_item{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  cursor: pointer;
  transition: all .5s;
  border-radius: 8px;
}

.header_item_lang_select_item img{
  width: 20px;
  height: 20px;
  border-radius: 100px;
  object-fit: cover;
}

.header_item_lang_select_item:hover{
  opacity: .5;
}

.header_item_lang_select_item_active{
  background: #303030;
}

.header_mobile .header_item_nav a{
  font-size: 14px;
}

@media (min-width: 320px) and (max-width: 499px){
  .header_mobile{
    display: block;
  }

  
  .header_item_buttons{
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
  }
  .header_mobile .sidebar_login{
    margin-top: 10px;
  }
  .header_item_button{
    font-size: 12px;
    width: 100%;
    padding: 10px 15px;
  }
    header{
        left: 0;
        width: 100%;
    }
    .header_items{
        display: none;
    }
    .header_mobile .header_item_lang_select{
      width: 70px;
      right: 0;
      top: 45px;
    }
    .header_mobile .header_item_lang_select_item  span{
      display: none;
    }
    .header_mobile .header_item_lang_select_item{
      gap: 0px;
    }
    .header_mobile .header_item_lang_select_item img{
      display: block;
      margin: 0 auto;
    }
    .header_mobile .header_item_lang_select_content{
      gap: 5px;
    }
}


@media (min-width: 500px) and (max-width: 799px){
  .header_mobile{
    display: block;
  }
  
  .header_item_buttons{
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
  }
  .header_mobile .sidebar_login{
    margin-top: 10px;
  }
  .header_item_button{
    width: 100%;
    padding: 10px 15px;
  }
    header{
        left: 0;
        width: 100%;
    }
    .header_items{
        display: none;
    }
    .header_mobile .header_item_lang_select{
      width: 70px;
      right: 0;
      top: 45px;
    }
    .header_mobile .header_item_lang_select_item  span{
      display: none;
    }
    .header_mobile .header_item_lang_select_item{
      gap: 0px;
    }
    .header_mobile .header_item_lang_select_item img{
      display: block;
      margin: 0 auto;
    }
    .header_mobile .header_item_lang_select_content{
      gap: 5px;
    }
}

@media (min-width: 800px) and (max-width: 1199px){
  .header_mobile{
    display: block;
  }
  .header_item_buttons{
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
  }
  .header_mobile .sidebar_login{
    margin-top: 10px;
  }
  .header_item_button{
    width: 100%;
    padding: 10px 15px;
  }
    header{
        left: 0;
        width: 100%;
    }
    .header_items{
        display: none;
    }
    .header_mobile .header_item_lang_select{
      width: 70px;
      right: 0;
      top: 45px;
    }
    .header_mobile .header_item_lang_select_item  span{
      display: none;
    }
    .header_mobile .header_item_lang_select_item{
      gap: 0px;
    }
    .header_mobile .header_item_lang_select_item img{
      display: block;
      margin: 0 auto;
    }
    .header_mobile .header_item_lang_select_content{
      gap: 5px;
    }
   
}

@media (min-width: 1200px) and (max-width: 1352px){
  
 header{
  width: 100%;
  left: 0;
 }
 .header_item_navs{
  gap: 20px;
 }
}

@media (min-width: 1353px) and (max-width: 1625px){
  
  .header_item_navs {
    gap: 10px;
}
.header_item_button{
  font-size: 16px;
  padding: 10px 15px;
}

 }