/* ============================================================== */
/* ====================== NEW GAME MODAL ======================== */
/* ============================================================== */

/* LOGIC */

html {
    font-family: "Quicksand", sans-serif;
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    height:100%;
}

body 
{
    width:100%;
    position: relative;
    float:left;
    padding:0;
    margin:0;
    background: rgb(102,55,151);
background: linear-gradient(356deg, rgba(102,55,151,1) 44%, rgba(56,29,98,1) 100%);
}
button {font-family: "Quicksand", sans-serif;}


/* ====================================================================== */
/* ============================== GAMEPLAY ============================== */
/* ====================================================================== */

.container 
{
    max-width:640px;
    width:100%;
    height:100%;
    position: relative;
    left:50%;
    transform:translateX(-50%);
    -webkit-transform:translateX(-50%);
    -moz-transform:translateX(-50%);
    -o-transform:translateX(-50%);
    padding-top: 10px;
}
/* ========== Logic ============= */

.gameplay_bg {
    width: 100%;
    height: 100vh;
    display: block;
    position: relative;
    top: 0;
    float: left;
    overflow: hidden;
}

#container > svg > path:nth-child(1) {
    stroke: rgba(255,255,255,0.2);
}


.gameplay_title_container {
    /* height: 160px; */
    width: 100%;
    display: flex;
    justify-content: center;
    
}

.gameplay_title {
    text-align: center;
    font-size: 25px;
    color: #ffffff;
    font-weight: bold;
    position: relative;
    float: left;
    width: 100%;
    /* display: flex;
    justify-content: center;
    align-items: center; */
}

.gameplay_title p
{
    font-weight: 400;
    /* white-space: pre; */
}
.gameplay_title h3
{
    display: block;
    color:#e288d3;
    font-size:38px;
    margin:0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.gameplay_title h3::after
{
    content:'';
    color:#e288d3;
    border-bottom:1px solid #e288d3;
    position: relative;
    width: 140px;
    display: block;
    padding-top: 20px;
}

/* ================= End Logic ============== */

/*timer*/
.game-timer {
    -ms-flex: 0 0 10%;
    flex: 0 0 10%;
    /* max-width: 10%; */
    text-align: center;
    -ms-flex-align: center;
    align-items: center;
    top: 10px;
    margin:0 auto;
    /* background: #1a0a34;
    padding: 15px;
    border-radius: 12px; */
    width:130px;
}

.timer-container {
    display: flex;
    align-items: center;
    color: white;
    font-size: 24px;
    background: #1a0a34;
    padding: 15px;
    border-radius: 12px;
    width: 100px;
}
.icon {
    margin-right: 10px;
    position: relative;
    float: left;
    width: 25px;
    height: 25px;
}
.icon img {width:25px;}
#timer {width: 67px;}


.gameplay_btn.memory:focus,
.gameplay_btn.memory:active {
    /* border: 4px solid #F24973; */
    outline: none;
}

.gameplay_game_box_list {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin: -5px auto 0px auto;
    position: relative;
    text-align: center;
    
}



.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 500px;
    margin: 0 auto;
}
.cell {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    font-size: 24px;
    font-weight: bold;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    cursor: pointer;
    border: 4px solid transparent;
}
.correct {
    border-color: green;
}
.wrong {
    border-color: red;
}

@media only screen and (min-width: 1700px)
{
    html {height:100%;}
    .gameplay_bg {height:100%;}
}

@media only screen and (max-width: 1699px) {
    html {height:auto;}

    .gameplay_bg {height:100%; background-size: 100%; padding-bottom: 0px;min-height: 100vh;}

    .gameplay_list_items p {font-size: 20px;}

    .gameplay_list_button {
        width: 70px;
        height: 70px;
        font-size: 20px;
        border-radius:50%;
        margin-top: 25px;
    }

}

@media only screen and (max-width: 540px) {
    .container {width:80%;}
    .cell
    {
        width: 100%;
        height: 23vw;
    }
}


@media only screen and (max-width: 480px) {
   
}

@media only screen and (max-width: 360px)  {
   
}





