/* Center all headings */
h1, h2, h3, h4, h5, h6 {
    text-align: center;
}
/* Optimized header, footer, and home button styles */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 5rem;
    background: #0077b6;
    color: #fff;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-footer {
    text-align: center;
    padding: 1rem 0;
    background: #eee;
    color: #333;
    font-size: 1rem;
}
.home-btn {
    position: absolute;
    top: 1rem;
    right: 2rem;
    padding: 0.5rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    border: none;
    background: #fff;
    color: #0077b6;
    cursor: pointer;
    font-weight: bold;
    z-index: 1100;
}
/* Utility class for centering text */
.center {
    text-align: center;
}
footer p {
    text-align: center;
}


p {
    font-size: 1.25rem;
    line-height: 1.6;
    font-family: 'DynaPuff', Arial, Helvetica, sans-serif;
    /* Remove forced alignment so inline style can take effect */
}
html, body {
    min-height: 100vh;
}

body {background-image: url(Images/Background.png);}


main {
    flex: 1;
}
/* Google Translate widget styling */
#google_translate_element {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    max-width: 320px;
    min-width: 0;
    min-height: 0;
    box-shadow: none;
    background: none;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

.goog-te-gadget {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1rem !important;
    color: #0077b6 !important;
    background: #f1f1f1;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
footer {
    text-align: center;
    padding: 1rem 0;
    background: #eee;
    color: #333;
    font-size: 1rem;
}

h1, h2 {
    font-family: 'DynaPuff', Arial, Helvetica, sans-serif;
}
h1 {
    font-size: 4.5rem;
}
h2 {
    font-size: 2.5rem;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'DynaPuff', Arial, Helvetica, sans-serif;
    background: none;
    background-image: url("Images/Background.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom;
    min-height: 100vh;
    width: 100vw;
}

header {
    background: #0077b6;
    color: #eee;
    padding: 1rem 0.5rem;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    margin: 0 auto;
    max-width: 1200px;
}

main {
    padding: 1rem;
    max-width: 800px;
    margin: 80px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

button.center {
    padding: 0.75rem 2rem;
    font-size: 1.2rem;
    border-radius: 0.5rem;
    border: none;
    background: #0077b6;
    color: #fff;
    cursor: pointer;
    margin: 1.5rem 0 0.5rem 0;
    display: inline-block;
    max-width: 320px;
}

.button-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 900px) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    h2 {
        font-size: 1.3rem;
    }
    .main-header {
        height: 3.5rem;
        padding: 0.5rem 0.25rem;
    }
    .home-btn {
        top: 0.5rem;
        right: 1rem;
        padding: 0.4rem 1rem;
        font-size: 1rem;
    }
    main {
        padding: 0.5rem;
        max-width: 100vw;
        margin: 60px auto 0 auto;
    }
    section {
        max-width: 98vw !important;
        margin: 1rem auto !important;
        padding: 1rem !important;
    }
    body {
        background-size: cover !important;
        background-repeat: no-repeat !important;
        min-height: 100vh !important;
        height: 100vh !important;
        width: 100vw !important;
    }
}


