 table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #dddddd;
    padding: 8px;
    text-align: left;
}
th {
    background-color: #333;
    color: white;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
.unit-name {
    font-weight: bold;
}

.unit-name:hover{
    background-color: powderblue;
}

#chaptername:hover{
    background-color: peru;
}
#chemChapterName:hover{
    background-color: pink;
}


.chemistryshowbutton{
  min-width: 130px;
  height: 40px;
  color: #fff;
  padding: 5px 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  outline: none;
  border-radius: 5px;
  z-index: 0;
  background: #fff;
  overflow: hidden;
  border: 2px solid #ff0a78;
  color: #ff0a78;
}
.chemistryshowbutton:hover {
  color: #fff;
}
.chemistryshowbutton:hover:after {
  width: 100%;
}
.chemistryshowbutton:after {
  content: "";
  position: absolute;
  z-index: -1;
  transition: all 0.3s ease;
  right: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: #ff0a78;
}


.physicsshowbutton{
  min-width: 130px;
  height: 40px;
  color: #fff;
  padding: 5px 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  outline: none;
  border-radius: 5px;
  z-index: 0;
  background: #fff;
  overflow: hidden;
  border: 2px solid  powderblue;
  color: powderblue;
}
.physicsshowbutton:hover {
  color: #fff;
}
.physicsshowbutton:hover:after {
  width: 100%;
}
.physicsshowbutton:after {
  content: "";
  position: absolute;
  z-index: -1;
  transition: all 0.3s ease;
  right: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: powderblue;
}
