body {
    font-family: "Inter", sans-serif;
}

* {
    box-sizing: border-box;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url('../src/search.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

h1 {
    color: #fff;
    text-align: center;
    white-space: nowrap;
    font-size: 36px;
}

h5 {
    color: #000;
    text-align: center;
    white-space: nowrap;
    font-size: 24px;
}

h3 {
    color: #000;
    text-align: center;
    white-space: nowrap;
    font-size: 16px;
}

.search-box {
  width: fit-content;
  height: fit-content;
  position: absolute;
  margin:auto;
    left: 50%;
    top: 40%;
    width: fit-content;
    transform: translate(-50%);

}

.searchbar {
    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: #22a6b3;
    padding-right: 40px;
    color: #fff;
}

.searchbar::placeholder {
    color: rgba(255, 255, 255, .5);
    font-size: 18px;
    font-family: 'Poppins';
    font-weight: 100;
}

.search {
    width: 50px;
    height: 50px;
    border-style: none;
    font-size: 20px;
    font-weight: bold;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    right: 0px;
    color: #ffffff;
    background-color: transparent;
    pointer-events: painted;
}

.search:focus~.searchbar {
    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);
}

.searchbar: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);
}