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

body {
    font-family: 'Roboto Mono', monospace;
    background-color: #111;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    margin: 30px;
}

.game {
    margin: 30px;
    line-height: 35px;
    width: 40%;
    color: gray;
    position: relative;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.cursor {
    width: 2px;
    height: 1.2rem;
    background: white;
    position: fixed;
    top: 72px;
    left: 27px;
    animation: blink .7s infinite;
}

.singleWord {
    display: inline-block;
}

.correct {
    color: #fff;
}

.incorrect {
    color: #f55;
}

.info {
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;

}

.info button {
    height: 40px;
    width: 100px;
    border-radius: 6px;
    background-color: rgb(221, 0, 0);
    background-color: orchid;
    border: none;
    cursor: pointer;
}

.info button:hover {
    background-color: rgb(201, 96, 197);
}

.timer {
    margin: 20px;
    font-size: 20px;
}

.result {
    margin: 20px;
    font-size: 20px;
    color: orchid;
    border: 2px solid orchid;
    border-radius: 6px;
    padding: 10px;
}

.rules {
    margin-top: 200px;
    margin-bottom: 20px;
    color: gray;
    opacity: 0.7;
}

.rules h3 {
    margin-bottom: 30px;
}