/* ============================================================== */
/* ====================== 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%);
}
/* ========== Logic ============= */

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

#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;
    margin-top: 20px;
}

.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;
}
.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;
    padding-bottom:30px;
    /* float: left; */
}


#container {
    width: 100%;
    height: auto;
    min-width: 650px;
    position: relative;
    margin-left: 50%;
    transform: translateX(-50%);
}

.box {margin-top: 20px;}

.me {
    position: relative;
    background-size: 600px 600px;
    background-repeat: no-repeat;
    display: inline-block;
    margin: 2px;
    margin-top: -2px;
    transition: 0.2s;
}
.full {
    height: 600px;
    width: 600px;
}

.me_0 {
    height: 200px;
    width: 200px;
    background-position: -0px -0px;
}
.me_1 {
    height: 200px;
    width: 200px;
    background-position: -200px -0px;
}
.me_2 {
    height: 200px;
    width: 200px;
    background-position: -400px -0px;
}
.me_3 {
    height: 200px;
    width: 200px;
    background-position: -0px -200px;
}
.me_4 {
    height: 200px;
    width: 200px;
    background-position: -200px -200px;
}
.me_5 {
    height: 200px;
    width: 200px;
    background-position: -400px -200px;
}
.me_6 {
    height: 200px;
    width: 200px;
    background-position: -0px -400px;
}
.me_7 {
    height: 200px;
    width: 200px;
    background-position: -200px -400px;
}
.me_8 {
    height: 200px;
    width: 200px;
    background-position: -400px -400px;
}


.prevent_click {
    pointer-events: none;
}
.correct {
    border-radius: 0px;
    box-shadow: 0 0 0 transparent, 0 0 0 transparent;
    animation: corect 0.5s ease;
    animation-delay: 0.2s;
}
@keyframes corect {
    0% {
        transform: scale(1);
        border-radius: 10px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
   }
    50% {
        transform: scale(1.25);
        border-radius: 5px;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
   }
    100% {
        transform: scale(1);
        border-radius: 0px;
        box-shadow: 0 0 0 transparent, 0 0 0 transparent;
   }
}
.pre_img {
    margin-top: 10px;
    width: 100%;
    /* position: absolute; */
    /* left: 100px; */
}
.pre_img li {
    display: inline-block;
    list-style: none;
}
.pre_img li img {
    width: 100%;
    max-width: 100px;
    height: auto;
    position: relative;
    cursor: pointer;
}
.cover {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.38);
    width: 100%;
    height: 100%;
    z-index: 9999;
}


.gameplay_box {
    background-color: #2e1362;
    width: 100%;
    max-width: 650px;
    float: left;
    margin: 20px auto 0px auto;
    display: block;
    border-radius: 20px;
    position: relative;
    text-align: center;
    padding: 20px 10px;
    box-sizing: border-box;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

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

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

@media only screen and (max-width: 768px) {
    .game_box img {min-width: 650px;}

    /* GAMEPLAY */
    .gameplay_box {width: 440px;}

    #container {min-width: 420px;}
    .gameplay .btn {max-width: 340px;}

    .me {
        background-size: 400px 400px;
    }
    .full {
        height: 400px;
        width: 400px;
    }
    
    .me_0 {
        height: 133.33px;
        width: 133.33px;
        background-position: -0px -0px;
    }
    .me_1 {
        height: 133.33px;
        width: 133.33px;
        background-position: -133.33px -0px;
    }
    .me_2 {
        height: 133.33px;
        width: 133.33px;
        background-position: -266.66px -0px;
    }
    .me_3 {
        height: 133.33px;
        width: 133.33px;
        background-position: -0px -133.33px;
    }
    .me_4 {
        height: 133.33px;
        width: 133.33px;
        background-position: -133.33px -133.33px;
    }
    .me_5 {
        height: 133.33px;
        width: 133.33px;
        background-position: -266.66px -133.33px;
    }
    .me_6 {
        height: 133.33px;
        width: 133.33px;
        background-position: -0px -266.66px;
    }
    .me_7 {
        height: 133.33px;
        width: 133.33px;
        background-position: -133.33px -266.66px;
    }
    .me_8 {
        height: 133.33px;
        width: 133.33px;
        background-position: -266.66px -266.66px;
    }
    /* GAMEPLAY */
}

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


@media only screen and (max-width: 480px) {
   /* GAMEPLAY */
   .gameplay_box {width: 340px;}

   #container {min-width: 320px;}
   .gameplay .btn {max-width: 240px; height: 60px;}

   .me {
       background-size: 300px 300px;
   }
   .full {
       height: 300px;
       width: 300px;
   }
   
   .me_0 {
       height: 100px;
       width: 100px;
       background-position: -0px -0px;
   }
   .me_1 {
       height: 100px;
       width: 100px;
       background-position: -100px -0px;
   }
   .me_2 {
       height: 100px;
       width: 100px;
       background-position: -200px -0px;
   }
   .me_3 {
       height: 100px;
       width: 100px;
       background-position: -0px -100px;
   }
   .me_4 {
       height: 100px;
       width: 100px;
       background-position: -100px -100px;
   }
   .me_5 {
       height: 100px;
       width: 100px;
       background-position: -200px -100px;
   }
   .me_6 {
       height: 100px;
       width: 100px;
       background-position: -0px -200px;
   }
   .me_7 {
       height: 100px;
       width: 100px;
       background-position: -100px -200px;
   }
   .me_8 {
       height: 100px;
       width: 100px;
       background-position: -200px -200px;
   }
   /* GAMEPLAY */
}

@media only screen and (max-width: 360px)  {
    
}
/* ================= End Memory NEW ============== */




