* {
    color: #ffffff;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande',
        'Lucida Sans', Arial, sans-serif;
}

body {
    background-color: #b65b71;
}

h2 {
    font-size: 15px;
}

.game-container {
    height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.title-container {
    text-align: center;
    width: 400px;
    border-bottom: solid 1px #9c4e61;
}

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

.key-container {
    width: 510px;
    display: flex;
    flex-wrap: wrap;
}

.key-container button {
    width: 43px;
    height: 58px;
    border-radius: 4px;
    border: none;
    background-color: #9c4e61;
    margin: 4px;
}

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

.key-container button:nth-child(20),
.key-container button:nth-child(28) {
    width: 68px;
}

.tile-container div {
    display: flex;
}

.tile-container .tile {
    width: 62px;
    height: 62px;
    border: 2px solid#ad848d;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2px;
}

.message-container {
    height: 30px;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2px;
    animation: 0.5s appear;
}

.message-container p {
    background-color: #9c4e61;
    border-radius: 10px;
    padding: 10px;
    margin: 3px;
    margin-bottom: 15px;
}

.message-container button, a{
    background-color: #9c4e61;
    border-color: transparent;
    border-radius: 10px;
    padding: 10px;
    margin: 3px;
    margin-bottom: 15px;
}

.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: #b59f3a !important;
    border: none !important;
}

.green-overlay {
    background-color: #538d4e !important;
    border: none !important;
}

#overlay-container {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    background: #9c4e61;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    z-index: 100;
}

.popup-container img {
    display: none;
    position: absolute;
    bottom: 15vmax, 10vmin;
    right: 0%;
    align-content: right;
    background: transparent;
    width: auto;
    height: 40vh;
    z-index: 200;
    animation: 0.5s appear;
}

@keyframes appear {
    0% {
        opacity: 0%;
    }

    50% {
        opacity: 50%;
    }

    100% {
        opacity: 100%;
    }
}