* {
  font-size: 62.5%;
  font-family: "Roboto", "Helvetica", sans-serif;
}

.main {
  display: grid;
  grid-template-rows: 1fr 6fr;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "input-div input-div input-div"
    "book-grid book-grid book-grid";
  margin: 0 auto;
  margin-top: 30px;
  width: 80vw;
}

.book-grid {
  grid-area: book-grid;
  margin-top: 15px;
  background-color: lightcyan;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  grid-template-rows: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1.2rem;
}

.book {
  background-color: rgb(218, 218, 218);
  border-radius: 10px;
  border: solid lightgrey 1px;
  box-shadow: 0 2px 2px 2px rgba(99, 99, 99, 0.3);

  height: 100%;
  width: auto;

  display: flex;
  flex-direction: column;

  justify-content: center;


  padding: 3rem;
}

.book > h3 {
  margin: 0;
}

h3 {
  font-size: 1.4rem;
  font-weight: bold;S
  font-family: sans-serif;
  line-height: 1.6;
}

input {
  margin-top: 0.5rem;
  margin-left: 1rem;
  width: 12rem;
  height: auto;
  font-size: 1.6rem;
}

.input-div {
  grid-area: input-div;
  margin: 0 auto;
  border-radius: 15px;
  height: 100%;
  width: 100%;
  background-color: rgb(218, 184, 250);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  justify-content: center;
  align-items: center;
}

.input-div-child {
  grid-column: 2 / 3;
  display: flex;
  place-content: center center;
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
}

.card-button-div {
  display: flex;
  flex-direction: row;
  justify-content: center;
}


label {
  font-family: sans-serif;
  font-size: 1.6rem;
}

button {
  min-width: 110px;
  height: 40px;
  color: #494949;
  padding: 5px 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  border-radius: 5px;
  border: 2px solid #ffd819;
  background: #ffd819;
  font-family: sans-serif;
  font-size: 1.8rem;
  margin: .5rem
}

button:hover {
  background: #fff;
  color: #a5a5a5;
}

button:active {
  background: #8d8d8d;
  color: #ffd819;
}
