*{
    margin: 0;
    padding: 0;
}

body{
    height: 100vh;
    width: 100vw;
}

#app{
    display: grid;
    grid-template-rows: auto 2fr auto;
    gap: 0px;
    height: 100vh;
    width: 100vw;
}

#header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: darkslategray;
    padding: 15px 50px;
}

#header button{
    padding: 10px;
    border-radius: 100px;
    width: auto;
    font-size: 20px;
}

#site-title{
    font-size: 50px;
    color: aliceblue;
    border: 0px solid red;
    -webkit-text-stroke: 1px red;
    -webkit-text-fill-color: azure;
}

dialog{
    position: absolute;
    top: 35%;
    left: 40%;
    width: 25%;
    padding: 20px;
  }

  #new-book-form{
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 20px;
  }

  #new-book-form label{
    border: 0px solid red;
    font-size: 30px;
  }

  #new-book-form div{
    font-size: 20px;
  }

#new-book-read{
    transform: scale(2);
}

.form-group{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.form-group button{
    border-radius: 25px;
    padding: 10px;
}

#main-section{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: scroll;
}

#library{
    display: flex;
    gap: 5px;
    background-color: azure;
    border: 0px solid green;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    height: 100%;
    width: 100%;
    padding: 0px;
    flex: 1 1 auto;
}

.book{
    display: flex;
    flex: 0 1 150px;
    justify-content: center;
    align-items: center;
    width: min-content;
    height: 150px;
    padding: 20px;
    text-align: center;
    text-transform: uppercase;
    background-color: black;
    color: yellow;
    border: 0px solid red;
}

#button-group{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0px solid red;
    width: 100%;
}

#button-group button{
    width: 40%;
    height: auto;
    padding: 5px;
}

.book-header{
    border: 0px solid yellow;
}

.book-value{
    border: 1px solid green;
}

.book-read{
    background-color: green;
}


.remove{
    height: auto;
}

#book-detail-popup{
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: none;
    background-color: rgba(0, 0, 0, 0.4);
}

.book-detail-popup{
    display: none;
}

.detail-header{
    color: black;
    font-size: 25px;
    font-weight: 900;
    font-style: italic;
}

.detail-value{
    color: black;
}

.pop-up-content{
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border: 3px solid #888888;
    width: 30%;
    font-weight: bolder;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#close-popup{
    border: 1px solid black;
    position: relative;
    left: 63%;
    top: 28%;
    border-radius: 25px;
    padding: 5px;
}

.detail-group{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.show {
    display: block;
}

#ratings{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

#book-initial-rating{
    display: flex;
}

#book-initial-rating img{
    width: 35px;
}

#footer{
    background-color: darkslategray;
    text-align: end;
    padding: 2.5px 25px;
    color: aliceblue;
}