@font-face {
    font-family: 'Elliott';
    src: url('assets/fonts/ELRIOTT2.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    background-color: #3a1a00;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

#page-bg {
    width: 100%;
    max-width: 1440px;
    background-image: url(assets/img/5_background/gameBackgroundIMG.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    border-left: 3px solid #b87202;
    border-right: 3px solid #b87202;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8), inset 0 0 120px rgba(0, 0, 0, 0.25);
}

#game-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

#canvas-wrapper {
    position: relative;
    line-height: 0;
    margin-bottom: 25px;
}

canvas {
    background-color: #000;
    display: block;
    border: 3px solid #b87202;
    border-radius: 15px;
    box-sizing: border-box;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.9), 0 0 24px rgba(184, 114, 2, 0.35);
}

/* ── Toolbar ── */
#game-toolbar {
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 6px 0;
    box-sizing: border-box;
}

/* ── Navbar ── */
#navbar {
    width: 100%;
    background-color: #3a1a00;
    border-bottom: 3px solid #b87202;
    height: 52px;
    display: flex;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

#navbar-inner {
    width: 100%;
    max-width: 1440px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    box-sizing: border-box;
}

#nav-brand {
    font-family: 'Elliott', sans-serif;
    color: #b87202;
    font-size: 22px;
    letter-spacing: 2px;
}

#nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
}

#nav-links li a {
    font-family: 'Elliott', sans-serif;
    color: #f5deb3;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
    transition: color 0.2s;
}

#nav-links li a:hover {
    color: #b87202;
}

/* ── Footer ── */
#main-footer {
    width: 100%;
    background-color: #3a1a00;
    border-top: 3px solid #b87202;
    display: flex;
    justify-content: center;
    margin-top: auto;
    box-sizing: border-box;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.6);
}

#footer-inner {
    width: 100%;
    max-width: 1440px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 14px 32px;
    box-sizing: border-box;
    font-family: sans-serif;
    font-size: 14px;
    color: #f5deb3;
}

#github-link {
    display: flex;
    align-items: center;
}

#github-icon {
    width: 24px;
    height: 24px;
    fill: #f5deb3;
    transition: fill 0.2s;
}

#github-link:hover #github-icon {
    fill: #b87202;
}

#footer-impressum {
    color: #f5deb3;
    text-decoration: none;
    font-family: sans-serif;
    transition: color 0.2s;
}

#footer-impressum:hover {
    color: #b87202;
}

h1 {
    font-family: "Elliott", sans-serif;
    color: #b87202;
    margin-top: 20px;
    font-size: 64px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8), 0 0 32px rgba(184, 114, 2, 0.4);
}

