html{
    display: flex;
}

body {
    background: #005d31;
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100vw;
    font: 1.6rem 'Mulish', 'Segoe UI', Tahoma, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    flex-grow: 1;
    color: #fff300;
}

#wrapper {
    width: 100%;
    padding:20px;
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    flex-grow: 1;
}

#wrapper>div {
    display: none;
}

#wrapper[page-mode="welcome"] #welcome {
    display: block;
}

#wrapper[page-mode="testing"] #testing {
    display: flex;
}

#wrapper[page-mode="summary"] #summary {
    display: block;
}

#wrapper[page-mode="create-user"] #create-user {
    display: block;
}

#wrapper[page-mode="select-user"] #select-user {
    display: flex;
}

div#testing {
    flex-direction: column;
    align-items: center;
}

div#select-user {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap:20px;
}

div#user-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#wrapper input, #wrapper textarea {
    text-align: center;
    padding: 10px 20px;
    width: 100%;
    border-radius: 1.5rem;
    border: 1px solid #005d31;
    font-size: 0.8em;
    font-family: inherit;
    outline: none;
}

#wrapper input.js-kioskboard-input {
    font-size: 1.7em;
}

.user {
    height: 5em;
    width: 5em;
    border-radius: 50%;
    background-color: yellow;
    color: #005d31;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    text-decoration: unset;
}

button {
    border: 1px solid #005d31;
    color: #005d31;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    display: flex;
    font-family: inherit;
    border-radius: 14rem;
    padding: 1.1rem 1.6rem;
}

@media (hover: hover) {
    button:hover {
        background-color: #fff300;
    }
}

div#testButtons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: space-between;
    width: 95%;
}

#testButtons button {
    font-size: 1rem;
}

p {
    color: #fff300;
}

h2 {
    margin-top: 0;
    color: #fff300;
    font-weight: 900;
    line-height: 1.2;
}

button svg {
    height: 20px;
    margin-left: 5px;
}

button svg path {
    fill: #005d31;
}

div#progress {
    background: #fff30080;
    border-radius: 10px;
    margin-top: 20px;
    width: 80%;
    font-size: 0.6em;
    text-align: center;
    position: relative;
    height: 25px;
}

div#indicator {
    height: 100%;
    background-color: #fff300;
    border-radius: inherit;
}

div#progress span {
    position: absolute;
    top: 0px;
    width: 100%;
    left: 0px;
    color: #005d31;
    font-weight: 700;
}

div#testResults {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #fff300;
}

div#matched {
    font-family: 'Material Icons';
    font-weight: 900;
}

.test-word[word-matched=false]:after {
    content: 'close';
    color: #da0000;
}

.test-word[word-matched=true]:after {
    content: 'check';
    color: #00d000;
}

div#dashboard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

a.test {
    width: 400px;
    justify-content: center;
    display: flex;
    border: 1px solid yellow;
    border-radius: 10px;
    color: yellow;
    text-decoration: unset;
    cursor: pointer;
    max-width: 100%;
}

div#test-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

div#form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

button#save-test {
    margin-top: 20px;
}