:root {
    background-color: #ecf5ff;
    font-size:        62.5%; /* 10px */
}

* {
    box-sizing:  border-box;
    font-family: Arial, Helvetica, sans-serif;
    margin:      0;
    padding:     0;
    color:       #333333;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
}


h1 {
    font-size:     5.4rem;
    color:         #56a5eb;
    margin-bottom: 5rem;
}

h1 > span {
    font-size:   2.4rem;
    font-weight: 500;
}

h2 {
    font-size:     4.2rem;
    margin-bottom: 4rem;
    font-weight:   700;
}

h3 {
    font-size:   2.8rem;
    font-weight: 500;
}

/*/utils/*/

.container {
    justify-content: center;
    align-items:     center;
    width:           100vw;
    height:          100vh;
    display:         flex;
    max-width:       80rem;
    margin:          0 auto;
    padding:         0 1rem;
}

.container > * {
    width: 100%;
}

.flex-column {
    display:        flex;
    flex-direction: column;
}

.flex-center {
    justify-content: center;
    align-items:     center;
}

.justify-center {
    justify-content: center;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

/*/btns/*/

.btn {
    font-size:        1.8rem;
    padding:          1rem 0;
    width:            20rem;
    text-align:       center;
    border:           0.1rem solid #56a5eb;
    margin-bottom:    1rem;
    text-decoration:  none;
    color:            #56a5eb;
    background-color: white;
}

.btn:hover {
    cursor:     pointer;
    box-shadow: 0 0.4rem 1.4rem 0 lightblue;
    transform:  translateY(-0.1rem);
    transition: transform 150ms;
}

.btn[disabled]:hover {
    cursor:     not-allowed;
    box-shadow: none;
    transform:  none;
}


form {
    width:          100%;
    display:        flex;
    flex-direction: column;
    align-items:    center;
}

input[type=text] {
    margin-bottom: 1rem;
    width:         20rem;
    padding:       1.5rem;
    font-size:     1.8rem;
    border:        none;
    box-shadow:    0 0.1rem 1.4rem 0 #56a5eb82;
}

input::placeholder {
    color: #aaaaaa;
}

#highScoresList {
    list-style-type: none;
    padding-left:    0;
    margin-bottom:   4rem;
}

.high-score {
    font-size:     2.8rem;
    margin-bottom: 0.5rem;
}


.high-score:hover {
    transform: scale(1.025);
}


.choice-container {
    border:           0.1rem solid lightblue;
    margin-bottom:    0.5rem;
    background-color: white;
    display:          flex;
    width:            100%;
    font-size:        2rem;
}

.choice-container:hover {
    cursor:     pointer;
    box-shadow: 0 0.4rem 1.4rem 0 lightblue;
    transform:  translateY(-0.1rem);
    transition: transform 150ms;
}

.choice-prefix {
    padding:          1.5rem 2.5rem;
    background-color: #56a5eb;
    color:            #ffffff;
}

.choice-text {
    text-decoration: none;
    padding: 1.5rem;
    width:   100%;
}

.correct {
    background-color: #28a745;
}

.incorrect {
    background-color: #dc3545;
}

/* status bar */

.status {
    display:         flex;
    justify-content: space-between;
}

.status-bar__text {
    text-align: center;
    font-size:  2rem;
}

.status-bar__score {
    text-align: center;
}

.progress-bar {
    border:     0.3rem solid #56a5eb;
    margin-top: 1.5rem;
    width:      20rem;
    height:     4rem;
}

.progress-bar__full {
    background-color: #56a5eb;
    height:           3.4rem;
    width:            0;
}

.loader {
    animation:             spin 2s linear infinite;
    border:                1.6rem solid #ffffff;
    border-top:            1.6rem solid #56a5eb;
    width:                 12rem;
    height:                12rem;
    -webkit-border-radius: 50%;
    -moz-border-radius:    50%;
    border-radius:         50%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
