* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto Mono', monospace;
}

body {
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
}

.container {
    width: 80vmin;
}

.text-container {
    padding: 1.5rem;
    background-color: #eaeaea;
    border-radius: 10px;
}

.bar {
    display: flex;
    justify-content: space-between;
    bottom: 0;
}

.stats {
    margin-bottom: 1rem
}


#quote {
    margin-bottom: 1rem;
    line-height: 1.75;
}

textarea {
    /* disable textarea resizing */
    resize: none;
    width: 100%;
    border-radius: 5px;
    padding: 10px 5px;
    font-size: 16px;
    border: none;
    background: white;
}

button {
    /* relative positioning */
    float: right;
    margin-top: 20px;
    background-color: #d4d4d4;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-size: 18px;
}

.result {
    display: none;
}

.result h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
}

.wrapper {
    display: flex;
    justify-content: space-around;
}

.wrapper span {
    font-weight: 600;
}

.success {
    color: #44b267;
}

.fail {
    color: #e81c4e;
}

.next-wrapper, .stop-wrapper {
    display: flex;
    justify-content: center;
}

footer, header {
    display: flex;
    justify-content: center;
    margin: 1.5rem;
}

footer a {
    color: black;
    text-decoration: none; /* no underline */
  }

.selected-len {
    font-weight: 600;
}