/* File: style.css */

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.header-main {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: #fff;
    text-transform: uppercase;
    padding: 20px 0;
}

.header-main h1 {
    font-size: 2rem;
    font-weight: bold;
}

.content-section {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
}

.content-section h2 {
    color: #0056b3;
    font-size: 1.5rem;
    margin-top: 20px;
    transition: color 0.3s ease;
}

.content-section h2:hover {
    color: #ff4500;
}

.content-section p {
    font-size: 1rem;
    margin: 10px 0;
}

footer {
    background-color: #222;
    color: #ccc;
    padding: 10px 0;
    text-align: center;
    font-size: 0.875rem;
}

img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

figure {
    margin: 20px 0;
    text-align: center;
}

figcaption {
    font-size: 0.875rem;
    color: #666;
    margin-top: 5px;
}

/* Add animation to content fade-in */
.content-section {
    animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}