
* {
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
    font-family: 'Poppins', sans-serif; 
    --blue:#398AB9;
    --brown:#D8D2CB;
    --grey:#EEEEEE;
    --white: #ffffff;
}

body {
    
    padding: 0;
    margin: 0;
    background-color: var(--brown);
}
.wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
header {
    grid-area: header;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 80px;
    background-color: var(--grey);
    box-shadow: 1px 0px 3px 0px;
}
header h3 {
    color: var(--blue);
    padding-left: 40px;
    margin: 0;
    font-size: 40px;
    letter-spacing: -1px;
    font-weight: bold;
}
.add-book-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;

}
.new-book {
    padding: 8px;
    background-color: var(--grey);
    border-radius: 1em 1em;
    font-size: 20px;
    box-shadow: 1px 0px 3px 0px;;
    border-style: none;
}
.new-book:hover {
    background-color: var(--white);
}

.form-popup {
    z-index: 10;
    width: 320px;
    height: 420px;
   
    border: 4px solid var(--blue);
    box-shadow: 2px 2px 5px 0px;

    border-radius: 1em 1em;
    
    background-color: var(--grey);
    padding: 10px;
    
}
.book-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px;
    
}
.inputs-container {
    display: flex;
    flex-direction: column-reverse;   
    gap: 3px
; 
}

.form-popup-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}

.modal-background{
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgb(0, 0, 0);
    position: fixed;
    width: 100%;
    height: 100vh;
}

#submit {
    grid-area: button;
    background-color: var(--blue);
    color: var(--grey);
    font-size: 16px;
    margin-top: 10px;
}

#submit:hover {
    background-color: #397ba1;
}


.popup-title {
    display:flex;
    justify-content: center;
    font-weight: 800;
    font-size: 25px;
    color: var(--blue);
}

.readbook-container {
    padding-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.readbook-container input{
    width: 10%;
    height: 25px;
    border-radius: 2em;
    background-color: rgb(28, 179, 28);
}

.card {
    visibility: visible;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--grey);
    height: 400px;
    width: 300px;
    box-shadow: 2px 2px 5px 0px;
    gap: 5px;
    border-radius: 1em;
    font-weight: 500;
    font-size: 20px;

}
.card button {
    font-size: 16px;
    padding: 10px 10px 10px 10px;
    border-radius: 1em;
    width: 200px;
}


.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px
    ;
}

.books-container {
    padding: 20px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
