* {
  margin: 0;
  padding: 0;
}

.header_box {
  width: 100%;
  background-color: #2A2A28;
  position: fixed;
  z-index: 100;
}

.header {
  max-width: 1800px;
  width: 95%;
  height: calc(20px + 4rem);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.logo {
  height: 100%;
  padding-right: calc(6px + 1.5rem);
  border-right: 1px #ffffff4d solid;
  display: flex;
  align-items: center;
}

.logo img {
  width: calc(9px + 10rem);
}

.header_right {
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header_nav {
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: calc(20px + 4rem);
  border-right: 1px #ffffff4d solid;
  padding-right: calc(12px + 20rem);
}

.header_nav_item {
  height: 100%;
  position: relative;
}

.header_nav_item .p1 {
  height: 100%;
}

.header_nav_item .p1 a {
  height: 100%;
  font-size: calc(10px + 0.5rem);
  color: #ffffff;
  display: flex;
  align-items: center;
}

.header_search {
  width: calc(10px + 2rem);
  height: calc(8px + 1.5rem);
  border: 1px #ffffff4d solid;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: calc(7px + 1.5rem);
  transition: .3s;
  cursor: pointer;
}

.language {
  width: calc(37px + 5rem);
  height: calc(8px + 1.5rem);
  background-color: #f7b014;
  margin-left: calc(1px + 1rem);
  color: #ffffff;
  font-size: calc(5px + 0.5rem);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: .5s;
}

.header_nav_item_act .p1 a {
  color: #f7b014;
  position: relative;
}

.header_nav_item_act .p1 {
  border-bottom: calc(0px + 0.1rem) #f7b014 solid;
}

.header_nav_item_act .p1 a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 0 solid var(--i_color);
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}

.second_nav{
  width: calc(100px + 5rem);
  background-color: #ffffff;
  position: absolute;
  top: 100%;
 left: -70%;
  box-shadow: 0 0 calc(2px + 0.5rem) #00000030;
  height: 0;
  overflow: hidden;
  transition: .5s;
}

.second_nav p{
  color: #666666;
  font-size: calc(6px + 0.5rem);
  text-align: center;
  line-height: 1;
  padding: calc(5px + 0.5rem) 0;
  transition: .3s;
}

.header_nav_item:hover .second_nav{
  height: calc(20px + 4rem);
}
.second_nav p:hover{
  color: #f7b014;
}

.search_box{
  width: 100%;
  box-shadow: 0 0 calc(5px + 0.25rem) #00000030;
  position: absolute;
  top: 150%;
  z-index: 10;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(6px + 0.5rem) 0;
  opacity: 0;
  transition: .5s;
}
.search{
  width: calc(100px + 20rem);
  height: calc(8px + 1.5rem);
  border: 1px #f7b014 solid;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search input{
  width: 80%;
  height: 100%;
  border: none;
  outline: medium;
  padding-left: calc(5px + 0.25rem);
}
.search .icon{
  width: calc(17px + 2rem);
  height: 100%;
  background-color: #f7b014;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.search .icon img{
  width: 35%;
}

.header_search:hover{
  background-color: #f7b014;
}


.lang{
  width: calc(60px + 5rem);
  height: calc(100px + 5rem);
  background-color: #ffffff;
  position: absolute;
  top: 220%;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: calc(5px + 0.25rem);
  opacity: 0;
  transition: .5s;
}

.lang p{
  width: 80%;
  font-size: calc(5px + 0.5rem);
  color: #666666;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: calc(1px + 0.2rem);
  transition: .5s;
}
.lang p img{
  width: calc(7px + 0.5rem);
}
.lang p:hover{
  color: #f7b014;
  padding-left: calc(1px + 0.2rem);
}