/* General */
body {
    margin: 0;
    padding: 0;
    font-family: "sans-serif";
}

button {
    padding: 0.5rem;
    border-radius: 0.1rem;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}

/* Header */
#header {
    display: flex;
    flex-direction: row;
    align-items: center;

    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;

    background: #3c9cfc;
    color: white;
}

#header-title {
    display: flex;
    flex-direction: column;
}

#header-title > h1 {
    padding: 0;
    margin: 0;
}

#header-title > h2 {
    padding: 0;
    margin: 0;
}

/* Footer */
#footer {
    display: flex;
    flex-direction: row;
    padding: 1rem;
}

#footer a {
    display: block;
    margin-left: auto;
}

/* Content */
#content {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Overview */
#overview {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#overview.overview-hidden {
    display: none;
}

#overview p {
    font-size: 1.2rem;
}

#sub-overview {
    display: flex;
    flex-direction: row;
}


@media(max-width: 800px) {
    #sub-overview {
        flex-direction: column;;
    }
}

.sub-overview-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0.5;
    padding-left: 1rem;
    padding-right: 1rem;
}

#overview-toggle {
    display: block;
    margin-left: auto;
}

#overview-toggle #overview-toggle-word-show {
    display: none;
}

#overview-toggle.overview-hidden #overview-toggle-word-show {
    display: inline-block !important;
}

#overview-toggle.overview-hidden #overview-toggle-word-hide {
    display: none !important;
}

/* Errors */
.error-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1rem;
    background: #ff6a6a;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.error-banner button {
    margin-left: auto;
    background: none;
    color: white;
    font-weight: bold;
}

/* Questions */
#questions-section {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

#questions-input-container {
    display: flex;
    flex-direction: column;
}

#questions-input-container label {
    font-size: 1.2rem;
}

#questions-input-container textarea {
    min-height: 5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

#loaded-questions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.question {
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 0.1rem solid black;
}

.reveal-button {
    margin-bottom: 1rem;
}

.question-choice {
    padding: 0.1rem;
    padding-left: 0.5rem;
}

.correct-choice {
    background: green;
    color: white;
}
