
* {
    box-sizing: border-box;
}
html, body {
    padding: 0;
    margin : 0;
    height : 100dvh;
    overflow:hidden;
}

.nt-wrapper {

    width: 100dvw;
    height: 100dvh;
    background-color: #000000;

    display: flex;
    justify-content: center;
    align-items: center;
}

.nt-progress-bar-cont {
    width: 45%;
    max-width: 250px;
    height : 7px;
    /* border : 1px solid red; */
    position: relative;
}

.nt-progress-bar {

    width: 100%;
    height : 100%;
    border : 1px solid #333;
    border-radius: 3px;
    overflow: hidden;
    position: absolute;
}

.nt-progress {
    width : 1%;
    height : 100%;
    background-color: white;
    position: absolute;
}

.nt-ad-container {

    width: auto;
    height : auto;
    overflow: hidden;
    background-color: #ffca2e;
    position: absolute;
    display: none;
}


.nt-ad-container * {
    width: 100%;
    height : 100%;
    position:absolute;
    pointer-events: none;
}

.border {
    border : 1px solid #000;
    z-index: 999;
    pointer-events: none;
}

.hs{
   /* background-color: #ff000090; */
   pointer-events: all;
   width:100%;
   left:50%;
   transform: translateX(-50%);
}
.hs-bgclick{
    bottom:0%;
    height: 30%;
}

.close-btn{
    display:none; /* comment this out on production */
    position: absolute;
    width:20px;
    height: 20px;
    top:5px;
    right:5px;
    color:#fff;
    border:1px #fff solid;
    background-color: #000000;
    border-radius: 10px;
    text-align: center;
    pointer-events: all;
    line-height: 17px;
}



.endcta,.endimg0,.endimg1,.endimg2,.endimg3,.endimg4,
.endimg5,.endimg6,.endtxt0,.endtxt1,.endtxt2,.endtxt3,
.endtxt4,.endtxt5,.endtxt6,.introcopy1,.introcopy2,.introcta,
.introimg,.logo,.scorebg
{ max-width: 100%; background-size: 100%; background-image: url('images/sprite.png'); }

.endcta {  background-position: 0 0.00%;  background-size: 100%;}
.endimg0 {  background-position: 0 5.00%;  background-size: 100%;}
.endimg1 {  background-position: 0 10.00%;  background-size: 100%;}
.endimg2 {  background-position: 0 15.00%;  background-size: 100%;}
.endimg3 {  background-position: 0 20.00%;  background-size: 100%;}
.endimg4 {  background-position: 0 25.00%;  background-size: 100%;}
.endimg5 {  background-position: 0 30.00%;  background-size: 100%;}
.endimg6 {  background-position: 0 35.00%;  background-size: 100%;}
.endtxt0 {  background-position: 0 40.00%;  background-size: 100%;}
.endtxt1 {  background-position: 0 45.00%;  background-size: 100%;}
.endtxt2 {  background-position: 0 50.00%;  background-size: 100%;}
.endtxt3 {  background-position: 0 55.00%;  background-size: 100%;}
.endtxt4 {  background-position: 0 60.00%;  background-size: 100%;}
.endtxt5 {  background-position: 0 65.00%;  background-size: 100%;}
.endtxt6 {  background-position: 0 70.00%;  background-size: 100%;}
.introcopy1 {  background-position: 0 75.00%;  background-size: 100%;}
.introcopy2 {  background-position: 0 80.00%;  background-size: 100%;}
.introcta {  background-position: 0 85.00%;  background-size: 100%;}
.introimg {  background-position: 0 90.00%;  background-size: 100%;}
.logo {  background-position: 0 95.00%;  background-size: 100%;}
.scorebg {  background-position: 0 100.00%;  background-size: 100%;}

.cardfront,.cardpair1,.cardpair2,.cardpair3,.cardpair4,.cardpair5,
.cardpair6
{ max-width: 100%; background-size: 100%; background-image: url('images/sprite2.png'); }

.cardfront {  background-position: 0 0.00%;  background-size: 100%;}
.cardpair1 {  background-position: 0 16.67%;  background-size: 100%;}
.cardpair2 {  background-position: 0 33.33%;  background-size: 100%;}
.cardpair3 {  background-position: 0 50.00%;  background-size: 100%;}
.cardpair4 {  background-position: 0 66.67%;  background-size: 100%;}
.cardpair5 {  background-position: 0 83.33%;  background-size: 100%;}
.cardpair6 {  background-position: 0 100.00%;  background-size: 100%;}


.timer{
    font-family: "Avenir-Black";
    font-size: 22px;
    color:#000;
    top: 4.3%;
    margin-left:8px;
}

.cardscontainer{
    left:50%;
    transform:translateX(-50%);
    bottom: 40%;
    height: auto;
    width:80%;
    display: grid;
    grid-template-columns: repeat(4, 2fr); /* 3 columns */
    gap: 20px 20px;
    align-items: center;
    perspective: 2000px;
}

.card{
    position:relative;
    aspect-ratio: 112.5/112.5;
    width:100%;
    height: auto;
    transform-style: preserve-3d;
    pointer-events: all;
    will-change: transform;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    border-radius: 10px; 
}
.cardfront,.cardback{
    backface-visibility: hidden;
}
.cardback{
    transform: rotateY(180deg);
}
/* generate your sprite here: https://assets.nativetouch.io/test/spritegen/index.html */

