body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #333;
    color: white;
    padding: 15px 10px;
    text-align: center;
}
header h1 a {
    color: inherit;
    text-decoration: none;
}
main {
    flex: 1 0 auto; /* fills remaining space between header and footer */
    display: flex;
    flex-direction: column;
    align-items: center;     /* horizontal centering */
    text-align: center;
}
.center-section {
    display: flex;
    justify-content: center; /* horizontally center children */
    padding: 60px 20px;
}
.center-section img {
    text-align: center;
    max-width: 90%;
    height: auto;
    border-radius: 8px; /* optional styling */
    margin-bottom: 20px;
}
.center-text {
    text-align:center;
    margin-top: 0px;
    padding: 0 10px;
}
.center-text h1 {
    font-size: 2rem;
    margin: 0;
}
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
    flex-shrink: 0;
}
@media screen and (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
    }

    .center-text h1 {
        font-size: 1.3rem;
    }

    main {
        padding: 10px;
    }

    .center-section img {
        margin-bottom: 15px;
    }
}