/* Base styles */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Special Elite', cursive, sans-serif;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Sticky navigation */
nav {
    width: 100%;
    position: sticky;
    top: 0;
    background-color: #f9f9f9;
    text-align: center;
    padding: 10px 0;
    z-index: 1000;
    border-bottom: 1px solid #ccc;
}

nav a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    margin: 0 15px;
}

nav a:hover {
    color: #666666;
}

/* Container with spacing from the navigation */
.container {
    width: 650px;
    height: 650px;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 0px;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    margin-top: 250px; /* Space between navigation and content */
}

/* Header and paragraph styling */
h1 {
    text-align: center;
    color: #000;
    margin-top: 0;
}

p {
    line-height: 1.6;
    margin: 10px 0;
}

/* Centered image in landing page */
.centered-image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.centered-image img {
    max-width: 100%;
    height: auto;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    /* Adjust container width for mobile devices */
    .container {
        width: 90%;
        height: auto;
        margin-top: 20px;
    }

    /* Make the navigation links stack vertically on mobile */
    nav a {
        display: block;
        margin: 10px 0;
    }

    /* Adjust font size for better readability on small screens */
    nav a {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    /* Make font size smaller for very small screens */
    nav a {
        font-size: 14px;
    }

    /* Further reduce margins for small screens */
    .container {
        margin-top: 15px;
        padding: 15px;
    }
}
