
.game-wrapper {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 15px;
}

.game-logo {
    text-align: center;
    margin: 35px 0 31px 0;
}

.game-logo img {
    width: 182px;
}

.game-note {
    text-align: center;
    font-size: 20px;
    font-weight: 300;
    margin: 0 0 20px;
    padding: 15px 5px;
}

.game-block {
    width: 250px;
    margin: 0 auto 16px;
    position: relative;
    /* overflow: hidden; */
}

.game-block-inner {
    height: 306px;
    position: relative;
    /* overflow: hidden; */
    transition: .5s;
}

.game-block-content {
    position: absolute;
    display: none;
}

.word {
    transition: transform 0.4s ease-in-out;
}

.game-block-1 .words {
    position: relative;
}


.game-block-1 .words-content {
    text-align: center;
}

.game-block-1 .words .word {
    /* display: flex;
    justify-content: center;
    flex-wrap: wrap; */
    display: inline-block;
    margin: 0;
    /* overflow: hidden; */
}

.game-block-1 .words .word .letter {
    cursor: pointer;
    float: left;
    width: 46px;
    height: 46px;
    font-size: 30px;
    font-weight: 700;
    line-height: 46px;
    text-transform: uppercase;
    background-color: var(--lighter-background);
    text-align: center;
    margin: 0 2px;
    transition: background-color 0.27s;
    -webkit-tap-highlight-color: transparent;
}

.game-block-1 .words .word .letter.active {
    border: 2px solid #fff;
}

.game-block-1 .words .word .letter.success {
    background-color: #20ad20;
}

.game-block-1 .words .word.failure .letter {
    border: 2px solid #ff4646;
}

.game-block-1 .words .word .letter.empty {
    background-color: #444c50;
}

.game-block-1 .words .word .letter.exists {
    background-color: #ad7720;
}

.game-block-2 {
    width: 340px;
    height: 217px;
}

.game-block-2 .alphabet {
    text-align: center;
}

.game-block-2 .alphabet .alphabet-letters {
    display: inline-block;
    overflow: hidden;
}

.game-block-2 .alphabet .alphabet-letters div {
    cursor: pointer;
    float: left;
    width: 30px;
    height: 40px;
    font-size: 19px;
    line-height: 40px;
    border-radius: 4px;
    background-color: var(--lighter-background);
    text-align: center;
    text-transform: uppercase;
    margin: 2px;
    transition: all 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

@media (hover: hover) {
    .game-block-2 .alphabet .alphabet-letters div:hover {
        background-color: #1f48a5;
    }
}

.game-block-2 .alphabet .alphabet-letters div:active {
    background-color: #4e0fba;
}

.game-block-2 .alphabet .alphabet-letters div.success {
    background-color: #20ad20;
}

.game-block-2 .alphabet .alphabet-letters div.empty {
    background-color: #444c50;
}

.game-block-2 .alphabet .alphabet-letters div.exists {
    background-color: #ad7720;
}

.game-block-2 .alphabet .alphabet-letters div.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.game-block-2 .alphabet .clear-button img {
    width: 16px;
}

.game-block-2 .alphabet .alphabet-content {
    margin: 0 0 10px;
}

.game-block-2 .alphabet .submit-word,
.game-block-2 .alphabet .try-again,
.game-block-2 .alphabet .play-again  {
    display: inline-block;
    padding: 8px 56px;
    border-radius: 7px;
    cursor: pointer;
    transition: .5s;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.game-block-2 .alphabet .submit-word {
    background: #19409b;
}

@media (hover: hover) {
    .game-block-2 .alphabet .submit-word:hover {
        background: #1f48a8;
    }
}

.game-block-2 .alphabet .submit-word.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.game-block-2 .alphabet .play-again.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.game-block-2 .alphabet .try-again {
    display: none;
    background: #bc2e2e;
}

@media (hover: hover) {
    .game-block-2 .alphabet .try-again:hover {
        background: #c73636;
    }
}

.game-block-2 .alphabet .play-again {
    display: none;
    background: #229a27;
}

@media (hover: hover) {
    .game-block-2 .alphabet .play-again:hover {
        background: #2aaa2f;
    }
}

.game-block .show-meaning {
    cursor: pointer;
    width: 100%;
    height: 42px;
    font-size: 15px;
    line-height: 42px;
    background-color: #4e0fba;
    border-radius: 30px;
    transition: all 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    font-weight: 400;
    text-align: center;
    display: none;
}

.game-block .show-meaning.opened {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.game-block .show-meaning img {
    width: 16px;
    vertical-align: middle;
    margin-left: 7px;
}

.game-block .show-meaning.opened img {
    transform: rotate(180deg);
}

@media (hover: hover) {
    .game-block .show-meaning:hover {
        background-color: #5514c6;
    }
}

.game-block .meaning {
    display: none;
    padding: 15px 10px;
    border-left: 1px solid #6d0cff;
    border-right: 1px solid #6d0cff;
    border-bottom: 1px solid #6d0cff;
    font-size: 15px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.game-block .meaning .definition {
    margin-bottom: 10px;
    margin-bottom: 15px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 13px;
    border-bottom: 1px solid #6d0cff;
}

.game-block .meaning .definition:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.game-block-3 {
    margin-bottom: 0;
}

.game-block-3 .game-block-inner {
    height: auto;
}

.game-block-3 .game-block-inner .game-block-content {
    position: relative;
}

.showing-the-word {
    text-align: center;
    margin: 0 0 24px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 21px;
    padding: 5px;
    background-color: var(--darker-background);
    display: none;
}


@media (max-width: 479px) {
    .game-logo {
        margin: 21px 0 17px 0;
    }
}