/* Formating */

body {
  font-family: "Times New Roman";
  margin: 30px;
  background-color: #737373;
}

h1 {
  font-family: "montserrat", "sans-serif";
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border: 1.5px solid #0d0d0d;
  padding: 10px;
  text-align: left;
}

th {
  background-color: #333333;
  color: white;
}

span {
  display: inline-block
}

span[class="status"], span[class^="rate"] {
  display: inline-block;
  height: 25px;
  width: 100px;
  padding: 3px;
  box-sizing: border-box;
  text-align: center;
}

/* Status*/

tr[class="read"] {
  background-image: linear-gradient(to right, #b0e6a1, #65d147);
}

tr[class="to-read"] {
  background-image: linear-gradient(to right, #FCFBAC, #C2C000);
}

tr[class="in-progress"] {
  background-image: linear-gradient(to right, #88CCFC, #105A91);
}

/* Labels */

/* Status labels */
tr[class="to-read"] span[class="status"] {
  border: 1px solid #b8860b;
  background-image: linear-gradient(#fff9e6, #ffe7a3);
}

tr[class="read"] span[class="status"] {
  border: 1px solid #267344;
  background-image: linear-gradient(#e0f7e9, #a9dfbf);
}

tr[class="in-progress"] span[class="status"] {
  border: 1px solid #2459a9;
  background-image: linear-gradient(#dcecff, #a9ccff);}

/* Rating for Books */

span[class~="one"] > span:first-child {
  background-image: linear-gradient(#00FF06, #094D09);
}

span[class~="two"] > span:nth-child(-n+2) {
  background-image: linear-gradient(#00FF06, #094D09);
}

span[class~="three"] > span {
  background-image: linear-gradient(#00FF06, #094D09);
}

span[class^="rate"] > span {
  display: inline-block;
  border: 1px solid #0d0d0d;
  border-radius: 20%;
  background-color: white;
  margin: 2px;
  width: 20px;
  height: 20px;
}