@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

body{
    margin: 5%;
    font-family: "Lato", sans-serif;
}

/* Header Container */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.resume-link {
    color: black;
    text-decoration: underline;
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.resume-link:hover {
    color: #333;
}

footer{
    background-color: lightcyan;
    margin-top: 5%;
    border-radius: 1rem;
    padding: 0.25rem;
}

p{
    text-align: justify;
}

#section{
    text-indent: 2.5%;
}

/* Section Card Styling */
.section-card {
    margin: 1rem 0;
}

.section-link {
    display: block;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-link:hover {
    background-color: #e9ecef;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #495057;
}

.section-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.section-link:hover .section-arrow {
    transform: translateX(4px);
}

.section-description {
    font-family: "Lato", sans-serif;
    color: #6c757d;
    font-size: 0.95rem;
    font-style: italic;
}

/* Navigation Styling */
.navigation {
    margin: 1rem 0 2rem 0;
}

.back-link {
    display: inline-block;
    background-color: lightcyan;
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-family: "Lato", sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    background-color: lightcyan;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Blog Grid Styling */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 1rem;
}

.blog-card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-color: #20b2aa;
    text-decoration: none;
    color: inherit;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-date {
    color: #6c757d;
    font-weight: 500;
}

.blog-number {
    background-color: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.8rem;
}

.blog-title {
    margin: 0;
    color: #212529;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .blog-card {
        padding: 1rem;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

a:link {
    color: black;
    text-decoration: none;

}
a:visited {
    color: black;
    text-decoration: none;
}

a:hover {
    background-color: lightcyan;
}

.book-title {
    text-decoration: italic; 
}