body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #982D26;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #424242;
    color: #fff;
    padding: 1.0rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo-container {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}

header .logo {
    height: 250px;
    width: auto;
}

header h1 {
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

nav {
    background: #e2e8f0;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

nav ul li a {
    color: #4a5568;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background: #3182ce;
    color: #fff;
}

main {
    flex: 1;
}

figcaption {
    margin-top: 0;
    font-style: italic;
    color: #fff;
}

.intro {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.intro .text {
    flex: 1;
}

.intro figure {
    margin: 0;
    text-align: center;
}

.intro figure img {
    height: 250px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.intro figure figcaption {
    margin-top: 10px;
    font-style: italic;
    color: #fff;
}

.content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.content article {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
}

.content article h2 {
    color: #3182ce;
}

.content article h1 {
    text-align: center; /* Centers the text horizontally */
    background-color: #fff; /* Sets the background color to white */
    color: #3182ce;
    
}

.content article a {
    display: inline-block;
    margin-top: 10px;
    color: #3182ce;
    text-decoration: none;
    font-weight: bold;
}

.content article a:hover {
    text-decoration: underline;
}

.next-button-container {
    text-align: center;
    margin-top: 30px;
}

.next-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #424242;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.next-button:hover {
    background-color: #2c5282;
}

footer {
    background: #424242;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .intro {
        flex-direction: column;
    }
    .intro figure img {
        height: auto;
        max-width: 100%;
    }
}
