:root {
--forest: #2f4734;
--moss: #70856f;
--stone: #d5d0c8;
--sand: #f4efe6;
--mist: #faf9f6;
--charcoal: #2e2e2e;
}

body {
    font-family: "Segoe UI", sans-serif;

    background: var(--mist);
    color: var(--charcoal);
    margin: 0;
    padding: 40px;

}

.container {
    max-width: 1000px;

    margin: auto;

    background: white;

    padding: 40px;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;

    color: var(--forest);

    font-size: 3rem;
}

.hero {
    height: 70vh;

    background-image: url("fjell.jpg");

    background-size: cover;
    background-position: center;

    border-radius: 24px;

    position: relative;

    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.25);

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    color: white;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

.hero-date {
    font-size: 1.4rem;
    letter-spacing: 2px;
}

section {
background: white;
border: 1px solid var(--stone);
}

.game-section {
    text-align: center;
}

.game-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.game-controls button {
    padding: 10px 18px;
    border: 2px solid #17324d;
    border-radius: 8px;
    background: white;
    color: #17324d;
    font-size: 16px;
    cursor: pointer;
}

.game-controls button:hover,
.game-controls button.selected {
    background: #17324d;
    color: white;
}

#score {
    margin: 12px 0;
    font-size: 32px;
    font-weight: bold;
}

#gameCanvas {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 20px auto;
    border: 4px solid #d6b36a;
    border-radius: 12px;
    background: #17324d;
}
