:root {
    --main-color: cornsilk;
    --secondary-color: rgb(191, 255, 30);
    --background-color: black;
    --dark: rgb(41, 41, 41);
}
* {
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* general rules */
.die {
    color: white;
    font-size: large;
}
.partei {
    color: red;
}

/* sections */
body {
    color: var(--main-color);
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    width: 100vw;
}
#header {
    display: flex;
    font-family: Verdana;
    font-weight: bold;
    font-size: larger;
    height: 3.2em;
    border-bottom: dashed 1px;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    flex-direction: row;
    justify-content: space-around;
}
#header h1 {
    align-self: center;
}
#header a {
    text-decoration-line: none;
    color: var(--secondary-color);
}
h2 {
    align-items: center;
    display: flex;
}
#header h2 a {
    display: flex;
    flex-direction: row;
}
main {
    width: 75ch;
    color: var(--main-color);
    align-self: center;
    padding: 0.5rem;
}
div #fragen {
    display: flex;
    min-height: fit-content;
    align-self: baseline;
}
.answerbutton {
    padding: 0.3rem;
    color: var(--main-color);
    background-color: var(--background-color);
    margin: 0.2rem;
    border: 0px;
    box-shadow: inset 0 0 0 0.05rem var(--main-color);
    border-radius: 0.5em;
}
.answerbutton:hover{
    color: var(--secondary-color);
    box-shadow: inset 0 0 0 0.06rem var(--secondary-color);
    background-color: var(--dark);
}
footer {
    display: flex;
    justify-content: space-between;
    width: 100vw;
    position: fixed;
    bottom: 0;
    padding: 1rem;
}
footer button {
    width: 8em;
    color: var(--main-color);
    background-color: black;
    border: 1px solid var(--main-color);
    border-radius: 0.5em;
    padding: 0.32em;
}
footer button:hover {
    background-color: var(--dark);
    transition: all 100ms;
}
footer button:active {
    padding: 0.29em;
    color: var(--secondary-color);
    transition: all 100ms;
}
/* ---------- MEDIA QUERIES -------- */

@media screen and (max-width: 916px) {
    #header {
        margin: 0.4em;
    }
    h2 {
        align-items: baseline;
    }
    main {
        width: 95vw;
        padding: 2.5vw 05rem 05rem 2.5vh;
    }
}
