

/* Please ❤ this if you like it! */


@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=devanagari,latin-ext');


:root {
	--white: #ffffff;
	--black: #000000;
	--dark-blue: #1f2029;
	--dark-light: #424455;
	--red: #da2c4d;
	--yellow: #f8ab37;
	--grey: #ecedf3;
}

/* #Primary
================================================== */

body{
	width: 100%;
	height: 100vh;
	background: var(--dark-blue);
	overflow: hidden;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	line-height: 30px;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear;
}
p{
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	line-height: 30px;
	color: var(--white);
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear;
}
p.small{
	font-size: 12px;
	line-height: 18px;
	letter-spacing: 1px;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6{
	font-family: 'Poppins', sans-serif;
	margin-bottom: 0.6rem;
	color: var(--white);
}
h3, .h3 {
	font-size: 38px;
	line-height: 48px;
	font-weight: 700;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear;
}
::selection {
	color: var(--white);
	background-color: var(--black);
}
::-moz-selection {
	color: var(--white);
	background-color: var(--black);
}
mark{
	color: var(--white);
	background-color: var(--black);
}
.color-yellow {
	color: var(--yellow);
}
.size-18{
	font-size: 18px;
}
.opacity-40{
	opacity: 0.4;
}
.opacity-60{
	opacity: 0.6;
}
.section {
	position: relative;
	width: 100%;
	display: block;
}
.over-hide {
	overflow: hidden;
}
.over-vis {
	overflow-y: scroll;
}
.full-height {
	height: 100vh;
}
.hero-center-section{
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	z-index: 100;
	transform: translateY(-60%);
	opacity: 0;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear;
}
.level-1 {
	width: 800px;
	height: 600px;
	position: relative;
	z-index: 100;
	margin: 30px auto 50px;
}
.level-2 img {
	max-width: 300px;
}
.hero-center-section.show{
	transform: translateY(-50%);
	opacity: 1;
}
.hero-center-section.show {
	z-index: 200 !important;
}
.poster-transition.show{
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}
.z-bigger {
	z-index: 30 !important;
}

.img-wrap {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 4px;
	box-shadow: 0 8px 25px 0 rgba(0, 0, 0, 0.25);
	display: block;
}
.img-wrap img {
	width: 100%;
	height: auto;
	display: block;
}
.img-wrap img.icon {
	width: auto;
	height: auto;
}
.img-wrap.image-parts {
	display: flex;
	flex-wrap: wrap;
}
.img-wrap img.icon:active {
	box-shadow: 0 0 0 1px goldenrod;
	opacity: 0.9;
}

.hero-left-section{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 30px;
	z-index: 1000;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear;
}
.slide-buttons{
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}
.slide-buttons li{
	position: relative;
	display: block;
	margin: 15px 0;
	padding: 0;
	list-style: none;
	cursor: pointer;
	overflow: hidden;
	width: 50px;
	height: 50px;
	border-radius: 4px;
	background-size: cover;
	background-position: center;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear;
}
.slide-buttons li:after{
	position: absolute;
	display: block;
	border-radius: 4px;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: '';
	background-color: transparent;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear;
}
.slide-buttons li.active{
	box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.25);
}
.slide-buttons li.active:after{
	background-color: rgba(20,20,20,.4);
}
.slide-buttons li:nth-child(1){
	background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/1.jpg');;
}
.slide-buttons li:nth-child(2){
	background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/2.jpg');;
}
.slide-buttons li:nth-child(3){
	background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/3.jpg');;
}
.slide-buttons li:nth-child(4){
	background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/4.jpg');;
}
/* #Cursor
================================================== */
.cursor,
.cursor2,
.cursor3{
	position: fixed;
	border-radius: 50%;
	transform: translateX(-50%) translateY(-50%);
	pointer-events: none;
	left: -100px;
	top: 50%;
	mix-blend-mode: difference;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear;
}
.cursor{
	background-color: var(--white);
	height: 0;
	width: 0;
	z-index: 99999;
}
.cursor2,.cursor3{
	height: 36px;
	width: 36px;
	z-index:99998;
	-webkit-transition:all 0.3s ease-out;
	transition:all 0.3s ease-out
}
.cursor2.hover,
.cursor3.hover{
	-webkit-transform:scale(2) translateX(-25%) translateY(-25%);
	transform:scale(2) translateX(-25%) translateY(-25%);
	border:none
}
.cursor2{
	border: 2px solid var(--white);
	box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}
.cursor2.hover{
	background: rgba(255,255,255,1);
	box-shadow: 0 0 0 rgba(255, 255, 255, 0.2);
}

.link-to-page img{
	width: 100%;
	height: auto;
	display: block;
}
.bottom-right{
	position: absolute;
	bottom: 50px;
	right: 30px;
	z-index: 107;
}
.switch,
.circle {
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear;
}
.switch {
	width: 80px;
	height: 4px;
	border-radius: 27px;
	background-image: linear-gradient(298deg, var(--red), var(--yellow));
	position: relative;
	display: block;
	margin: 0 auto;
	text-align: center;
	opacity: 1;
	transform: translate(0);
	transition: all 300ms linear;
	transition-delay: 1900ms;
}
.circle {
	cursor: pointer;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--dark-light);
	box-shadow: 0 4px 4px rgba(26,53,71,0.25), 0 0 0 1px rgba(26,53,71,0.07);
}
.circle:hover {
	box-shadow: 0 8px 8px rgba(26,53,71,0.25), 0 0 0 1px rgba(26,53,71,0.07);
}
.circle i {
	color: var(--yellow);
	font-size: 24px;
	margin-top: 8px;
}
.switched {
}
.switched .circle {
	left: 40px;
	box-shadow: 0 4px 4px rgba(26,53,71,0.25), 0 0 0 1px rgba(26,53,71,0.07);
	background: var(--dark);
}
.switched .circle:hover {
	box-shadow: 0 8px 8px rgba(26,53,71,0.25), 0 0 0 1px rgba(26,53,71,0.07);
}
.switched .circle:before {
	opacity: 0;
}
.switched .circle:after {
	opacity: 1;
}
body.light{
	background: var(--white);
}
body.light p{
	color: var(--dark-blue);
}
body.light h3{
	color: var(--dark);
}
body.light .cursor,
body.light .cursor2,
body.light .cursor3{
	mix-blend-mode: difference;
	z-index: 9999999;
}
body.light .cursor{
	background-color: var(--dark-blue);
}
body.light .cursor2{
	border: 2px solid var(--dark-blue);
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}
body.light .cursor2.hover{
	background: rgba(0,0,0,1);
	box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
	.hero-center-section{
		left: 50px;
		width: calc(100% - 50px);
	}
	.hero-left-section{
		left: 20px;
	}
	.slide-buttons li{
		width: 30px;
		height: 30px;
	}
}

@media (max-width: 767px) {
	h3, .h3 {
		font-size: 26px;
		line-height: 34px;
	}
	.cursor,
	.cursor2,
	.cursor3{
		display: none;
	}
}

@media (max-width: 575px) {
	h3, .h3 {
		font-size: 22px;
		line-height: 30px;
	}
}

/* pages */

body.main-page {
	background-image: url("../img/adventure.jpg");
	height: 100%;
	width: 100%;
	background-size: cover;
	background-position: center bottom;
	background-attachment: fixed;
	font-family: Montserrat, sans-serif;
}

.btn-challenge {
	opacity: 0;
	animation-name: showBgImage;
	animation-delay: 0.5s;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
	color: #a5a7bb;
	font-family: inherit;
	font-size: inherit;
	font-weight: bold;
	background-color: #554d73;
	width: 190px;
	height: 84px;
	padding: 0;
	border: 0;
	margin: 0;
	outline: 0;
	flex-grow: 0;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	border-radius: 12px;
	position: relative;
	transition: background-color 180ms ease-out;
	box-shadow: 0 0 12px 1px #282534;
}
.btn-challenge > span {
	font-size: 25px;
}
.btn-challenge > small {
	color: #a496a4;
	font-size: 0.6em;
	font-weight: normal;
	border-top: 1px solid rgba(164, 150, 164, 0.5);
	margin-top: 2px;
	padding-top: 4px;
}
.btn-challenge:hover {
	background-color: #675d8b;
	box-shadow: 0 0 12px 1px #343043;
}
.btn-challenge:active, .btn-challenge:hover:active {
	background-color: #433d5b;
}
.full-width {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 101;
	display: block;
}
video {
	display: none;
	position: relative;
	z-index: -1;
}
.welcome {
	font-size: 28px;
	/*background-color: rgba(200, 191, 200, 0.1);*/
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	/*z-index: 100;*/
	/*position: relative;*/
}
.box {
	background-color: black;
	animation-duration: 3.5s;
	animation-name: darkToLight;
	animation-timing-function: ease-in;
}
.a-line {
	font-size: 20px;
}
@keyframes darkToLight {
	from {
		background-color: black;
	}
	to {
		background-color: white;
	}
}
@-webkit-keyframes darkToLight {
	from {
		background-color: black;
	}
	to {
		background-color: white;
	}
}
@keyframes showBgImage {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@-webkit-keyframes showBgImage {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes hideBgImage {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
		display: none;
		z-index: 0;
	}
}
@-webkit-keyframes hideBgImage {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
		display: none;
		z-index: 0;
	}
}
.playgame-details > * {
	color: black;
}
.playgame-details > p:last-child {
	margin-bottom: 0;
}
img {
	max-width: 100%;
}

.canvas-item:not(:first-child) {
	margin-left: -8px;
}

.canvas-item {
	height: 48px;
	cursor: pointer;
}

.group-words {
	display: flex;
}
.puzzle-area {
	position: absolute;
	z-index: 10;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 720px;
	height: 480px;
	display: none;
}
.bg-fade-out {
	animation-delay: 1s;
	animation-name: hideBgImage;
	animation-duration: 3s;
	animation-fill-mode: forwards;
}
.help, .ready, .match {
	position: fixed;
	right: 30px;
	z-index: 107;
	cursor: pointer;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 29px;
	text-decoration: none;
	padding: 8px;
	border-radius: 5px;
	box-shadow: 0 0 3px 0 grey;
	color: white;
	border: none;
	transition-duration: 0.3s;
}
.match {
	top: 240px;
	color: grey;
	min-width: 80px;
}
.match span {
	color: var(--dark-blue);
}
.opacity-2 {
	opacity: 0.2;
}
.answers p:active {
	color: limegreen;
}
.answers {
	position: relative;
}
.ready {
	background-image: url("../img/ready.png");
	background-size: cover;
	width: 64px;
	height: 64px;
	top: 110px;
	/*background-color: rgba(32, 218, 91, 0.8);*/
}
.help {
	background-image: url("../img/help.png");
	background-size: cover;
	width: 64px;
	height: 64px;
	top: 30px;
	/*background-color: rgba(218, 168, 32, 0.8);*/
}
.help:hover {
	/*background-color: rgba(218, 168, 32, 1.0);*/
	color: var(--dark-blue);
}
.ready:hover {
	/*background-color: rgba(32, 218, 91, 1.0);*/
	color: var(--dark-blue);
}
.bg-level1 {
	background-image: url("../img/bg/1.jpg");
	background-size: cover;
	background-position: center;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 110;
}
.bg-level2 {
	background-image: url("../img/bg/2.jpg");
	background-size: cover;
	background-position: center;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 110;
}
.bg-level3 {
	background-image: url("../img/bg/3.jpg");
	background-size: cover;
	background-position: center;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 110;
}
