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

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

header {
    background-color: #1e90ff;
    color: white;
    text-align: center;
    padding: 20px;
    width: 100%;
    position: sticky; /* Stick the header */
    top: 0; /* Stick to the top */
    z-index: 100; /* Ensure it's above other content */
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

h3 {
    font-size: 1.5rem;
    color: #333;
    margin-top: 20px;
}

section {
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    max-width: 900px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1; /* Key for vertical centering */
}

/* Center content *within* the section */
section > * {
    margin-bottom: 20px;
}

section > *:last-child {
    margin-bottom: 0;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Remove if you don't need vertical centering */
    min-height: 100%; /* Ensure wrapper covers section height */
    padding: 20px;
}

ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

a {
    color: #1e90ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer {
    background-color: #1e90ff;
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
}

footer a {
    color: #f4f4f4;
}

footer a:hover {
    color: #ffcc00;
}

p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    section {
        margin: 20px;
        width: 95%;
        max-width: 95%;
    }
}