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

/* LOGIC */

html {
    font-family: "Quicksand", sans-serif;
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 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;
    min-height: 100vh;
float: left;
}

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


.gameplay_title_container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.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:100px;
}

.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;}

/* ================= Memory 1b ============== */

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

/* ================= End Memory 1b ============== */


/* ================= Memory 1a ============== */

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

.game_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.item {
    max-width: 200px;
    max-height: 200px;
    width: 62%;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    cursor: pointer;
    border: 5px solid white;
    margin: auto;
    padding: 7% 0;
}

.correct {
    transition: 0.2s;
    border-color: green;
}
.wrong {
    transition: 0.2s;
    border-color: red;
}
.game_container .item img {
    max-width: 150px;
    max-height: 150px;
    width:100%;
    height:100%;
}

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

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

    .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) {
    .memory4 .img_box, 
    .memory4 .card, 
    .memory4 .flip_face {
        max-width: 60px;
        height: 60px;
    }

    .memory4 .img_box img, 
    .memory4 .flip_face img {
        max-width: 35px;
    }

    .container {width:80%;}
}


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


}

@media only screen and (max-width: 360px)  {
    .memory4 .img_box, 
    .memory4 .card, 
    .memory4 .flip_face {
        max-width: 55px;
        height: 55px;
        margin: 5px;
    }

   
    .memory4 .img_box img, 
    .memory4 .flip_face img {
        max-width: 30px;
    }

   
    
}
/* ================= End Memory NEW ============== */




