:root {
  --primary-color: #1b4965;     /*  var(--primary-color)        */
  --secondary-color: #cae9ff;   /*  var(--secondary-color)      */
  --other-one-color: #083049;
  --other-two-color: #163b52;
  --other-three-color: #235f85;
}

* {
  margin: 0px;
  padding: 0px;
  font-size: 18px;
}

html {
  box-sizing: border-box;
}

body {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  height: 100vh;
}

.mainContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#modal-Container {
  display: none;
  justify-content: center;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.8);
}

#myForm {
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  justify-content: center;
  padding: 30px;
  margin: 15%;
  height: 30%;
  border-radius: 10px;
  background-color: var(--primary-color);
}

#closeBook {
  align-self: flex-end;
  color: var(--secondary-color) ;
  font-size: 28px;
  font-weight: bold;
}

#closeBook:hover,
#closeBook:focus {
  color: var(--other-one-color) ;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
}

#myForm #bookName,
#myForm #authorName,
#myForm #bookPages {
  padding: 5px;
  margin: 4px;
  width: 500px;
}

#myForm #readDiv {
  margin: 8px;
}

#myForm #submitBook {
  margin: 4px;
  padding: 5px 30px;
}

#mainBtns {
  display: flex;
  justify-content: space-between;
  width: 79%;
}

button#ButtonDelete,
button#ButtonAdd {
  padding: 3px 10px;
}

h1 {
  margin: 40px 0px;
  font-family: Helvetica, Arial, serif;
  font-size: 4rem;
}

h2 {
  font-family: Helvetica, Arial, serif;
  font-size: 1.5rem;
}

table {
  width: 80%;
  table-layout: fixed;
  overflow-wrap: break-word;
}

th,
td {
  padding: 5px;
}

/* stylelint-disable */
th { background-color: var(--other-one-color);}

tr:nth-child(even) { background-color: var(--other-two-color);}
tr:nth-child(odd) { background-color: var(--other-three-color);}

th:nth-child(1) { width: 50%;}
th:nth-child(2) { width: 20%;}
th:nth-child(3) { width: 15%;}
th:nth-child(4) { width: 15%;}

td:nth-child(1) { width: 50%;}
td:nth-child(2) { width: 20%;}
td:nth-child(3) { width: 15%; text-align: right;}
td:nth-child(4) { width: 15%;}
/* stylelint-enable */

input[type=checkbox] {
  position: relative;
  cursor: pointer;
}

#libraryTable {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
}

.deleteBtn,
.readBtn {
  padding: 0px 7px;
  margin: 0px 8px;
}