* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #121212;
    color: #fff;
    font-family: 'Arial';
}

header {
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 1024px;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.points {
    display: flex;
    align-items: center;
}

.points div {
    display: flex;
}

.trophy img {
    width: 20px;
    margin-right: 10px;
}

.personal {
    color: #858383;
    margin-right: 5px;
}

.header-title {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.header-title div {
    display: flex;
    flex-direction: column;
}

.header-title div h1 {
    font-size: 23px;
}

.header-title div .test-desc {
    font-size: 12px;
    color: #858383;
}

.keyboard img {
    width: 40px;
    margin-right: 10px;
}

/* TEST */
.test {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}

.test-area {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.perfomance {
    display: flex;
}

.title-perform {
    margin-right: 10px;
    color: #89888b;
}

.num {
    font-weight: bold;
}

.bar {
    background-color: #2c2c2c;
    margin-left: 20px;
    margin-right: 20px;
    width: 1px;
    height: 20px;
}

.perfomances {
    display: flex;
}

.accuracy {
    color: #b15764;
}

.time {
    color: #dbca8a;
}

.easy {
    display: inline-block;
    border: 1px solid #4b4a4d;
    padding: 7px;
    border-radius: 8px;
    cursor: pointer;
}

.medium {
    display: inline-block;
    border: 1px solid #4b4a4d;
    padding: 7px;
    border-radius: 8px;
    cursor: pointer;
}

.hard {
    display: inline-block;
    border: 1px solid #4b4a4d;
    padding: 7px;
    border-radius: 8px;
    cursor: pointer;
}

.medium, .easy {
    margin-right: 5px;
}

.right-side {
    display: flex;
    align-items: center;
}

.difficulty {
    display: flex;
    align-items: center;
}

.difficulty-title, .mode-title {
    margin-right: 15px;
    color: #525153;
}

.mode {
    display: flex;
    align-items: center;
}

.timed {
    display: inline-block;
    border: 1px solid #4b4a4d;
    padding: 7px;
    border-radius: 8px;
    margin-right: 5px;
    cursor: pointer;
}

.passage {
    display: inline-block;
    border: 1px solid #4b4a4d;
    padding: 7px;
    border-radius: 8px;
    cursor: pointer;
}

.line {
    margin-top: 15px;
    background-color: #1f1f1f;
    height: 2px;
    width: 100%;
    max-width: 1024px;
}

.active {
    border: 1px solid #0062ae;
    color: #0062ae;
}

/* TEST */

.type {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.type-area {
    margin-top: 20px;
    font-size: 30px;
}

.start-button {
    background-color: #177cfc;
    border: 0;
    color: #fff;
    font-size: 18px;
    padding: 10px;
    border-radius: 10px;
}

.desc-type {
    font-size: 18px;
    margin-top: 20px;
}

.modal {
    text-align: center;
    position: fixed;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.start-button {
    cursor: pointer;
}

.start-button:hover {
    background-color: #1770e3;
}

.type-area.blur {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

#mode {
    background-color: #121212;
    color: #fff;
    padding: 5px 25px;
    border-radius: 8px;
    text-align: center;
    margin-right: 5px;
}

#time {
    background-color: #121212;
    color: #fff;
    padding: 5px 25px;
    border-radius: 8px;
    text-align: center;
}

.difficulty-mobile {
    margin-top: 20px;
}

.difficulty-mobile {
    display: none;
}

.text {
    margin-top: 20px;
    font-size: 25px;
}

#typezone {
    margin-top: 20px;
    width: 100%;
    height: 200px;
    font-size: 25px;
    display: none;
}

.correct {
    color: green;
}

.incorrect {
    color: red;
    text-decoration: underline;
}

.type .config {
    display: none;
    font-weight: bold;
    margin-top: 20px;
    font-size: 50px;
    color: rgb(149, 61, 61);
}


/* CELULAR */

@media (max-width: 450px) {
    .speed-title h1, .speed-title .test-desc {
        display: none;
    }

    .mode {
        display: none;
    }

    .right-side .bar {
        display: none;
    }

    .difficulty {
        display: none;
    }
    .test-area {
        flex-direction: column;
    }

    .bar {
        display: none;
    }

    .perfomance {
        flex-direction: column;
    }

    .perfomances {
        gap: 40px;
    }

    .type-area {
        padding: 0 20px;
    }

    header {
        padding: 0 20px;
    }

    .header-title {
        margin-top: 0;
    }
    
    .keyboard {
        padding-top: 10px;
    }

    .difficulty-mobile {
        display: block;
    }

    .type {
        padding: 0 20px;
    }

    .text {
        font-size: 20px;
    }

}

