@media only screen and (max-width: 574.98px) {
    .searchInput {
        max-width: 767px;
        min-width: 320px;
        text-align: left;
        width: auto;
    }
}

@media only screen and (max-width: 479.98px) {
    .searchInput {
        min-width: 235px;
        padding: 18px 15px;
    }
}



.form-field-focused .voice-btn {
    background-color: #f58220;
    color: #fff;
  }


.search-container {max-width: 500px; position: relative;}
.search-container form input {
  
        backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: hsla(330, 1%, 64%, .4);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    height: 48px;
    padding: 10px 50px 10px 18px;
    width: 84%;
}
.button-group {
    z-index: 1;
}
.button-group button {
border: none;
    background: transparent;
}
.button-group button svg {fill:#000;}
.button-group.listening button svg {fill:salmon;}

.button-group .voicesearch {
    border: none;
    background: transparent;
    position: absolute;
    right: -1px;
    top: 0px;
    align-items: center;
    background: hsla(330, 1%, 64%, .4);
    border: 0;
    border-radius: 50%;
    display: flex;
    height: 48px;
    justify-content: center;
    outline: none;
    padding: 12px;
    width: 48px;
  
}

.button-group .voicesearch svg{
 width:100%;
  height: 100%;
  
}

.button-group [type=submit]{
 -webkit-appearance: button;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    position: absolute;
    right: 75px;
    top: 13px;
    width: 22px;
  
}

@media only screen and (max-width: 479.98px) {
    .button-group .voicesearch {
        height: 38px;
        padding: 9px;
        width: 38px;
    }
  
  .search-container form input {
    padding: 10px 33px 10px 18px;
    width: 77%;
    height: 40px;
}
  
  .button-group [type=submit] {
    right: 60px;
    top: 10px;
    width: 19px;
  }
  
}

.hide-voice-search .voicesearch {
  display: none;
}

.search-container.hide-voice-search form input[
  width:100%;

}

.hide-voice-search .button-group [type="submit"]{
right: 20px;
  
}
