/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /*background-color: hsl(230, 100%, 96%);*/

  z-index: 100;
  /*transition: box-shadow .4s,background-color .4s;*/
}

.header.active {
  position: fixed;
  transform: translateY(-100%);
  animation: slideIn 0.5s ease forwards;
}
@keyframes slideIn {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}

.header-container{
  height: 110px;
  padding-inline: 40px;
  background-image: url("../images/nav_bg.jpg");
  background-position-y: top;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.nav__logo {
  width: 375px;
  height: 57px;
  background: url("../images/logo.png") no-repeat;
  background-size: contain;
}
.nav__logo a{
  display: block;
  height: 100%;
  text-indent: -9999px;
}


.nav__actions{
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: relative;
}

.nav__actions .nav__action_flag{
  display: flex;
  gap:8px;
}

.nav__actions .nav__action_flag i{
  font-size: 26px;
  transition: 0.2s ease;
}

.nav__actions .nav__action_flag:hover i{
  color: #F53F3F;
  transform: scale(1.2);
  cursor: pointer;
}

.nav__phone_details{
  position: absolute;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  width: 230px;
  border: 1px solid #fafafa;
  padding: 15px;
  text-align: left;
  font-size: 16px;
  background: #fff;
  top:70px;
  right: 215px;
  z-index: 200;
  transition: 0.2s ease;
}
.nav__phone:hover .nav__phone_details{
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}


.nav__wechat_details{
  position: absolute;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  border: 1px solid #fafafa;
  text-align: left;
  font-size: 16px;
  background: #fff;
  top:70px;
  right: 136px;
  z-index: 200;
  transition: 0.2s ease;
}
.nav__wechat_details img{
  width: 180px;
  height: 180px;
  max-width: max-content;
}

.nav__wechat:hover .nav__wechat_details{
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}

.nav__wechat_details p{
  text-align: center;
  margin-bottom: 4px;
}

.nav__search .search-button{
  display: flex;
  gap:8px;
}

.nav__search .search-button i{
  font-size: 26px;
  transition: 0.2s ease;
}
.nav__search .search-button:hover i{
  color: #F53F3F;
  transform: scale(1.2);
  cursor: pointer;
}


.nav {
  background-color: #F53F3F;
  padding-inline: 40px;
}



.nav__list{
  display: flex;
  justify-content: space-around;
  /*margin-top: 4.2rem;*/
  gap: 2rem;
  /*padding-inline: 40px;*/
  /*min-width: 1220px;*/
}

@media screen and (min-width: 1440px) {
  .nav__menu{
    display: flex;
    justify-content:center;
  }
  .nav__list{
    width: 1400px;
    gap:2rem;
  }

}

.nav_item{
  position: relative;
  height: 61px;
  line-height: 61px;
}


.nav_item span{
  color: #fff;
  font-size: 20px;
  transition: 0.2s ease;
}

.nav_item:hover span{
  font-weight: bold;
}

.dropdown-list{
  position: absolute;
  top: 60px;
  left: -36px;
  background: hsl(230, 100%, 96%);
  width: 160px;

  border-top: 2px solid hsl(230, 100%, 96%);

  transform: translateY(50px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 5;
}

.nav_item:hover .dropdown-list{
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/*.nav_item:last-child:hover .dropdown-list{*/
/*  transform: translateY(0);*/
/*  opacity: 1;*/
/*  visibility: visible;*/
/*  pointer-events: all;*/
/*}*/


.nav__link{
  display: block;
  position: relative;
  /*padding:15px 0;*/
  transition: 0.2s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.2s ease;
}

.nav__link:hover::after {transform: scaleX(1);}


.dropdown-list .dropdown-list-item{
  position: relative;
  background: #f7f8fa;
  line-height: 48px;
  text-align: left;
  text-indent: 1em;
  color: #333333;
  font-size: 16px;
  border-bottom: 1px solid #e5e5e5;
}

.dropdown-list .dropdown-list-item::before{
  position: absolute;
  content: '';
  top: 22px;
  left: 18px;
  height: 4px;
  width: 4px;
  background: #0085ff;
  border-radius: 50%;
  transition: 0.2s ease;
}

.dropdown-list .dropdown-list-item:hover::before{
  background: #dd2020;
}

.dropdown-list .dropdown-list-item a{
  margin-left: 30px;
  transition: 0.2s ease;
}

.dropdown-list .dropdown-list-item:hover a{
  color: #dd2020;
}



/*=============== SEARCH ===============*/

.syssinput {
  line-height: 32px;
  height: 32px;
  width: 160px;
  outline: none;
  border: none;
  color: #333;
  background: #e8e9ee;
  font-size: 14px;
  border-radius: 16px;
  padding-left: 16px;
  padding-right: 26px;
}

.syssbtn {
  position: absolute;
  right: 6px;
  top: 20px;
  line-height: 32px;
  height: 20px;
  width: 20px;
  outline: none;
  border: 0;
  padding: 0;
  background: url("/assets/images/search.png") no-repeat center center;
  cursor: pointer;
  background-size: 100%;
}







.section__title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.search {
  position: fixed;
  top: -150%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: hsla(230, 12%, 96%, .6);
  backdrop-filter: blur(16px);
  padding: 8rem 1.5rem;
  transition: top .3s;
}
.search__form {
  width: 500px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  column-gap: .5rem;
  background-color: hsl(230, 100%, 97%);
  border: 2px solid hsl(230, 50%, 90%);;
  padding-inline: 1rem;
}

.search__icon {
  font-size: 1.5rem;
  color: hsl(230, 70%, 16%);
  cursor: pointer;
}

.search__icon:hover {
  color: #dd2020;
  transform: scale(1.2);
}
.search__input {
  width: 100%;
  padding-block: 1rem;
  background-color: hsl(230, 100%, 97%);
  color: hsl(230, 16%, 45%);
  border: none;
  outline: none;
}
.search__input::-webkit-search-cancel-button{
  display: none;
}
.search__close{
  position: absolute;
  top:2rem;
  right:2rem;
  font-size: 2rem;
  color:hsl(230, 70%, 16%);
  cursor: pointer;
}

/* Show search */
.show-search{
  top:0;
}