body{
margin: 0;
padding: 0;
background: #49208bd0;
}
.search-box{
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%,-50%);
background: #eef1f0;
height: 40px;
border-radius: 40px;
padding: 10px;
}
.search-box:hover>.search-txt{
width: 250px;
padding:4px 8px;
}
.search-button{
color:#f7f1f0 ;
float: right;
width:40px ;
height:40px ;
border-radius:50% ;
background:#2f3640 ;
display: flex;
justify-content: center;
text-decoration:none;
}
.search-txt{
border: none;
background: none;
outline: none;
float: left;
padding: 0%;
color: rgb(17, 16, 16);
font-size: 25px;
transition: 0.9s;
line-height: 40px;
width: 0px;
}
i{
position: absolute;
top: 33%;
}