* {
  margin: 0;
  padding: 0;
}
.navbar nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  position: relative;
  width: 100%;
  background-color: #ddd;
}
.navbar nav ul li {
  list-style: none;
  padding: 10px;
  font-size: 25px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
}
.libraryForm {
  width: 100%;
  height:200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  top: 2px;
}
.bookNameArea {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 4px 0px;
}
.bookNameArea input {
  padding: 5px;
  width: 250px;
  font-size: 23px;
  outline: none;
  opacity: 0.5;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 2px solid #04aa6d;
}
.bookNameArea span {
  font-size: 23px;
  font-weight: 600;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 2px;
}
.Heading ,.header{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 5px;
  font-size: 20px;
}
.submitButton {
  position: relative;
  width: 425px;
}
.submitButton button {
  font-size: 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  padding: 5px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 10px;
  outline: none;
  margin-top: 5px;

}
.submitButton button:hover {
  background-color: #04aa6d;
  color: white;
  transition: all 0.5s ease;
}
.container {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
table,
th,
td {
  border: 1px solid;
}
#tableData button {
  font-size: 25px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 5px;
  outline: none;
  width: 80px;
}
#tableData button:hover {
  background-color: #04aa6d;
  color: white;
  transition: all 0.5s ease;
}
#tableData {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 60%;
  margin-top: 10px;
}
#tableData td,
#tableData th {
  border: 1px solid #ddd;
  padding: 8px;
}
#tableData tr:nth-child(even) {
  background-color: #f2f2f2;
}
#tableData tr:hover {
  background-color: #ddd;
}
#tableData th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #04aa6d;
  color: white;
}
/* CSS for add a scroll bar  */
/* table#tableData thead{
    display: block;
}
table#tableData tbody{
    height: 300px;
    overflow-y: auto;
    display: block;

} */

@media only screen and (max-width:850px){
  #tableData{
    width: 90%;
  }
  .libraryForm{
    height: 250px;
  }
  
}

@media only screen and (max-width:520px){
  #tableData{
    width: 100%;
  }
  .libraryForm{
    height: 200px;
  }
  .navbar{
    display: none;
  }
  
}
@media only screen and (max-width:485px){

  #tableData button{
    font-size: 10px;
    width: 30px;
  }
  .Heading,.header{
    font-size: 15px;
    padding: 15px 0px;
    margin-top: 9px;
  }
  .bookNameArea{
    flex-direction: column;
  }
  .libraryForm{
    margin-top: 5px;
    height: 200px;
  }
  .submitButton{
    width: 143px;
    margin-top: 5px;
  }
  
}

