* {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans Display', sans-serif;
}

body {
    background-color: #151515;
    transition: background-color 0.3s ease;
}

.container {
    width: 40%;
    margin: 30px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 768px) {
    .container {
        width: auto;
        margin: 30px;
    }
}

.page {
    color: white;
    min-height: 100%;
    transition: opacity 0.3s ease;
}

.hidden {
    opacity: 0;
    display: none;
}

/* Login */
#login h1 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

#login .error {
    color: red;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    opacity: 0;
}

#login .form {
    color: #F9FAFB;
    margin-bottom: 15px;
}

#login .form .form-element label {
    display: block;
}

#login .form .form-element input {
    width: 100%;
    padding: 15px;
    margin-top: 5px;
    color: white;

    border: 2px solid #252525;
    background-color: #202020;
    border-radius: 10px;

    transition: border-color 0.3s ease;

    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

#login .form .form-element input:focus {
    outline: none;
    border-color: #1E6091;
}

#login .form .form-element input.incorrect {
    border-color: red;
}

#login .form .form-element input.correct {
    border-color: #52B69A;
}

button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    margin-top: 20px;
    font-weight: 500;
    color: white;
    background: #52B69A;

    cursor: pointer;
    transition: background-color 0.3s ease;
    transition: opacity 0.3s ease;
}

button:active {
    background: #34A0A4;
}

button:disabled {
    background: #252525;
}

/* Dashboard */
#dashboard #dashboard-header {
    color: white;
    background: #252525;
    padding: 20px;
    font-weight: 500;
}

#dashboard #dashboard-uitleg {
    background: #252525;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    font-weight: 500;
    margin-top: 15px;
}

p {
    margin: 5px;
}

#leaderboard {
    margin-top: 20px;
    color: white;
    text-align: center;
}

#leaderboard h3 {
    margin-bottom: 20px;
}

.leaderboard-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: #252525;
    text-align: left;
    margin: 5px;
}

.leaderboard-i-info {
    display: flex;
}

.leaderboard-i-info > div:first-child {
    font-weight: 500;
    display:flex;
    justify-content:center;
    align-items:center;
    width: 44px;
}

.leaderboard-item > div:last-child {
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 22px;
}

.leaderboard-points {
    flex-direction: column;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 22px;
}

/* Quiz */
#quiz-title {
    opacity: .5;
    font-weight: 400;
}

#quiz-question-amount {
    opacity: .5;
    font-weight: 400;
    font-size: 0.8em;
}

#quiz-questions {
    display: flex;
    margin-top: 10px;
}

#quiz-questions hr {
    width: 100%;
    margin: 2px;
    opacity: .5;
}

#quiz-questions hr.current {
    opacity: 1;
}

#quiz-questions hr.incorrect {
    opacity: 1;
    border-color: red;
    background-color: red;
    color: red;
}

#quiz-questions hr.correct {
    opacity: 1;
    border-color: greenyellow;
    background-color: greenyellow;
    color: greenyellow;
}

#quiz-question {
    font-weight: 500;
    margin: 40px 0px;
}

#quiz #quiz-options button {
    margin-top: 0;
    margin-bottom: 15px;
    background-color: #181818;
    border: 1px solid #252525;

    transition: border-color 0.3s ease;
    transition: opacity 0.3s ease;
}

#quiz #quiz-options button.selected {
    background-color: #252525;
}

#quiz #quiz-options button.incorrect {
    border-color: red;
}

#quiz #quiz-options button.correct {
    border-color: greenyellow;
}

#finished-status {
    font-weight: 500;
}

.text-ok {
    color: greenyellow
}

.text-error {
    color: red;
}