/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@font-face {
	font-family: Raleway-Regular;
	src: url('../../../../fonts/Raleway-Regular.ttf');
}

@font-face {
	font-family: Raleway-Bold;
	src: url('../../../../fonts/Raleway-Bold.ttf');
}

body {
	font-family: Raleway-Regular;
	background-color: #0c0619;
}

.screen1 {
	background-image: url('../img/header-bg.jpg?ver=001');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
	background-attachment: fixed;
    margin-top: 86px;
    padding-bottom: 30px;
}

.screen2 {
	position: relative;
	z-index: 0;
	background-image: url('../img/bg.jpg?ver=001');
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	margin-top: 86px;
	padding-bottom: 50px;
}

.pulse-button {
    -webkit-animation: pulse 1.5s infinite;
    cursor: pointer;
}

    .pulse-button:hover {
        -webkit-animation: none;
    }

@-webkit-keyframes pulse {
    0% {
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }

    70% {
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
    }

    100% {
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
    }
}


.pulse:hover {
    animation: pulse 1s infinite;
    animation-direction: alternate;
    -webkit-animation-name: pulse;
    animation-name: pulse;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
    }

    100% {
        -webkit-transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}


#btnRollDice {
    font-size: 40px;
    padding: 10px 20px;
	line-height: 50px;
}

.hide {
	display: none;
}

.gameObject {
	position: absolute;
	z-index: 2;
}

.fieldArea {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	/*height: 700px;*/
	width: 100%;
	max-width: 700px;
	margin: 0 auto 30px;
	overflow: hidden;
}


#gameCover {
	z-index: 2;
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.75);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	display: none;
}

.game-cover-elements {
	margin-top: 200px;
}

.nav {
    background-color: rgb(26, 43, 69);
    position: fixed;
    z-index: 1;
    width: 100%;
	top: 0;
}

.nav .btn {
    margin-top: 20px;
}

.btn {
    font-family: Raleway-Bold;
    background-color: #d5b160;
    color: #1a2b45;
    font-size: 18px;
    border-radius: 10px;
    width: 100%;
    max-width: 250px;
}

.btn:hover {
	font-family: Raleway-Bold;
    background-color: #A58E6E;
    color: #ffffff;
}


    .close-btn {
        margin-top: 20px;
        font-family: Raleway-Bold;
        background-color: #d5b160;
        color: #1a2b45;
        font-size: 18px;
        border-radius: 10px;
    }

/*.screen1 {
    height: 100vh;
}*/

h1, .h1 {
	font-family: Raleway-Bold;
	color: #ffffff;
	font-size: 30px;
}

h2, .h2 {
	font-family: Raleway-Bold;
	color: #ffffff;
	font-size: 18px;
}

h3, .h3 {
	font-family: Raleway-Bold;
	color: #ffffff;
	font-size: 24px;
}

p {
	font-size: 14px;
	line-height: 20px;
	color: #ffffff;
	text-align: center;
}

.about-btn {
	font-family: Raleway-Bold;
	border-radius: 2.25rem;
	background-color: #A58E6E;
	width: 226px;
	height: 46px;
	color: #ffffff;
	text-align: center;
	line-height: 50px;
	text-decoration: none;
	margin-top: 5px;
	margin-bottom: 5px;
}

	.about-btn:hover {
		color: #1a2b45;
	}

.bold {
	font-family: Raleway-Bold;
}

.glow {
	-webkit-filter: drop-shadow(0px 0px 8px rgba(255,255,255,1));
	-webkit-transition: all 0.5s linear;
	-o-transition: all 0.5s linear;
	transition: all 0.5s linear;
}

.game-btn {
	font-family: Raleway-Bold;
	border-radius: 2.25rem;
	background-color: #08a300;
	color: #ffffff;
	width: 226px;
	height: 46px;
	text-align: center;
	line-height: 42px;
	text-decoration: none;
	font-size: 28px;
	border: 0;
}

.gameTime {
	font-family: Raleway-Bold;
	border-radius: 2.25rem;
	background-color: #d5b160;
	color: #1a2b45;
	width: 226px;
	height: 46px;
	text-align: center;
	line-height: 50px;
	text-decoration: none;
}

.close-btn {
	min-width: 170px;
	font-size: 18px;
	margin: 0 auto;
}

/*.promo-logo {
	margin-top: 220px;
	margin-bottom: 100px;
}*/

.adjust-width {
	max-width: 800px;
	margin: 0 auto;
}

#prizeMessage {
	font-size: 20px;
    line-height: 25px;
    color: #1a2b45;
    text-align: center;
    /* text-shadow: 1px 1px black; */
}

.btn-close {
	opacity: 1;
}

.modal-header {
	padding: 1rem 1rem 0;
	border-bottom: none;
}

.modal-content {
	background-color: #1a2b45;
	border: 3px solid #ffffff;
	border-radius: 15px;
}

.modal-content-bg {
	background-image: url(../img/modal-bg.png);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100%;
	pointer-events: auto;
	background-color: #fff;
	background-clip: padding-box;
	border: 5px solid #ffffff;
	border-radius: 0.3rem;
	outline: 0;
}

.click-indicator {
	position: absolute;
	z-index: 1;
}

.modal-content p, .modal-content ul, .modal-content ol {
	color: #ffffff;
}

.modal-content ul, .modal-content ol {
	text-align: left;
	font-size: 14px;
}

.modal-content table {
    max-width: 100%;
}

.login-box {
    padding-top: 10px;
}

    .login-box .btn {
        font-family: Raleway-Regular;
        width: 100%;
        max-width: 268px;
        height: 40px;
        border-radius: 5px;
        border-color: transparent;
        background-color: #A58E6E;
        border-color: transparent;
        font-size: 18px;
        color: #ffffff;
        margin: 0 auto;
    }

        .login-box .btn:hover, .login-box .btn.active {
            background-color: #D5B160;
            color: #1A2B45;
            border-color: transparent;
        }

		.box {
			background-color: #1c2a43;
			max-width: 700px;
			padding: 20px;
			border-radius: 10px;
			margin: 0 auto;
		}

input[type="number"],
input[type="text"], input[type="email"] {
    font-family: Raleway-Regular;
    max-width: 268px;
    height: 40px;
    border-radius: 5px;
    background-color: #ffffff;
    border-color: transparent;
    font-size: 18px;
    color: #1A2B45;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    text-align: center;
}

/* .main {
    padding-top: 100px;
} */

.content {
	background-color: #1c2a43;
    border-radius: 10px;
    padding-top: 50px;
    max-width: 700px;
}

footer {
	background-color: #1A2B45;
	padding: 20px 0;
}

a {
	color: #d5b160;
	text-decoration: underline;
}

	a:hover {
		color: #A58E6E;
	}

.leaderboard {
	max-width: 700px;
}

table {
	width: 100%;
	max-width: 522px;
    margin: 0 auto;
}

th {
	background: #ffffff !important;
	border-bottom: 1px solid #fff;
	color: #1a2b45;
	padding: 8px;
	text-align: left;
	font-size: 14px;
}

td {
	background: #1a2b45;
	border-bottom: 1px solid #fff;
	color: #ffffff;
	padding: 8px;
	vertical-align: middle;
	text-align: left;
	font-size: 14px;
}

/* Cells in even rows (2,4,6...) are one color */
tr:nth-child(even) td {
	background: #1a2b45;
	color: #FFFFFF;
}

/* Cells in odd rows (1,3,5...) are another (excludes header cells)  */
tr:nth-child(odd) td {
	background: #d5b36a;
	color: #FFFFFF;
}

	/*tr td:hover {
	background: #ee7e00;
}*/

	tr:nth-child(odd) td.first {
		background-color: #D5B160 !important;
	}

.lbp {
	background-color: #1c2a43;
	padding: 5px 0;
	color: #d5b36a;
	padding-bottom: 0px;
}

.scrollit {
	overflow: scroll;
	height: 397px;
}

.points {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
	max-width: 524px;
    margin: 0 auto;
	margin-top: 14px;
}

#gameAreaContainer {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	/*  margin-bottom: 10px;*/
	flex-direction: column;
	/*    margin: 15px;*/
}

/* canvas {
	left: 0;
	top: 0;
	position: absolute;
	width: 100%;
	border: 0px solid gray;
	padding-left: 6.7%;
	padding-right: 6.7%;
	padding-top: 5.5%;
	background: unset !important;
} */

#gameArea {
	max-width: 700px;
}

.stGame {
	background-color: #d5b572;
	font-size: 18px;
	font-weight: bold;
	color: #1e2941;
	padding: 5px 20px;
	border-radius: 6px;
}

.one p, .two p {
	font-family: Raleway-Bold;
	font-size: 14px;
	background-color: #a68f71;
	padding: 10px 20px;
	border-radius: 10px;
	min-width: 250px;
}

#gameErrorMessage {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    max-width: 524px;
    margin-left: auto;
    margin-right: auto;
	line-height: 36px;
}
/*.gameScreen {
	max-width: 800px;
}*/

#gameCover {
	z-index: 2;
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.75);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	max-width: 610px;
	max-height: 630px;
	margin-top: -28px;
	/*border-radius: 30px;*/
}

#countdown {
	font-family: 'Roboto Condensed', sans-serif;
	width: 200px;
	height: 100px;
	position: absolute;
	left: 50%;
	top: 18%;
	margin-left: -100px;
	margin-top: -50px;
	color: #d5b572;
	font-size: 53px;
	text-align: center;
	font-weight: bold;
	font-style: italic;
	-webkit-opacity: 1;
	-moz-opacity: 1;
	opacity: 1;
	-webkit-transition: opacity 0.4s ease;
	-moz-transition: opacity 0.4s ease;
	-ms-transition: opacity 0.4s ease;
	-o-transition: opacity 0.4s ease;
	-webkit-perspective: 1000;
	-webkit-backface-visibility: hidden;
}

	#countdown.puffer {
		-webkit-opacity: 0;
		-moz-opacity: 0;
		opacity: 0;
		-webkit-transform: scale(1.6, 1.6);
		-moz-transform: scale(1.6, 1.6);
		-ms-transform: scale(1.6, 1.6);
		-o-transform: scale(1.6, 1.6);
		-webkit-transition: all 0.4s ease-out;
		-moz-transition: all 0.4s ease-out;
		-ms-transition: all 0.4s ease-out;
		-o-transition: all 0.4s ease-out;
	}


.game-cover-elements {
	/*margin-top: 470px;*/
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}


.cdText {
	text-align: center;
	color: #ffffff;
	font-size: 160px;
}

.gcText {
	text-align: center;
	font-size: 16px;
	color: #ffc107;
	padding: 40px;
}


.stGame {
	background-color: #d5b572;
	font-size: 18px;
	font-weight: bold;
	color: #1e2941;
	padding: 5px 20px;
	border-radius: 6px;
}

.tncIcons {
	max-width: 40px;
	display: inline-block;
}
/*-------------Game End-------------------------------*/

ul.cards {
	padding: 0;
}

.cards, .card, .view {
	display: flex;
	align-items: center;
	justify-content: center;
}

.cards {
	height: 620px;
	width: 848px;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 auto;
}

	.cards .card {
		cursor: pointer;
		position: relative;
		perspective: 1000px;
		transform-style: preserve-3d;
		height: calc(100% / 4 - 10px);
		width: calc(100% / 4 - 10px);
	}

.card.shake {
	animation: shake 0.35s ease-in-out;
}

@keyframes shake {
	0%, 100% {
		transform: translateX(0);
	}

	20% {
		transform: translateX(-13px);
	}

	40% {
		transform: translateX(13px);
	}

	60% {
		transform: translateX(-8px);
	}

	80% {
		transform: translateX(8px);
	}
}

.cards .card .view {
	width: 100%;
	height: 100%;
	user-select: none;
	pointer-events: none;
	position: absolute;
	backface-visibility: hidden;
	transition: transform 0.25s linear;
	box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.card .front-view img {
	max-width: 200px;
	border-radius: 7px;
}

.card .back-view {
	transform: rotateY(-180deg);
}

	.card .back-view img {
		max-width: 200px;
		border-radius: 7px;
	}

.card.flip .front-view {
	transform: rotateY(180deg);
}

.card.flip .back-view {
	transform: rotateY(0);
}

.details {
	max-width: 922px;
	padding: 20px;
	border-radius: 7px;
	background: #1a2b45;
	height: calc(100% / 4 - 30px);
	justify-content: space-evenly;
	box-shadow: 0 3px 10px rgb(0 0 0 / 10%);
	margin: 15px auto 0;
}

	.details p {
		font-family: 'Arial Narrow', 'Franklin Gothic Medium', Arial, sans-serif;
		font-size: 20px;
		/*height: 17px;*/
		margin: 0;
		text-align: center;
		color: #ffffff;
	}

		.details p span {
			margin-left: 8px;
		}

	.details button {
		cursor: pointer;
		font-size: 14px;
		color: #6563ff;
		border-radius: 4px;
		padding: 4px 11px;
		background: #fff;
		border: 2px solid #6563ff;
		transition: 0.3s ease;
	}

		.details button:hover {
			color: #fff;
			background: #6563ff;
		}

.card {
	background-color: transparent;
	border: none;
}

.top-details {
	margin-bottom: 15px;
	padding: 0 20px;
	border-radius: 7px;
	background: #fff;
	height: calc(100% / 4 - 30px);
	justify-content: space-evenly;
	box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

	.top-details p {
		font-size: 18px;
		height: 17px;
	}

		.top-details p span {
			margin-left: 8px;
		}

		.top-details p b {
			font-weight: 500;
		}

.more {
	margin-top: 10px;
}

#btnReplay {
	margin: 0 auto;
}

#howToModal ul {
	list-style-type: none
}

/* .gameLbWrap {
    position: relative;
    margin: 20px auto;
    max-width: 97%;
    width: 600px;
} */

@media (max-width: 768px) {
	.btn {
		font-size: 14px;
		margin: 5px auto;
		line-height: 10px;
	}

	.offerWrap {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.splide__pagination {
		bottom: 0;
	}

	.nav .col-6, .nav .col-3 {
		padding: 0;
	}

	.screen1 .promo-logo, .screen2 .promo-logo {
		padding-top: 50px;
	}

	.game-info {
		font-size: 14px;
	}

	.about-btn, .game-btn {
		width: 100px;
		height: 30px;
		line-height: 32px;
		font-size: 10px;
	}

	.gameTime {
		width: 100px;
		height: 30px;
		line-height: 32px;
		font-size: 8px;
	}

	/* .main {
		margin-top: -40px;
	} */
}

@media (max-width: 767px) and (orientation: landscape) {

	.screen1 .promo-logo, .screen2 .promo-logo {
        padding-top: 0px;
    }

	.about-btn, .game-btn, .gameTime {
		width: 130px;
		height: 30px;
		line-height: 32px;
		font-size: 12px;
	}
}

/********** Game Media Queries **********/

/********** Tablet Portrait **********/
@media (max-width: 820px) and (min-width: 421px) and (orientation: portrait) {
	.screen1, .screen2 {
		/* background-image: url('../img/header-bg-tablet.jpg'); */
		margin-top: 60px;
	}

	.cards {
		height: 454px;
		width: 600px;
		margin-top: 50px;
	}

	.card .front-view img, .card .back-view img {
		max-width: 150px;
	}

	.details p {
		font-size: 20px;
	}
}
/********** Mobile Landscape **********/
@media (max-width: 940px) and (orientation: landscape) {
	.screen1, .screen2 {
		/* background-image: url('../img/header-bg-mobile-ls.jpg'); */
		margin-top: 60px;
	}

	.card .front-view img, .card .back-view img {
		max-width: 140px;
	}

	.cards {
		height: 464px;
		width: 588px;
	}

	.details p {
		font-size: 16px;
	}

	.nav .btn {
		font-size: 14px;
	}
}
/********** Mobile Portrait **********/
@media (max-width: 460px) and (orientation: portrait) {
	.screen1, .screen2 {
		/* background-image: url('../img/header-bg-mobile.jpg'); */
		margin-top: -10px;
		/* height: 920px; */
	}

	h1, .h1 {
		font-size: 18px;
	}

	.cards {
		height: 247px;
		width: 320px;
		margin-top: 0px;
	}

	.card .back-view img, .card .front-view img {
		max-width: 80px;
	}

	.details p {
		font-size: 14px;
		/*height: 26px;*/
	}

	.game-cover-elements {
		margin-top: 82px;
	}

	.nav .btn {
		font-size: 10px;
		margin-top: 10px;
	}

	.game1 {
		margin-top: 50px;
	}
}

/* Dice Game Media Queries */
@media screen and (max-width: 530px) {
    canvas {
        display: block;
        max-width: 300px;
        max-height: 150px;
        margin: 0 auto;
    }
}