@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

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

body {
  background: #212020;
  margin: 0;
}

body,
input,
button {
  font-family: Raleway, sans-serif;
}

input,
button {
  font-size: 16px;
}

.head_bar {
  padding: 18px 12px;
  margin-left: 530px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: start;
  color: white;
  font-size: 1.2rem;
}

.head_bar > img {
  width: 130px;
  height: 130px;
  margin-left: 10px;
  margin-bottom: 40px;
}

main {
  max-width: 800px;
  width: 80%;
  margin: 5px auto;
  padding: 16px;
}

.input-sec {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 5px solid #35858b;
  border-radius: 15px;
  background: #fff;
}

.input-sec > h2 {
  text-align: center;
  color: #35858b;
  margin-bottom: 20px;
}

.input-sec > form > .input {
  margin: 8px 0;
}

.input-sec > form > button {
  background-color: #35858b;
  color: white;
  border: 0;
  border-radius: 5px;
  display: block;
  width: 100%;
  padding: 8px;
  cursor: pointer;
  margin-top: 20px;
}

.input-sec > form > #editBuku,
.input-sec > form > #submitBuku {
  background: #35858b;
  color: #fff;
  padding: 8px;
  width: 50%;
  text-align: center;
  border-radius: 30px;
  cursor: pointer;
  margin-left: 357px;
}

.input-sec > form > #editBuku {
  display: none;
}

.input-sec > form > .input > input {
  display: block;
  width: 100%;
  padding: 8px;
  border-radius: 13px;
  margin: 10px 0;
}

.input-sec > form > .input > label {
  color: #35858b;
  font-weight: bold;
}

.input-sec > form > .input_inline {
  margin: 12px 0;
  display: flex;
  align-items: center;
}

.input-sec > form > .input_inline > label {
  color: #35858b;
  font-weight: bold;
  margin-right: 10px;
}

.book_shelf {
  margin: 35px 0 0 0;
  border: 5px solid #35858b;
  padding: 24px;
  border-radius: 15px;
  background: #fff;
}

.book_shelf > h2 {
  color: #35858b;
  margin-bottom: 20px;
  text-align: center;
}

.book_shelf > .listBuku > .book_item {
  padding: 16px;
  border: 2px solid #35858b;
  border-radius: 15px;
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.book_shelf > .listBuku > .book_item > .info > h3,
p {
  margin: 8px 0;
}

.book_shelf > .listBuku > .book_item > .action {
  display: flex;
  align-items: center;
}

.book_shelf > .listBuku > .book_item > .action > button {
  border: 0;
  padding: 5px;
  margin: 0 10px 0 0;
  border-radius: 5px;
  cursor: pointer;
}

.checklist {
  background: url('../img/checked.svg');
  background-size: contain;
  width: 20px;
  height: 20px;
  margin-left: auto;
  cursor: pointer;
  border: none;
}

.checklist:hover {
  background: url('../img/checked.gif');
  background-size: contain;
}

.edit {
  background: url('../img/editt.svg');
  background-size: contain;
  width: 20px;
  height: 20px;
  margin-left: auto;
  cursor: pointer;
  border: none;
}

.edit:hover {
  background: url('../img/edit.gif');
  background-size: contain;
  width: 20px;
}

.trash {
  background: url('../img/trash.svg');
  background-size: contain;
  width: 20px;
  height: 20px;
  margin-left: 16px;
  cursor: pointer;
  border: none;
}

.trash:hover {
  background: url('../img/trash.gif');
  background-size: contain;
}

.undo {
  background: url('../img/restart.svg');
  background-size: contain;
  width: 20px;
  height: 20px;
  margin-left: auto;
  cursor: pointer;
  border: none;
}

.undo:hover {
  background: url('../img/restart.gif');
  background-size: contain;
}

.checklist:focus,
.trash {
  outline: none;
}
