
.header-0{
  height: 4rem;
  background-color: #a54ead;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1), 0 -30px 0 #ebebeb;
  display: flex;
  align-items: center;
  z-index: 99999999;
}
.header{
  display: flex;
  width: 1240px;
  margin: 0 auto;
  justify-content: space-between;
}
.header .menu{
  line-height: 40px;
  display: flex;
  align-items: center;
  padding-right: 30px;
}
.header .menu img{
  width: 30px;
  cursor: pointer;
}
.header .logo img{
  width: 20px;
  padding-right: 4px;
}
.header .logo{
  color: #ffffff;
  font-size: 20px;
  line-height: 40px;
  display: flex;
  align-items: center;
}

.sticky {
  position: sticky;
  z-index: 10;
}
.top-0{
  top: 0;
}
.top-1{
  top:4rem;
}
.scroll-top-wrapper{
  align-items: center;
  background-color: #fff;
  border-radius: 50%;
  bottom: 60px;
  box-shadow: 0 0 10px #0000004d;
  cursor: pointer;
  display: flex;
  height: 48px;
  justify-content: center;
  position: fixed;
  right: 30px;
  width: 48px;
  z-index: 999;
}
.scroll-top-wrapper img{
  width: 25px;
}


.search{
  background: linear-gradient(rgb(113, 95, 156), rgb(255, 255, 255)) 0% 0% / cover;
  padding-bottom: 2.5rem;
  padding-top: 2.5rem;
}
.search .search-container{
  align-items: center;
  display: flex;
  height: 48px;
  margin: 0 20px;
  max-width: 660px;
  position: relative;
  background-color: #ffffff;
  border-radius: 48px;
  margin: 0 auto;
}
.search .search-container input{
  height: 100%;
  border-radius: 48px;
  width: 90%;
  border: none;
  outline: none;
  border: none;
  box-sizing: border-box;
  font-size: 20px;
  color: #000;
  padding: 0 16px;
}
.search .search-container .button{
  align-items: center;
  background: #bb4a51;
  border-radius: 0 34px 34px 0;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100px;
}
.search .search-container .button img{
  width: 30px;
}


.header .menu-logo{
  display: flex;
  align-items: center;
}
.header .search{
  background: none;
  padding: 0;
  display: flex;
  align-items: center;
}
.header .search .search-container{
  align-items: center;
  display: flex;
  height: 48px;
  margin: 0 20px;
  max-width: 660px;
  position: relative;
  background-color: #ffffff;
  border-radius: 48px;
  margin: 0 auto;
}
.header .search .search-container input{
  height: 100%;
  border-radius: 48px;
  width: 90%;
  border: none;
  outline: none;
  border: none;
  box-sizing: border-box;
  font-size: 20px;
  color: #000000;
  padding: 0 16px;
}
.header .search .search-container .button{
  align-items: center;
  background: #bb4a51;
  border-radius: 0 34px 34px 0;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100px;
}
.header .search .search-container .button img{
  width: 30px;
}





.nav{
  height: 100%;
  width: 100%;
  z-index: 9999999;
  display: flex;
  position:fixed;
  right: 0;
  transform: translateX(-100%);
  transition: transform 100ms ease-in-out;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1), 0 -30px 0 #ebebeb;
}
.nav .nav-content{
  height: 100%;
  width: 20%;
  background-color: #ffffff;

}
.nav .nav-content ul{
  z-index: 9999999;
}
.nav.open {
  transform: translateX(-80%);
}
.nav .nav-content .nav-header{
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: flex-end;
    justify-content: flex-end;
  font-size: 40px;
}
.nav .nav-content .nav-header span{
  color: #696969;
  font-size: 45px;
  padding: 0 15px;
  cursor: pointer;
}
.nav .nav-content .nav-header .input{
  width: 100%;
  height: 40px;
  display: flex;
  background-color:#383838;
}
.nav .nav-content .nav-header .input input{
  width: 100%;
  border: none;
  background-color:#383838;
  outline: none;
  border: none;
  box-sizing: border-box;
  color: #fff;
  font-size: 20px;
}
.nav .nav-content .nav-header .input .img{
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav .nav-content .nav-header .input .img img{
  width: 20px;
  height: 20px;
}
.nav .nav-content li{
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ebebeb;
  margin: 10px 20px 0 20px;
}
.nav .nav-content li a{
  display: inline-block;
  width: 100%;
  height: 100%;
  line-height: 50px;
  font-weight: 600;
}
.nav .close{
  flex-grow: 1;
  background-color: #fff;
  opacity: 0.5;
}
.nav-search{
  background: none;
  padding-bottom: 1.5rem;
  padding-top: 0;
  border-bottom: 1px solid #ebebeb;
}
.nav-search .nav-search-container{
  align-items: center;
  display: flex;
  height: 40px;
  margin: 0 20px;
  max-width: 100%;
  position: relative;
  background-color: #99999926;
  border-radius: 40px;
  padding: 0 10px;
  margin: 0 10px;
}
.nav-search .nav-search-container input{
  background-color: #ffffff26;
  border-radius: 40px;
  width: 100%;
  border: none;
  outline: none;
  border: none;
  box-sizing: border-box;
  font-size: 20px;
  color: #000;
  padding: 0 10px;
  margin: 0 30px 0 0;
}
.nav-search .nav-search-container img{
  position: absolute;
  width: 30px;
  right: 10px;
}





@media screen and (max-width:1200px) {
  .nav.open{
    transform: translateX(-60%);
  }
  .nav .nav-content{
    width: 40%;
  }
  .header{
    padding-left: 10px;
  }
}
@media screen and (max-width: 768px) {
  .header-0{
    height: 3rem;
  }
  .top-1{
    top: 3rem;
  }
  .nav .nav-content{
    width: 80%;
  }
  .nav.open {
    transform: translateX(-20%);
  }
}