* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "IBM Plex Mono", monospace;
  background-color: #cccccc;
  color: #1a1a1a;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#dialog {
  height: 250px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#dialog form .form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

#dialog form .form-group input {
  width: 100%;
  height: 25px;
}

.button-confirm-cancel {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.btn {
  width: 80px;
  height: 30px;
  background-color: #1a1a1a;
  color: #f3f1f1;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
    rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

button:hover {
  cursor: pointer;
  background-color: #f3f1f1;
  color: #1a1a1a;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.book-card {
  height: 250px;
  background-color: white;
  width: 200px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
    rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding-left: 25px;
  position: relative;
}

.deleteBtn {
  position: absolute;
  bottom: 0;
  left: 0;
  border: none;
}

.book-title {
  font-size: 1.3rem;
  font-weight: bold;
}

.book-author,
.pages {
  font-size: 0.9rem;
}

.bookRead {
  display: flex;
  align-items: center;
  gap: 20px;
}

.m-b-2x {
  margin-bottom: 20px;
}

.font-bold {
  font-weight: 700;
}
