@import url(/css/graffik.de.minimal-responsive.css);

* {
    box-sizing: border-box;
}

body, html {
    background-color: black;
    margin: 0;
    padding: 0;
}

h2 {
    font-style: italic;
}

.story-game {
    background: white;
    margin: 0 auto;
    max-width: 60ch;
    min-height: 100vh;
    padding: 1rem 2rem 3rem;
}

.story-game__subtitle {
    margin-bottom: 1rem;
}

.story-game__controls {
    margin-bottom: 2rem;
}

.story-game__input {
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: inherit;
    margin-right: 10px;
    padding: 8px;
    width: 100px;
}

.story-game__label {
    margin-right: 1rem;
}

.story-game__button {
    background-color: black;
    border: none;
    border-radius: 0.4rem;
    color: white;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0.4rem 1.5rem;
    text-align: center;
    transition: background-color 0.2s;
}

.story-game__button:hover {
    background-color: #333;
}

.story-game__button--continue {
    margin-right: 1rem;
}

.story-game__entry {
    margin: 1rem 0;
}

.story-game__textarea {
    font-family: inherit;
    font-size: inherit;
    padding: 0.27rem;
    resize: vertical;
    width: 100%;
}

.story-game__area--hidden,
.story-game__end--hidden,
.story-game__controls--hidden {
    display: none;
}

.story-game__player-number {
    font-weight: bold;
}

.story-game__full-story {
    background-color: white;
    border: 1px solid #ddd;
    margin: 2rem 0;
    padding: 1rem;
}

.story-game__full-story h3 {
    margin-bottom: 0.5rem;
    margin-top: 0;
}

#storyContainer {
    margin: 1rem 0;
}