/* * {
    color: #fff;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 30px;
} */
* {
    color: #fff;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    /*font-size: 14px;*/
    justify-content: center;
    text-align: center;
}

body {
    background-color: #121213;
    text-align: center;
}
h1 {
    font-size: 40px;
}
h4 {
    font-size: 14px;
}
.para {
    font-size: 12px;
}

.game-container {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}


.title-container {
    text-align: center;
    width: 510px;
    border-bottom: solid 1px #3a3a3c;
    margin-bottom: 10px;
    font-size: 20px;
    text-align: center;
}

.tile-container {
    width: 330px;
    margin-bottom: 30px;
    text-align: center;
}

/* .key-container {
    width: 510px;
    display: flex;
    flex-wrap: wrap;
} */
.key-container {
    width: 310px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    cursor: pointer;
    font-size: 30px;
}

/* .key-container button {
    width: 43px;
    height: 58px;
    border-radius: 5px;
    border: none;
    background-color: #818384;
    margin: 4px;
} */
.key-container button {
    width: 33px;
    height: 40px;
    border-radius: 5px;
    border: none;
    background-color: #818384;
    margin: 2px;
}

/* .key-container button:nth-child(11) {
    margin-left: 30px;
} */
/* .key-container button:nth-child(11) {
    margin-left: 15px;
} */

/* .key-container button:nth-child(20),
.key-container button:nth-child(28) {
    width: 68px;
    font-size: 20px;
} */
/* .key-container button:nth-child(20),
.key-container button:nth-child(28) {
    width: 48px;
    font-size: 15px;
} */
.key-container button:nth-child(27),
.key-container button:nth-child(28) {
    width: 48px;
    font-size: 16px;
}

.tile-container div {
    display: flex;
    cursor: pointer;
}

/* .tile-container .tile {
    width: 62px;
    height: 62px;
    border: 2px solid #3a3a3c;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2px;
} */
.tile-container .tile {
    width: 42px;
    height: 42px;
    border: 2px solid #3a3a3c;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 2px;
    cursor: pointer;
}

.message-container {
    height: 25px;
}

.message-container p {
    background-color: crimson;
    border-radius: 5px;
    padding: 10px;
    margin: 0;
    font-size: 18px;
}

.tile.flip {
    animation: 0.5s linear flipping;
}

@keyframes flipping {
    0% {
        transform: rotateX(0deg);
    }

    50% {
        transform: rotateX(90deg);
    }

    100% {
        transform: rotateX(0deg);
    }
}

.grey-overlay {
    background-color: #3a3a3c !important;
    border: none !important;
}

.yellow-overlay {
    background-color: #d6700a !important;
    border: none !important;
}

.green-overlay {
    background-color: #2cf01a !important;
    border: none !important;
}