@import url(https://db.onlinewebfonts.com/c/b78d933f8aa6b9284c1d3efd3db0a9b9?family=Avenir-Black);

* {
    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: #051d49;
    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{
    height: 13%;
    bottom: 0;
}

.gamebg{
    width: 100%;
    height: 100%;
    background-color: #051d49;
    bottom: 0;
}
.cardfront { 
    background: url('images/cardfront.png') no-repeat center center;
    background-size: contain;
}
.cardpair1 { 
    background: url('images/cardpair1.png') no-repeat center center;
    background-size: contain;
}
.cardpair2 { 
    background: url('images/cardpair2.png') no-repeat center center;
    background-size: contain;
}
.cardpair3 { 
    background: url('images/cardpair3.png') no-repeat center center;
    background-size: contain;
}
.endcopy1 { 
    background: url('images/endcopy1.png') no-repeat center center;
    background-size: contain;
}

.endimg { 
    background: url('images/endimg.png') no-repeat center center;
    background-size: contain;
}
.gamecta { 
    background: url('images/gamecta.png') no-repeat center center;
    background-size: contain;
}
.introcopy1 { 
    background: url('images/introcopy1.png') no-repeat center center;
    background-size: contain;
}
.introcopy2 { 
    background: url('images/introcopy2.png') no-repeat center center;
    background-size: contain;
}
.introcopy3 { 
    background: url('images/introcopy3.png') no-repeat center center;
    background-size: contain;
}
.introcta { 
    background: url('images/introcta.png') no-repeat center center;
    background-size: contain;
}
.introimg { 
    background: url('images/introimg.jpg') no-repeat center center;
    background-size: contain;
}
.logo { 
    background: url('images/logo.png') no-repeat center center;
    background-size: contain;
}
.scorebg { 
    background: url('images/scorebg.png') no-repeat center center;
    background-size: contain;
}

.t1 { 
    background: url('images/t1.png') no-repeat center center;
    background-size: contain;
}
.tapimg { 
    background: url('images/tapimg.png') no-repeat center center;
    background-size: contain;
}
.timer{
    font-family: "Avenir-Black";
    font-size: 22px;
    color:#000;
    top: 18.8%;
    margin-left:15px;
}
.temp{
    font-family: "Avenir-Black";
    font-size: 19px;
    color:#fff;
    top: 31.7%;
    left: 76%;
    width: 14%;
    height: 4%;
    text-align: center;
}
.cardscontainer{
    left:50%;
    transform:translateX(-50%);
    bottom: 18%;
    height: auto;
    width:70%;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 columns */
    gap: 25px 25px;
    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);
}