body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #292b2f;
    color: #fff;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

header nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s, color 0.3s;
}

header nav ul li a:hover,
header nav ul li a.active {
    background-color: #ff9900;
    color: #292b2f;
    border-radius: 5px;
}

main {
    padding: 40px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

main h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #292b2f;
}

main p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #555;
}

main section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

main article {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

main article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

main article img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

main article h2 {
    background-color: #292b2f;
    color: #fff;
    padding: 10px;
    font-size: 1.2em;
}

main article a {
    display: block;
    padding: 15px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

main article a:hover {
    color: #ff9900;
}

footer {
    background-color: #292b2f;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.9em;
    margin-top: 240px;
}

@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    main section {
        flex-direction: column;
    }

    main article {
        max-width: 100%;
    }
}
