/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
	height: 100%;
}
body {
	font:400 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444;
	font-family: 'Saira', sans-serif;
	background-color: #000;
	height: 100%;
	margin: 0;
	font-family: 'Luckiest Guy', cursive;
	line-height: normal;
	overflow: hidden;
	background-image: url(/img/bg_all_solved.jpg);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
:focus {
	outline:0;
	border: none !important;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

.main_grid {
	grid-template-columns: 1fr 1fr;
	display: grid;
}

.grid_box {
	height: 50vh;
	overflow: hidden;
	transition: all 2s;
	transition-delay: 3s;
	transform: scale(1);
	opacity: 1;
	background-color: #000;
}

.all_solved .grid_box {
	transform: scale(0.3);
	opacity: 0;
}



.grid_box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position:  center center;
}

.grid_box.solved {
	pointer-events: none;
}

.grid_box.solved img {
	filter: blur(0.5vw);
}

.ovl_black {
	position: absolute;
	width: 100%;
	height: 100vh;
	background-color: #000;
	z-index: 3;
	top: 0;
	left: 0;
	pointer-events: none;
	opacity: 0;
	transition: all 1s;
}

body.ovl_on .ovl_black {
	opacity: 1;
}

.ovl_rid {
	position: absolute;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
	z-index: 5;
	opacity: 0;
	pointer-events: none;
	transition: all 2s;
	transition-delay: 1s;
}

.ovl_rid.active {
	pointer-events: auto;
	z-index: 5;
	opacity: 1;
}

.ovl_rid_bg {
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
}

.ovl_rid_bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.home_arrow {
	position: absolute;
	top: 3vw;
	right: 7vw;
}

.home_arrow img {
	transform: rotate(-90deg);
}

.enter_arrow img, .home_arrow img, .exit_arrow img  {
	width: 6vw;
	height: 6vw;
	object-fit: contain;
	object-position: center center;
}




#input_wrapper_1 {
	position: absolute;
	z-index: 2;
	top: 3vw;
	left: 7vw;
	display: flex;
}

#ovl_rid_1 {
	
}



#ovl_rid_1 .input_field {
	border-radius: 100%;
	width: 6vw;
	height: 6vw;
	font-size: 5vw;
	 background: rgb(60,176,255);
background: -moz-radial-gradient(circle, rgba(60,176,255,1) 0%, rgba(0,74,105,1) 100%);
background: -webkit-radial-gradient(circle, rgba(60,176,255,1) 0%, rgba(0,74,105,1) 100%);
background: radial-gradient(circle, rgba(60,176,255,1) 0%, rgba(0,74,105,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3cb0ff",endColorstr="#004a69",GradientType=1); 
	margin-right: 2vw;
	-webkit-box-shadow: 0 0 1vw 0 #F1E100;
box-shadow: 0 0 1vw 0 #F1E100;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #F1E100;
}



#ovl_rid_2 .input_field {
	border-radius: 100%;
	width: 6vw;
	height: 6vw;
	font-size: 5vw;
	 background: rgb(255,254,238);
background: -moz-radial-gradient(circle, rgba(255,254,238,1) 0%, rgba(235,234,211,1) 100%);
background: -webkit-radial-gradient(circle, rgba(255,254,238,1) 0%, rgba(235,234,211,1) 100%);
background: radial-gradient(circle, rgba(255,254,238,1) 0%, rgba(235,234,211,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fffeee",endColorstr="#ebead3",GradientType=1); 
	margin-right: 2vw;
	-webkit-box-shadow: 0 0 1vw 0 rgba(0,0,0,0.5);
box-shadow: 0 0 1vw 0 rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	color: rgba(0,140,255,1.00);
}

#rid2_if1 {
	transform: scale(0.9);
}

#rid2_if3 {
	transform: scale(1.1);
}


#input_wrapper_2 {
	position: absolute;
	z-index: 2;
	top: 38vh;
	left: 7vw;
	display: flex;
}


.game_wrapper {
	position: absolute;
	width: 48vh;
	height: 48vh;
	top: 40vh;
	left: calc(50% - 24vh);
}

.puzzle_grid {
	background-color: #fff;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	transition: background 1s;
}

.puzzle_grid.solved {
	background-color: rgba(255,255,255,0);
	pointer-events: none;
}

.puzzle_item {
	display: flex;
}

.puzzle_item img {
	width: 100%;
	height: auto;
}

[data-rot="0"] {
	transform: rotate(0deg);
}

[data-rot="1"] {
	transform: rotate(90deg);
}

[data-rot="2"] {
	transform: rotate(180deg);
}

[data-rot="3"] {
	transform: rotate(270deg);
}

.exit_arrow {
	position: absolute;
	top: 11vw;
	left: 47vw;
	opacity: 0;
	pointer-events: none;
}

.exit_arrow.active {
	opacity: 1;
	pointer-events: auto;
}





#ovl_rid_4 .input_field {
	border-radius: 100%;
	width: 6vw;
	height: 6vw;
	font-size: 5vw;
	background-color: #fff;
	margin-right: 2vw;
	-webkit-box-shadow: 0 0 1vw 0 rgba(0,0,0,0.5);
box-shadow: 0 0 1vw 0 rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	color: #333;
}

#ovl_rid_4 #rid4_if2 {
	background-color: rgb(210,210,210);
}

#ovl_rid_4 #rid4_if3 {
	background-color: rgb(170,170,170);
}

#input_wrapper_4 {
	position: absolute;
	z-index: 2;
	top: 80vh;
	left: 28vw;
	display: flex;
}



/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/





/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
