*{
    margin: 0;
    padding: 0;
}
body{
    display: flex;
    flex-direction: column;
    background-color: #424449;
}
#heading{
    background-color: #07553B;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2% 10%;
}
#heading h1{
    font-size: 42px;
}
#heading button{
    border: 0;
    background-color: #07553B;
}
button:hover{
    cursor: pointer;
}
button {
    background-color: transparent;
    min-width: 50px;
    border: 0px;
}
#library{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
}
[data-class="bookDiv"] {
    border: 1px solid black;
    padding: 10px;
    margin: 10px 0;
    background-color: #4e525b;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 200px;
    gap: 10px;
    border-radius: 12px;
  }
  #dialog{
    width: 300px;
    height: 400px;

    overflow: hidden;

    justify-self: center;
    align-self: center;

    border: 0px;
    background-color: #424449;
    --s: 50px; /* the size on the corner */
    --t: 8px;  /* the thickness of the border */
    --g: 0px; /* the gap between the border and image */
  
    padding: calc(var(--g) + var(--t));
    outline: var(--t) solid#07553B; /* the color here */
    outline-offset: calc(-1*var(--t));
    mask:
    conic-gradient(at var(--s) var(--s),#0000 75%,#000 0)
    0 0/calc(100% - var(--s)) calc(100% - var(--s)),
    linear-gradient(#000 0 0) content-box;
}

::backdrop {
    background-color: #000;
    opacity: 0.35;
}

#dialog form {
    display: flex;
    flex-direction: column;
    padding: 10% 10%;
    color: #fff;
    justify-content: space-between;
}


#dialog input, select{
    min-height: 2.4rem;
    margin-bottom: 1rem;
    border: 0px;
    border-radius: 10px;
    background-color: #4e525b;
    color: #fff;
    padding-left: 5%;
    font-size: 1rem;
}


#submitBtn, .toggleRead{
    min-height: 2.4rem;
    border: 0px;
    border-radius: 10px;
    background-color:#07553B;
    color: #fff;
    font-size: 1rem;
}


input:focus {
    outline:1px solid #07553B;
}  
#dialog h1{
    font-size: 24px;
}
#dia-head{
    display: flex;
    gap: 16px;
    align-items: center;
}