

body {
    margin: 0;
    background:
        /* top, transparent black, faked with gradient */ 
        linear-gradient(
          rgba(0, 0, 0, 0.7), 
          rgba(0, 0, 0, 0.7)
        ),
        /* bottom, image */
        url('background.jpg');
    

    background-size: cover;
    
    background-attachment: fixed;
    height: 100vh;

    display:flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: sans-serif;

}


.header {
    color: white;
    background-color: rgba(0,0,0,0.95);
    background-blend-mode: color;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    padding: 16px;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.main {

    flex: 1;
    display:flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    
}

.menu {

    padding: 10px;
    display: flex;
    justify-content: center;
}

.button {
    background-color: chocolate;
    padding: 12px;
    cursor: pointer;
    min-width: 100px;
    text-align: center;
    font-size: 20px;
    box-shadow: 0px 0px 5px rgb(0, 0, 0);

}

.addBookButton {
    background-color: rgb(92, 255, 119);
    border-radius: 5px;
    transition: all .2s ease-in-out;
    
}

.addBookButton:hover { transform: scale(1.1); }


.addBookButton:hover {
    opacity: 0.9;
}

.deleteButton {
    background-color: #f87979;
    padding: 5px;
    font-size: 16px;
    color: black;
    font-family: sans-serif;
}



.card {
    border: 1px solid rgba(121, 66, 15, 0.7);
    background:
    /* top, transparent black, faked with gradient */ 
    linear-gradient(
      rgba(0, 0, 0, 0.1), 
      rgba(0, 0, 0, 0.1)
    ),
    /* bottom, image */
    url('book-cover.png');
    background-size: cover;
    box-shadow: 0px 0px 20px rgb(0, 0, 0);
    width: 200px;
    height: 300px;
    padding: 20px;
    margin: 20px;
    margin-left: 35px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    font-size: 16px;
    color: white;
    text-align: center;
    transition: all .2s ease-in-out;
    
}

.card:hover { transform: scale(1.1); }

.title {
    color:black;
    height: 85px;
    height: 85px;
    margin-top: 30px;
    margin-left: 35px;
    margin-right: 20px;
    font-family: serif;
    font-size: 20px;
}

.author {

    color: white;
}

.readCheckBox {
    transform: scale(1.3);
}

.footer {
    padding: 16px;
    display: flex;
    align-items: center;
   
}

.footer a {
    font-size: 18px;
    color: white;
    opacity: 0.2;
    text-decoration: none;
}

.form {

    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.formContent {
    background-color: #272626;
    color: white;
    margin: auto;
    padding: 20px;
    border: 3px solid #888;
    border-radius: 10px;
    max-width: 360px;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .formHeader {
      font-size: 24px;
      font-weight: 600;
      text-align: center;
  }

  .formData {
      display:flex;
      flex-direction: column;
      justify-content: center;
      text-align: center;
      align-items: center;
      gap: 15px;
      padding-bottom: 30px;
      font-weight: 600;
  }

  #inputTitle {
      border-radius: 5px;
      height: 25px;
      width: 220px;
      padding: 5px;
      text-align: center;
      font-size: 16px;
  }

  #inputAuthor {
    border-radius: 5px;
    height: 25px;
    width: 220px;
    padding: 5px;
    text-align: center;
    font-size: 16px;
  }

  #inputPages {
    border-radius: 5px;
    height: 20px;
    width: 100px;
    padding: 5px;
    text-align: center;
    font-size: 16px;
  }

  #inputRead {
    transform: scale(2);
  }

  input:focus-visible{
      outline: none;
  }



  .formMenu {
      display:flex;
      justify-content: space-between;
      width: 300px;
      text-align: center;
      align-items: center;
      padding-bottom: 20px;
  }

  .formCreateButton {
      background-color: #85ee77;
      color: #000;
      border-radius: 5px;
  }

  .formAbortButton {
      background-color: #f87979;
      color:#000;
      border-radius: 5px;
  }



