body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  padding: 0;
  margin: 0;
  background-color: black; /* Background changed to black */
}

.nbody {
  padding-top: 120px;
}

.Search {
  width: 600px;
  height: 670px;
  background-color: rgba(105, 212, 56, 0.8);
  border-radius: 20px;
  box-shadow: 10px 10px rgba(0, 0, 0, 0.5);
  justify-content: center;
  margin: auto;
  overflow-x: auto;
}

#sal_range {
  width: 200px;
}

.nbody p {
  color: yellow;
  font-size: 20px;
  margin-bottom: 10px;
  margin-top: 10px;
}

select {
  width: 200px;
  height: 40px;
  border: none;
  border-radius: 10px;
  text-align: center;
  font-size: 15px;
  background-color: rgba(255, 255, 255, 0.494);
}

input {
  width: 400px;
  height: 40px;
  border: none;
  border-radius: 10px;
  text-align: center;
  font-size: 18px;
  margin-left: 25px;
  background-color: rgba(255, 255, 255, 0.494);
}

input::placeholder {
  color: rgb(96, 70, 5);
}

.s_button {
  margin-top: 30px;
  width: 150px;
  height: 40px;
  border-radius: 10px;
  border: none;
  box-shadow: 5px 5px black;
  font-size: 18px;
  background-color: gold;
  color: white;
}

.s_button:hover {
  background-color: red;
  cursor: pointer;
  transition: all 0.5s;
}

.main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.bt_prof {
  background-color: rgba(105, 212, 56, 0.562);
  padding-top: 10px;
  border-radius: 20px;
  margin: 18px;
  width: 580px;
  box-shadow: 8px 8px rgba(0, 0, 0, 0.295);
}

.bt_prof:hover {
  background-color: rgba(105, 212, 56);
  box-shadow: 8px 8px rgba(0, 0, 0, 0.685);
  transition: all 0.5s;
}

.prof-pic img {
  width: 200px;
  height: 200px;
  border-radius: 100%;
}

.sub_button {
  width: 100px;
  height: 30px;
  background-color: rgb(34, 151, 24);
  color: white;
  border: none;
  border-radius: 8px;
}

.table-data {
  width: 90%;
  line-height: 20px;
}

.p_nmdate {
  font-size: larger;
}

h1 {
  padding-top: 20px;
  color: red;
}

.footer {
  margin-top: 100px;
  padding-top: 10px;
  color: white;
  background-color: rgba(128, 128, 128, 0.822);
  height: 100px;
  text-align: center;
}

/* Responsive Styling for All Devices */
@media (max-width: 768px) {
  .nbody {
    padding-top: 80px;
  }

  .Search {
    width: 100%;
    height: auto;
    padding: 15px;
    margin: 0 auto;
    overflow-x: auto;
  }

  select,
  input {
    width: 90%;
    margin: 10px auto;
    display: block;
  }

  input {
    margin-left: 0;
  }

  .bt_prof {
    width: 95%;
    margin: 10px auto;
  }

  .prof-pic img {
    width: 150px;
    height: 150px;
    margin: auto;
    display: block;
  }

  .s_button {
    width: 90%;
    max-width: 150px;
    margin: 20px auto;
    display: block;
  }

  .sub_button {
    width: 90%;
    max-width: 100px;
    margin: 10px auto;
    display: block;
  }

  .footer {
    padding: 20px 10px;
    text-align: center;
  }

  .main {
    flex-direction: column;
    align-items: center;
  }
}
