/* reading_blog.css - Complete CSS for Revisiting Worlds Blog */


body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f5f0;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
   
}

/* Typography */
h1 {
    font-size: 2.8rem;
    color: #3c2f2f;
    margin: 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #a8997d;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h1 center {
    display: block;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: justify;
    padding: 0 10px;
}

/* Links */
a {
    color: #8b4513;
    text-decoration: none;
    border-bottom: 1px dotted #a8997d;
    transition: all 0.3s ease;
}

a:hover {
    color: #5d2906;
    border-bottom: 1px solid #8b4513;
    background-color: rgba(139, 69, 19, 0.05);
}

/* Grid Layout for Book List */
ul {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 3rem 0;
    padding: 0 10px;
}

/* Book list items */
li {
    background-color: #fff;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border-left: 5px solid #a8997d;
}

li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-left-color: #8b4513;
}

li a {
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 80px;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #3c2f2f;
    border-bottom: none;
    transition: all 0.3s ease;
}

li a:hover {
    color: #8b4513;
    background-color: rgba(139, 69, 19, 0.03);
}

/* Add book icon to list items */
li a::before {
    margin-right: 12px;
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    h1 {
        font-size: 2.2rem;
        margin: 1.5rem 0;
    }
    
    p {
        font-size: 1rem;
        padding: 0 5px;
    }
    
    ul {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 5px;
    }
    
    li a {
        min-height: 70px;
        padding: 15px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    ul {
        gap: 12px;
    }
    
    li a {
        min-height: 60px;
        padding: 12px;
        font-size: 1rem;
    }
}

/* Decorative elements */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(168, 153, 125, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}


