body {
    background: url('../images/bgoverlap.gif') repeat;
    font-family: 'VT323', monospace;
    margin: 0;
    padding: 0;
}

.main-flex {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    gap: 64px; /* Increased gap for more space between container and chatbox */
    margin-top: 60px;
}

.container {
    width: 700px;
    background: #fff;
    border: 3px solid #b7eacb; /* pastel green */
    box-shadow: 0 0 16px #b7eacb;
    padding: 0;
    margin: 0; /* Remove margin: 0 auto; */
    margin-bottom: 40px;
}

.site-title {
    background: #b7eacb; /* pastel green */
    color: #fff;
    text-align: center;
    font-size: 2.5em;
    margin: 0;
    padding: 24px 0 16px 0;
    border-bottom: 3px solid #388e3c; /* darker green */
    text-shadow: 2px 2px #388e3c; /* darker green shadow */
}

.nav-bar {
    display: flex;
    justify-content: center;
    gap: 32px;
    background: #e6ffe6; /* very light green */
    border-bottom: 2px solid #b7eacb;
    padding: 12px 0;
}

.nav-bar a {
    color: #388e3c; /* darker green */
    background: #fff;
    border: 2px solid #b7eacb;
    border-radius: 0;
    padding: 8px 24px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    box-shadow: 2px 2px #b7eacb;
    transition: background 0.2s, color 0.2s;
}

.nav-bar a:hover {
    background: #b7eacb;
    color: #fff;
}

main {
    padding: 32px 40px;
}

h2 {
    border-bottom: 2px solid #b7eacb;
    padding-bottom: 5px;
    margin-top: 0;
}

article {
    margin-bottom: 30px;
    padding: 15px;
    border: 2px solid #b7eacb;
    background: #f9f9f9;
    box-shadow: 2px 2px 8px #e6ffe6;
}

article h3 {
    margin-top: 0;
    color: #388e3c; /* darker green */
}

footer {
    background: #e6ffe6;
    color: #388e3c; /* darker green */
    text-align: center;
    padding: 15px 0;
    border-top: 3px solid #b7eacb;
    font-size: 1em;
}

.chatbox {
    min-width: 300px;
    max-width: 300px;
    background: #fff;
    border: 1px solid #b7eacb;
    box-shadow: 0 0 8px #b7eacb;
    padding: 8px;
    border-radius: 0;
}

.chatbox-beetle-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 32px; /* Move chatbox further to the side */
}

.beetle-row {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 2px;
    margin-top: 2px;
}

.beetle-icon {
    height: 32px;
    width: auto;
    image-rendering: pixelated;
}

.bottom-images {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 32px 0 16px 0;
}

.bottom-images img {
    height: 64px;
    image-rendering: pixelated;
}