@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  position: relative;
  font-family: 'Poppins', sans-serif;
}
.search-main, .search-data{
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.search-main{
  position: fixed;
  height: 0px;
  width: 0px;
  border-radius: unset;
  background: rgb(17 16 16 / 80%);
  transition: all 0.4s linear;
  z-index: 99;
}
.search-block{
    height: 40px;
    position: relative; }
.search-main.active{
  height: 4000px;
  width: 100%;
}
.search-btn{
  /*position: absolute;
  top: 8px;
  left: 0;*/
  /*transform: translate(-50%, -50%);*/
  /*height: 60px;
  width: 60px;
  text-align: center;
  cursor: pointer;*/
  /*border-radius: 50%;
  background: linear-gradient(-135deg, #c850c0, #4158d0);*/
}
.search-btn span{
  color: #fff;
  font-size: 22px;
  line-height: 60px;
}
.search-data{
  position: absolute;
  height: 50px;
  width: 90%;
  display: flex;
  text-align: center;
  /* display: none; */
}
.search-data input{
  height: 100%;
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 22px;
  font-weight: 500;
  color: #c4c4c4;
}
.search-data .line{
  /*position: absolute;*/
  height: 3px;
  width: 100%;
  background: #9465a4;
  bottom: 0;
  transform: scaleX(0);
  transition: transform 0.4s 0.3s linear;
}
.search-data .line.active{
  transform: scaleX(1);
}
.search-data label{
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 20px;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgb(187 187 187 / 70%);
}
.search-data input:valid ~ label{
  opacity: 0;
}
.search-data span{
  color: #9465a4;
  position: absolute;
  width: 50px;
  font-size: 25px;
  right: 0;
  top: 0;
  line-height: 45px;
  cursor: pointer;
}
.close-btn{
  position: fixed;
  z-index: 99;
  right: 25px;
  top: 25px;
  font-size: 25px;
  color: #9465a4;
  cursor: pointer;
  z-index: 999;
}
.search-data, .search-data span,
.search-data label, .close-btn{
  display: none;
}

.search-data button{ position: absolute; right: 0; top: 0; background-color: transparent!important; border: unset!important; }

@media(max-width: 1024px){
  .search-main.active{  z-index: 50; }
}