body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

#pageContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;

    background-image: url('/gfx/raelianTransparent0038b8_1382x1508.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 500px;
    overflow: auto;
}

#game {
    width: 100%;
    max-width: 900px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1em;
    background: transparent;
    opacity: 0.95;
}

#hamburgerMenu {
    display: none;
    position: absolute;
    top: 2.5rem;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    z-index: 1001;
}

#hamburgerMenu button,
#valgtSprakLabel,
#languageSelector option {
    cursor: pointer;
    padding: 0.5rem 1rem;
}

#fullscreenCornerToggle {
    position: fixed;
    top: 0;
    right: 0;
    padding: 0.5em;
    padding-top: 0.3rem;
    z-index: 1000;
    font-size: 1.8rem;
    cursor: pointer;
    display: block;
}

#fullscreenCornerToggle:hover {
    color: #007bff;
}

.previous-round {
    opacity: 0.5;
    filter: grayscale(30%);
    transition: opacity 0.5s ease, filter 0.5s ease;
}

.previous-round:hover {
    opacity: 1 !important;
    filter: grayscale(0%);
}

.active-round {
    opacity: 1 !important;
    filter: none;
    transition: all 0.4s ease;
    margin-bottom: 7.5em !important;
}

#difficulty-badge,
.question-info {
    display: none;
}

.round {
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 6px;
}

h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
}

h2 {
    font-size: clamp(1.3rem, 5vw, 2rem);
    margin-bottom: 1rem;
}

button {
    display: block;
    margin: 0.5rem 0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

button[type="submit"] {
    float: right;
}

.accusation {
    margin-bottom: 0.5rem;
    font-size: x-large;
    text-align: center;
}

.accusation {
    display: inline-block;
    /* max-width: 28em; */
    /* ikke bredere enn containeren */
    width: fit-content;
    /* tilpass til tekstens faktiske bredde */
    text-align: center;
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
    /* tillater myke orddelinger på støttede språk */
    line-height: 1.5;
}

.accusation em {
    font-weight: bold;
    color: #d9534f;
}

.answer-block {
    margin-top: 0.5rem;
    opacity: 1;
}

.answer-button {
    cursor: help;
}


.prompt {
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
    text-align: center;
}

.round .answer-container {
    display: flex;
    flex-direction: row wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 0.5rem;
}

.score {
    font-size: 1.2rem;
    color: #444;
    margin-top: 0.3rem;
}

.score-edit,
input[type="radio"] {
    cursor: pointer;
}

.interpretation,
.tactic,
.accusation {
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

.next-button-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.report-answer-button {
    opacity: 0.1;
    cursor: pointer;
}

.report-answer-button:hover {
    opacity: 0.8;
    background-color: #e68900;
    color: red !important;
}

.small {
    font-size: 0.8em;
    color: #666;
}

.smaller {
    font-size: 0.9em;
    color: #888;
}

#report-submit {
    float: right;
    cursor: pointer;
}