body {
    font-family: Arial, sans-serif;
    
}
nav{
    background-color: #5777d7;
    color: white;
    padding: 10px;
    text-align: center;
}
button{
        background-color: #5777d7;
        color: white;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        font-size: 16px;
        border-radius: 15px;
}

.model{
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    /* display: flex; */
    align-items: center;
    justify-content: center;
    .book-form{
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        min-width: 300px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        .form-header{
            width: 95%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            .close-btn{
                cursor: pointer;
                font-size: 20px;
                color: #333;
                background-color: #ddd;
            }
    }
    input{
            width: 90%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            /* margin-bottom: 10px; */
        }
    }
}


.hero {
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    
    .books{
        padding: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        .book{
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 10px;
            padding: 20px;
            width: 200px;
            text-align: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            h2{
                color: #5777d7;
                margin-bottom: 10px;
            }
            button{
                width: 95%;
            }
            .read-btn{
                /* background-color: #4caf50; */
                color: white;
                border: none;
                padding: 5px 10px;
                cursor: pointer;
                font-size: 14px;
                border-radius: 5px;
                margin-bottom: 10px;
            }
            .edit-btn{
                /* background-color: #4caf50; */
                color: white;
                border: none;
                padding: 5px 10px;
                cursor: pointer;
                font-size: 14px;
                border-radius: 5px;
                margin-bottom: 10px;
                /* margin-right: 5px; */
            }
            .remove-btn{
                background-color: #ff4d4d;
                color: white;
                border: none;
                padding: 5px 10px;
                cursor: pointer;
                font-size: 14px;
                border-radius: 5px;
            }
            
        }
    }
}