

.searchBox {
    background-color: #d09b49;
    height: 40px;
    border-radius: 40px;
    padding: 10px;
    margin: 0 auto;
    vertical-align: center;
    justify-content: center;
    align-items: center;
    display: flex;

}

.searchBox:hover > .searchInput {
    width: 280px;
    padding: 0 6px;
    border-bottom: 1px solid black;
}

.searchBox:hover > .searchButton {
    background-color: #d09b49;
    color : white;
}

.searchButton {
    color: white;
    width: 40px;
    height: 40px;
    border: 0;
    background-color: #d09b49;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
}

.searchInput {
    border:none;
    background-color: #d09b49;
    outline:none;
    float:left;
    padding: 0;
    color: black;
    font-size: 16px;
    transition: 0.4s;
    line-height: 40px;
    width: 0px;
    justify-content: center;
    align-items: center;
}



*{
  box-sizing: border-box;

}

button {border-style: none;}

.search-box{
  width: fit-content;
  height: fit-content;
  position: relative;
  margin: auto;
  border:0px;
}
.input-search{
  height: 50px;
  width: 50px;
  border-style: none;
  padding: 10px;
  font-size: 18px;
  outline: none;
  border-radius: 25px;
  transition: all .5s ease-in-out;
    background-color: #d09b49;
  padding-right: 40px;
  color:#fff;
}
.input-search::placeholder{
  color:black;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 100;
}
.btn-search{
  width: 50px;
  height: 50px;
  border-style: none;
  font-size: 20px;
  outline: none;
  cursor: pointer;
  border-radius: 50%;
  position: absolute;
  right: 0px;
  color:#ffffff ;
  background-color:transparent;
  pointer-events: painted;
}
.btn-search:focus ~ .input-search{
  width: 300px;
  border-radius: 0px;
  background-color: transparent;
  border-bottom: 1px solid rgba(255,255,255,.5);
  transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
}
.input-search:focus{
  width: 300px;
  border-radius: 0px;
  background-color: transparent;
  border-bottom:1px solid rgba(255,255,255,.5);
  transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
}
