header #index-searchbar-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #dce6ef89;
  background: linear-gradient(to right, #dcd4e974, #deecf87b);
  height: 330px;
  width: 100%;
  gap:0;
  margin-top: 80px;
  overflow: hidden;
}

header #index-searchbar-container h1{
  text-align: center;
  color: rgb(70, 70, 70);
  margin-bottom: 0;
  margin-top: -10px;
  font-size: 2.1rem;
}

header #index-searchbar-container h1 span{
  background: linear-gradient(to right, rgb(0, 85, 255), rgb(132, 0, 255));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

header #index-searchbar-container p{
  margin-bottom: 36px;
  font-size: 1rem;
  color: rgb(70, 70, 70);
  text-align: center;
}

header .searchbar-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #dcd4e974, #deecf87b);
  height: 150px;
  width: 100%;
  gap: 20px;
  margin-top: 80px;
}

/* Start of search bar*/
header .searchbar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 70%;
}

/* For searchbar box shadow*/
header .searchbar .searchbar-styling{
  display: flex;
  justify-content: center;
  width: 130%;
  height: auto;
  background-color: rgb(255, 255, 255);
  max-width: 800px;
  border-radius: 30px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
}
/* For searchbar box shadow*/

header .searchbar input {
  flex: 1;
  padding-left: 20px;
  font-size: 1rem;
  border-width: 1px;
  border: none;
  /*box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;*/
  border-radius: 30px 0px 0px 30px;
  min-width: 100px;
  max-width: 800px;
  font-family: 'Roboto', Arial, sans-serif;
  z-index: 2;
}

header .searchbar input:hover {
  background-color: rgb(250, 250, 250);
}

header .searchbar input:focus{
  outline: none;
  background-color: rgb(255, 255, 255);
}

header .search::placeholder {
  font-family: 'Roboto', Arial, sans-serif;
}

header .search-btn {
  display: flex;
  height: 45px;
  width: 50px;
  min-width: 50px;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border-style: none;
  
  /*box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;*/
  border-radius: 0px 30px 30px 0px;
  border-width: 1px;
  cursor: pointer;
  transition: background-color 0.1s;
  z-index: 2;
}

header .search-btn:hover {
  background-color: #ffffff;
}

header .search-btn img {
  height: 20px;
  width: 20px;
  z-index: 2;
}

header .searchbar-container .searchbar .more-options-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border: none;
  width: auto;
  gap: 8px;
  height: 45px;
  font-size: 1rem;
  padding-left: 10px;
  padding-right: 10px;
  white-space: nowrap;
  background-color: #ffffff;
  /*box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 1px, rgba(0, 0, 0, 0.08) 0px 4px 2px;*/
  z-index: 2;
}

header .searchbar-container .searchbar .more-options-btn img {
  width: 16px;
  height: 16px;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

header .more-options-container{
  display: none;
  position: absolute;
  height: 50px;
  width: 100%;
  justify-content: center;
  top: 290px;
  z-index: 1;
}

#more-options-jobs-page{
  top: 130px;
}

header .more-options-container .search-options-menu{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  height: auto;
  width: 70%;
  background-color: white;
  box-shadow: rgba(99, 99, 99, 0.5) 0px 2px 8px 0px;
  position: absolute;
  border-radius: 20px;
  min-width: 200px;
  max-width: 770px;
  gap: 15px;
  padding: 20px;
  padding-top: 45px;
}

.level-select-container,
.salary-range-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.salary-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .more-options-container .search-options-menu > * {
    flex-shrink: 0;
}

header .more-options-container .search-options-menu label {
    margin-bottom: 5px;
}

header .more-options-container .search-options-menu .sorting-btn{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #EAEAEA;
  border: none;
  border-radius: 100px;
  height: 40px;
  width: 200px;
  font-size: 1rem;
  padding-left: 18px;
  padding-right: 14px;
  font-weight: 500;
  cursor: pointer;
}

header .more-options-container .search-options-menu .sorting-btn:hover{
  background-color: #f0f0f0;
}
/* End of search bar*/

/* Start of responsive design for search menu */
@media (max-width: 700px){
  header .more-options-container .search-options-menu{
    width: 75%;
    margin-right: 0;
  }
}
/* End of responsive design for search menu */

@media (max-width: 550px){
  header #index-searchbar-container h1{
    font-size: 1.9rem;
    width: 80%;
  }

  header #index-searchbar-container p{
    font-size: 0.9rem;
    width: 80%;
  }
  header .searchbar-container .searchbar .more-options-btn {
    display: none;
  }
  #search-input::placeholder {
    font-size: 0.9rem;
    padding: 5px;
  }
}
