/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styling */
header {
    width: 100%;
    background-color: #333;
    padding: 20px;
    text-align: center;
}

header a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    margin: 0 15px;
}

header a:hover {
    text-decoration: underline;
}

/* Header Text Styling for the First Page */
header h1 {
    margin: 0;
    font-size: 28px;
}

header p {
    font-size: 16px;
    margin: 5px 0 0;
}

/* Main Content Layout */
main {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

main h2, main h3, main h4 {
    color: #333;
}

main img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    display: block;
}

/* Articles and Image Styling */
.content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
}

.text-section {
    flex: 1;
    padding: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.center-box {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.large-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.articles {
    display: flex;
    gap: 20px;
}

.article {
    width: 150px;
    text-align: center;
}

.article img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.article p {
    font-size: 14px;
}

/* Link Styling for Articles */
.articles a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.articles a:hover p {
    text-decoration: underline;
}

.articles a:hover img {
    filter: brightness(90%);
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
    margin-top: 20px;
}