/* Text display */
html, body {
    background: url('images/background.png') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Andale Mono, monospace;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

/*top nav bar*/
nav {
    background-color: #333;
    color: #fff;
    padding: 1em;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

nav a.active {
    font-weight: bold;
}

/* Main window display */
.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: auto;
}

/* Centered heading */
h1 {
    text-align: center;
}



/* No hyperlinks */
a {
    text-decoration: none;
}

.no-link {
    text-decoration: underline;
    color: inherit;
}

/*footer*/
footer {
    background-color: #333;
    color: white;
    width: 100%;
    text-align: left;
    padding: 10px 20px;
    box-sizing: border-box;
    flex-shrink: 0;
    margin-top: auto;
    color: white;
    width: 100%;
}

footer a {
    color: white;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s;
}

footer a:hover {
    color: #575757;
}

footer img {
    vertical-align: middle;
    margin: 0 5px;
}

footer p {
    margin: 5px 0;
}

/* Make so images can flex */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.flex-container img {
    flex: 1 1 300px;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.flex-container img:hover {
    transform: scale(1.2);
}

