/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Header styles */
header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

nav {
    margin-top: 1rem;
}

nav a {
    color: #ecf0f1;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #3498db;
}

/* Main content */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.poem-list h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 300;
}

/* Poem styles */
.poem {
    background-color: #fff;
    margin-bottom: 3rem;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.poem:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.poem h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 400;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.poem-content {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.poem-content p {
    margin: 0.3rem 0;
    text-indent: 2rem;
}

.poem-meta {
    text-align: right;
    font-style: italic;
    color: #7f8c8d;
    margin-top: 1.5rem;
    font-size: 1rem;
}

/* Footer styles */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
}

footer p {
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .poem {
        padding: 1.5rem;
    }
    
    .poem h3 {
        font-size: 1.5rem;
    }
    
    .poem-content {
        font-size: 1rem;
    }
    
    main {
        padding: 1rem 0.5rem;
    }
}
