.searchbar {
  margin-bottom: auto;
  margin-top: auto;
  height: 40px;
  background-color: #263f49;
  border-radius: 30px;
  padding: 5px 14px;
}

.search_input {
  color: white;
  border: 0;
  outline: 0;
  background: none;
  width: 90px;
  caret-color: transparent;
  line-height: 30px;
  transition: width 0.4s linear;
  font-family: fangsong;
  opacity: 0.7;
}
.search_input::placeholder {
  color: #fff;
  opacity: 0.9;
  font-family: fangsong;
  font-size: 17px;
}

.searchbar:hover {
  box-shadow: 0px 0px 7px #000000;
}

.search_icon {
  height: 30px;
  width: 30px;
  float: right;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
  color: #de6959;
}

.search_input:focus {
  padding: 0 10px;
  width: 300px;
  caret-color: red;
  transition: width 0.4s linear;
}

.search_input:focus + .search_icon {
  background: white;
  color: #e74c3c;
}

@media (max-width: 750px) {
  .search_input:focus {
    padding: 0 10px;
    width: 180px;
    caret-color: red;
    transition: width 0.4s linear;
  }
}

#searchModalCenter {
  top: 7px;
  width: 70%;
  margin-left: 15%;
  margin-right: 15%;
}

#searchModalCenter .modal-body input#name::placeholder {
  color: #263f49;
  opacity: 0.6;
  font-family: fangsong;
  font-weight: 600;
  font-size: 15px;
  font-style: italic;
}

@media (max-width: 390px) {
  #searchModalCenter .modal-body input#name::placeholder {
    font-size: 12px;
  }
}

@media (max-width: 330px) {
  #searchModalCenter .modal-body input#name::placeholder {
    font-size: 10px;
  }
}
