
h1  {
    text-align: center;
    font-family: sans-serif;
    font-size: 2.5rem;
}

table {
    text-align: center;
    width: 100%;
    margin: auto;
    font-family: sans-serif;
    background-color: #ffffff;
    color: #1f2937;
    border-collapse: collapse;
}

td:nth-child(1), th:nth-child(1) {
    text-align: left;
}

th {
    background-color: #17324d;
    color: #ffffff;
    padding: 14px;
}

td {
    padding: 12px;
    border-bottom: 1px solid #aebbc8;
    vertical-align: middle;
}

span {
    display: inline-block;
}


tr[class="read"] {
    background-image: linear-gradient(
            to right,
            #d9f2e3,
            #f1faf4
    );
}

tr[class="to-read"] {
    background-image: linear-gradient(
            to right,
            #fff0cc,
            #fffaf0
    );
}

tr[class="in-progress"] {
    background-image: linear-gradient(
            to right,
            #dcecff,
            #f2f7ff
    );
}

table span[class="status"] {
    display: inline-block;
    width: auto;
    height: auto;
    min-width: 100px;
    padding: 7px 12px;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.4;
    border: 2px solid #64748b;
    border-radius: 8px;
    white-space: nowrap;
}

tr[class="read"] span[class="status"] {
    border: 2px solid #234f70;
    background-image: linear-gradient(#d1fae5);
}

tr[class="in-progress"] span[class="status"] {
    border: 2px solid #234f70;
    background-image: linear-gradient(#dbeafe);
}

tr[class="to-read"] span[class="status"] {
    background-color: #fef3c7;
}

span[class="status"],
span[class^="rate"] {
    height: 15px;
    width: 70px;
    padding: 1px;
}

span[class^="rate"] > span {
    border: 3px solid #1E40AF;
    border-radius: 5px;
    margin: 0 auto;
    height: 5px;
    width: 5px;
    /*background-color: #1E40AF;*/
}

/* Book Ratings */
.rate-one span:nth-child(-n+3),
.rate-two span:nth-child(-n+5),
.rate-three span:nth-child(-n+5),
.rate-four span:nth-child(-n+4),
.rate-five span:nth-child(-n+4) {
    background-color: #1E40AF;
}

/* Book summaries section */
.book-summaries {
    max-width: 1500px;
    margin: 60px auto;
    padding: 20px;
}

.book-summaries h2 {
    font-size: 2rem;
    text-align: center;
    color: #17324d;
    margin-bottom: 10px;
}

.section-description {
    font-size: 1.15rem;
    text-align: center;
    color: #334155;
    margin-bottom: 35px;
}

/* Flexbox container */
.books-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
}

/* Individual book card */
.book-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 360px;
    color: #1f2937;
    background-color: #ffffff;
    border: 2px solid #c1ccd6;
    border-radius: 12px;
    padding: 25px;
    max-width: 430px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
    transition: transform 0.2s ease,
    box-shadow 0 4px 12px rgba(0, 0, 0, 0.10);
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Cover images */
.book-cover {
    display: block;
    width: 150px;
    height: 220px;
    object-fit: contain;
    align-self: center;
    margin-bottom: 20px;
}

/* Book information */
.book-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.book-content h3 {
    font-size: 1.35rem;
    line-height: 1.4;
    color: #17324d;
    margin: 0 0 10px;
}

.book-author {
    font-size: 1rem;
    color: #475569;
    font-weight: 600;
    margin: 0 0 15px;
}

.book-content h4 {
    font-size: 1.15rem;
    color: #17324d;
    margin: 20px 0 8px;
}

.book-content p {
    line-height: 1.7;
}

/* Status labels */
.book-status {
    display: inline-block;
    align-self: flex-start;
    width: auto;
    height: auto;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: bold;
}

.book-status.read {
    background-color: #d1fae5;
    color: #065f46;
}

.book-status.in-progress {
    background-color: #dbeafe;
    color: #1e40af;
}

.book-status.to-read {
    background-color: #fef3c7;
    color: #92400e;
}

/*
.cursor-pointer {
    cursor: pointer;
}
*/

body {
    background-color: #e8eef3;
    color: #1f2937;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
    padding: 25px;
}

h1, h2, h3, h4 {
    color: #17324d;
    line-height: 1.3;
}

.book-content p {
    color: #1f2937;
    font-size: 1.125rem;
    line-height: 1.7;
}

.reflection h2 {
    text-align: center;
    margin-bottom: 20px;
}
.reflection {
    max-width: 800px;
    background-color: white;
    margin: 60px auto;
    padding: 30px 50px;
}
.reflection p {
    text-align: left;
    color: #1f2937;
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 30px;
}