#game_area {
    width: 80%;
    min-height: 100%;
    margin: 10vh 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#done {
    margin-top: 1%;
}

.task_text {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.task_text>div {
    padding-right: 60px;
}

#memory_container {
    width: 70%;
    min-height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.card {
    height: 200px;
    width: 200px;
    position: relative;
    margin: 2px;
    padding-bottom: 2em;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #A0CAD9;
    font-size: 0.9em;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-image: url("img/memory_back.png");
    background-size: cover;
    background-position: center;
}

.onlyimage {
    width: 100%;
    height: 100%;
    display: none;
    border-radius: 8px;

    background-size: cover;
    background-origin: border-box;
    background-position: center;
}

.flipped {
    background-color: #fff;
}

.flipped>.onlyimage,
.solved>.onlyimage {
    display: block;
}

.solved {
    background-color: #fff;
    border: 2px solid #8FB04F;
}

.not_pair {
    border: 2px solid red;
}

/* Responsive */
@media screen and (max-width:1470px) {
    .card {
        height: 180px;
        width: 180px;
    }
}

@media screen and (max-width:1330px) {
    .card {
        height: 160px;
        width: 160px;
    }
}

@media screen and (max-width:1100px) {
    .card {
        height: 140px;
        width: 140px;
    }
}

@media screen and (max-width:1000px) {
    .card {
        height: 120px;
        width: 120px;
    }
}

@media screen and (max-height: 1250px) {
    .card {
        height: 140px;
        width: 140px;
    }
}

@media screen and (max-height: 700px) {
    .card {
        height: 120px;
        width: 120px;
    }
}