html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    display: block;
}
canvas {
    display: block;
    margin: auto;
}
.game-container {
    position: relative;
    height: 100%;
    width: 100%;
    background: #ffffff !important;
}
.background {
	width: 100vw;
	/*max-width: 1600px;
	max-height: 900px;*/
	height: 100vh;
	text-align: center;
	position: absolute;
	top: 0;
	background: #ffffff;
	background: url('https://pc2cdn.wuzy.net/preloader/preloader_bg2.jpg');
	background-size: 100% 100%;
	aspect-ratio: 16 / 9;
}
.background img {
    max-width: 100%;
    width:100%;
}

/****************************************
  ==== LOADING
****************************************/
@font-face {
    font-family: KabelUltraITC_PrePreloader;
    src:url("https://pc2cdn.wuzy.net/preloader/KBL75.OTF");
}

div#loadingBox.new {
	width: 100%;
	height: 20px;
	top: 100%;
	text-align: center;
}
div#loadingBox.old {
	width: 100%;
	height: 20px;
	position: absolute;
	top: 100%;
	margin-top: -10%;
	text-align: center;
}
div#bgBar {
	position: absolute;
	width: 400px;
	margin-left: -200px;
	margin-top:30px;
	left: 50%;
	height: 15px;
	display: block;
	background-color: #D2D4E3;
}
div#progressBar {
	left: 50%;
	position: absolute;
	margin-left: -200px;
	margin-top:30px;
	width: 0px;
	height: 15px;
	background-color: #3795FF;
	border-radius: 2px;
}
div#percentText{
	width: 470px;
	font-family: "Monaco", sans-serif;
	font-size: 20px;
	font-weight: bold;
	text-align: right;
	margin-top: -4px;
	color: #3795FF;
	text-shadow: 1px 1px white, 1px 0 white, 1px -1px white,    0 -1px white, -1px -1px white, -1px 0 white,   -1px 1px white, 0 1px white;
}
div#bgBar {
	border-radius: 2px;
}
p#loadingInfo {
	color: #327FDC;
	position: absolute;
	width: 100%;
	font-family: "KabelUltraITC_PrePreloader", serif;
	text-transform: capitalize;
	text-align: center;
	font-size: 35px;
	font-weight: bold;
	margin-top: -30px;
	opacity: 0;
}
/****************************************
       HAVING TROUBLES LINK
****************************************/
.contact-as {
	background-image: url("https://pc2cdn.wuzy.net/contact_as/popup.png");
	background-size: contain;
	width: 847px;
	height: 591px;
	margin:auto;
	top: 50px;
	left:50%;
	margin-left: -423px;
	position: absolute;
	z-index: 100;
}
.contact-as a.link{
	background-image: url("https://pc2cdn.wuzy.net/contact_as/button.png");
	background-size: contain;
	width: 345px;
	height: 56px;
	display: block;
	position: absolute;
	bottom: 38px;
	right: 248px;
}
.contact-as a.close-popup{
	background-image: url("https://pc2cdn.wuzy.net/contact_as/close.png");
	background-size: contain;
	width: 63px;
	height: 63px;
	display: block;
	position: absolute;
	top: 0px;
	right: -18px;
}
.contact-as .text{
	width: 423px;
	display: block;
	position: absolute;
	top: 118px;
	right: 79px;
	font-size: 28px;
	color: #535353;
}

.contact-as-button {
	position: absolute;
	color: #337ab7;
	padding: 7px;
	font-size: 25px;
	left: 50%;
	margin-left: -158px;
	text-decoration: underline;
}

.contact-as-button:hover {
	color:#40a1f5;
}


/****************************************
       Header LOGO
****************************************/
#logo {
	margin: 82px auto 0;
	width: 50%;
	padding-left: 8%;
	max-width:768px;
}

ol, ul, li {
	list-style: none;
	margin: 0;
	padding: 0;
}

/****************************************
       Room Carousel
****************************************/

.room_carousel_mask {
	overflow: hidden;
	/*max-width: 1200px;*/
	width: 1100px;
	height: 339px;
	margin: 0 auto;
}
.room_carousel_mask * {
	box-sizing: border-box;
}

.slider_room{
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.slider_room .slide {
	opacity: 0;
	top:16px;
	height: 291px;
	width: 100%;
	margin: 10px 0 10px 0 ;
	z-index: 100;
	transition: transform .8s, opacity .5s, z-index .2s;
	position:absolute;
}
.slider_room .slide img {
	width:100%;
}
.slider_room .slide img:first-child {
	margin-bottom: 10px;
}
.slider_room .slide.prev {
	transform: translateX(100%);
	z-index: 800;
}
.slider_room .slide.current {
	opacity: 1;
	z-index: 900;
	transform: translateX(0%);
}
.slider_room .slide.next {
	transform: translateX(-100%);
	z-index: 800;
}
/****************************************
       Room Text Carousel
****************************************/
.room_text_carousel_mask {
	overflow: hidden;
	width: 70%;
	height:55px;
	margin: auto;
}
.room_text_carousel_mask * {
	box-sizing: border-box;
	font-family: "Monaco", sans-serif;
}

.slider_room_text{
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.slider_room_text .slide{
	opacity: 0;
	position: absolute;
	top:0;
	width: 100%;
	margin: auto;
	padding: 1rem 3rem;
	z-index: 100;
	transition: transform .9s, opacity .4s, z-index .4s;
}
.slider_room_text .initial,
.slider_room_text .showing {
	opacity: 1;
	position: relative;
	z-index: 900;
}
/* Translate previous item to the left */
.slider_room_text .slide.prev {
	transform: translateX(100%);
	z-index: 800;
}

/* Translate next item to the right */
.slider_room_text .slide.next {
	transform: translateX(-100%);
	z-index: 800;
}
.slider_room_text .slide{
	font-size: 42px;
	line-height: 48px;
	padding: 10px 30px;
	box-sizing: border-box;
	font-family: KabelUltraITC_PrePreloader;
	color: #3a88ef;
	-webkit-text-stroke: 1px #FFFFFF;
}
/****************************************
       Pet Carousel
****************************************/
.pet_carousel_mask {
	overflow: hidden;
	width: 1024px;
	height: 339px;
	margin: auto;
}
.pet_carousel_mask * {
	box-sizing: border-box;
}
.slider_pet {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.slider_pet .slide {
	opacity: 0;
	top:0;
	width: 100%;
	margin: 0px 0;
	z-index: 100;
	transition: transform .9s, opacity .4s, z-index .4s;
	position:absolute;
}
.slider_pet .slide img {
	width:100%;
}
.slider_pet .slide.next {
	transform: translateX(-100%);
	z-index: 800;
}
.slider_pet .slide.prev {
	transform: translateX(100%);
	z-index: 800;
}
.slider_pet .slide.current {
	opacity: 1;
	z-index: 900;
	transform: translateX(0%);
}
/****************************************
       Pet Text Carousel
****************************************/
.pet_text_carousel_mask {
	overflow: hidden;
	width: 80%;
	height:55px;
	margin: auto;
}
.pet_text_carousel_mask * {
	box-sizing: border-box;
	font-family: "Monaco", sans-serif;
}

.slider_pet_text{
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.slider_pet_text .slide{
	opacity: 0;
	position: absolute;
	top:0;
	width: 100%;
	margin: auto;
	padding: 1rem 3rem;
	z-index: 100;
	transition: transform .8s, opacity .5s, z-index .2s;
}
.slider_pet_text .initial,
.slider_pet_text .showing {
	opacity: 1;
	position: relative;
	z-index: 900;
}
/* Translate previous item to the left */
.slider_pet_text .slide.prev {
	transform: translateX(100%);
	z-index: 800;
}

/* Translate next item to the right */
.slider_pet_text .slide.next {
	transform: translateX(-100%);
	z-index: 800;
}
.slider_pet_text .slide{
	font-size: 42px;
	line-height: 48px;
	padding: 10px 30px;
	box-sizing: border-box;
	font-family: KabelUltraITC_PrePreloader;
	color: #3a88ef;
}

/****************************************
       Navigation
****************************************/
#navigation {
	margin: -38px auto 0;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 367px;
	height: 80px;
}
.nav-house, .nav-pet {
	width:80px;
	height:78px;
	border: solid 5px #D7D7D7;
	border-radius: 18px;
}
.nav-house {
	margin-right:40px;
}
.nav-pet img {
	margin-top: 11px;
	width:46px;
	height:61px;
}
.nav-house img {
	margin-top: 9px;
	width:51px;
	height:58px;
}

.nav-pet:hover {
	width:84px;
	height:82px;
	margin-top: -2px;
	margin-left: -2px;

}
.nav-house:hover {
	width:84px;
	height:82px;
	margin-top: -2px;
	margin-right: 38px;
}
.nav-pet:hover img {
	margin-top: 13px;
}
.nav-house:hover img {
	margin-top: 11px;
}
.nav-house.active, .nav-pet.active {
	border: solid 5px #2387EE;
}

#pets, #rooms {
	display: none;
	opacity:0;
	-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 2s; /* Firefox < 16 */
	-ms-animation: fadein 2s; /* Internet Explorer */
	-o-animation: fadein 2s; /* Opera < 12.1 */
	animation: fadein 2s;
}
#rooms.active, #pets.active {
	display: block;
	opacity:1;
}
@keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}


