@import url("fonts.css");
* {
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* -webkit-tap-highlight-color: rgba(255, 255, 255, 0); */
}
body {
	background: #2f2582;
    font-family: 'pixeledregular';
	font-size: 10px;
	margin: 0;
}
.container {
    /* width: 1140px; */
    margin: 0 auto;
    padding: 98px 70px;
}
.top {
	display: flex;
	justify-content: space-between;
}

#logo {
    width: 224px;
    height: 35px;
    position: relative;
	display: block;
}
#logo.showDot:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -7px;
    width: 7px;
    height: 7px;
    background: #e21920;
    transform: rotate(0deg);
    animation: drop 5s linear;
}
#logo.showDot:before {
    content: '\00AE';
    top: -7px;
    font-size: 12px;
    position: absolute;
    right: -14px;
    width: 7px;
    height: 7px;
    transform: rotate(0deg);
    color: #e21920;
    font-family: 'Arial';
    line-height: 7px;
    display: block;
}
#logo:hover .row:nth-child(2) {
	left: 7px;
}
#logo:hover .row:nth-child(3) {
	left: 14px;
}
#logo:hover .row:nth-child(4) {
	left: 21px;
}
#logo:hover .row:nth-child(5) {
	left: 28px;
}

/* #house {
	width: 100px;
	height: 68px;
	background: #18114c;
	position: absolute;
	bottom: 0;
} */

#hamburger {
    width: 28px;
    height: 35px;
    cursor: pointer;
    position: relative;
}
#hamburger:hover .row:nth-child(1){
	top: -7px;
}
#hamburger:hover .row:nth-child(5){
	bottom: -7px;
}
#hamburger:hover:after {
    content: 'MENU';
    background: #000;
    color: #fff;
    position: absolute;
    top: calc(100% + 20px);
    font-size: 8px;
    padding: 0 9px;
    text-align: center;
    padding-bottom: 3px;
    padding-left: 11px;
}

#fullscreen {
	width: 28px;
    height: 35px;
    cursor: pointer;
	margin-left: auto;
    margin-right: 21px;
	position: relative;
}
#fullscreen:hover .row:nth-child(1),
#fullscreen:hover .row:nth-child(2){
	right: -7px;
}
#fullscreen:hover .row:nth-child(4),
#fullscreen:hover .row:nth-child(5){
	left: -7px;
}
#fullscreen:hover:after {
    content: 'FULL SCREEN';
    background: #000;
    color: #fff;
    position: absolute;
    top: calc(100% + 20px);
    left: -7px;
    font-size: 8px;
    padding: 0 9px;
    text-align: center;
    padding-bottom: 3px;
    padding-left: 11px;
    width: 90px;
}

#envelope {
    width: 49px;
    height: 42px;
    cursor: pointer;
    position: relative;
    top: -7px;
}

#empire {
	width: 238px;
    height: 826px;
    position: absolute;
    margin-top: 100px;
    bottom: 0;
    right: 154px;
}
#empire .square {
	width: 14px;
	height: 14px;
}
#openMenu {
	position: fixed;
	top: 0;
	right: 0;
	/* transform: rotate(90deg); */
}
#openMenu .square {
	width: 14px;
	height: 14px;
}
#openMenu .square.color {
	background: #fff;
	    OUTLINE: 1px solid #fff;
	/* background: rgba(255,255,255,0.8); */
}

#eiffel {
	width: 350px;
    height: 644px;
    position: absolute;
    margin-top: 100px;
    right: 462px; 
    bottom: 0;
}
#eiffel .square {
	width: 14px;
	height: 14px;
}

.row {
    width: auto;
	position: relative;
	transition: all 0.2s ease-in-out;
    left: 0;
}
.square {
    width: 7px;
    height: 7px;
    display: inline-block;
    visibility: hidden;
}
.square.color {
    background: #e1191f;
}
.square.visible {
	visibility: visible;
}

footer {
	color: #e1191f;
	position: fixed;
	bottom: 92px;
	text-align: left;
}

.box {
	/* background: rgba(0,0,0,0.8); */
	background: #000;
	height: 100px;
    animation: showRight 1s linear;
	width: 0;
	position: fixed;
	right: 70px;
	bottom: 98px;
	color: #fff;
    font-size: 8px;
    box-sizing: border-box;
	width: 420px;
	overflow: hidden;
	cursor: pointer;
}
.box.hide {
	animation: hideRight 1s linear;
	width: 0;
}
.box div {
	display: none;
    padding: 10px 20px;
}

.invert {
	background: #e1191f;
	color: #2f2582;
	display: inline-block;
	padding: 0 7px;
	margin-top: 20px;
    position: absolute;
    bottom: 121px;
}

#bird,
#bird2,
#bird3,
#bird4  {
	width: 63px;
	height: 48px;
	margin-top: 50px;
}
#bird .square,
#bird2 .square,
#bird3 .square,
#bird4 .square {
	width: 3px;
	height: 3px;
}
#bird .square:nth-child(even),
#bird2 .square:nth-child(even),
#bird3 .square:nth-child(even),
#bird4 .square:nth-child(even) {
	display: none;
}


.bird-anim {
	position: absolute;
	width: 63px;
	height: 48px;
	right: 70px;
	cursor: pointer;
}
.bird-anim#b1 {
	top: 200px;
}
.bird-anim#b2 {
	top: 260px;
}
.bird-anim > div {
	position: absolute;
	top: 0;
	left: 0;
}
.bird-anim #bird2,
.bird-anim #bird4,
.bird-anim.anim #bird,
.bird-anim.anim #bird3 {
	display: none;
}

.bird-anim.anim #bird2,
.bird-anim.anim #bird4 {
	display: block;
}

#userScore {
	color: #e1191f;
	margin-top: 90px;
}
#userScore span {
	margin-left: 20px;
}

#start-game {
	color: #2f2582;
	background: #e1191f;
	display: inline-block;
    padding: 0 7px;
    cursor: pointer;
    position: absolute;
    right: 602px;
    bottom: 98px;
}
#try-again {
	color: #2f2582;
	background: #e1191f;
	display: inline-block;
    padding: 0 7px;
    cursor: pointer;
    position: absolute;
    display: none;
}

.offer {
	font-size: 30px;
    text-transform: uppercase;
    margin-top: 200px;
    background: #e1191f;
    color: #2f2582;
    padding: 0 30px 10px;
    z-index: 1;
    position: relative;
    display: inline-block;
    animation: showRight 3s linear;
}
.offer div {
	display: none;
}

.contact-info {
	color: #e1191f;
    font-size: 20px;
    background: #302582;
    width: 320px;
    position: relative;
    z-index: 1;
}

@keyframes drop {
	0%   { 
		animation-timing-function: steps(18);
		bottom: 130px;
		right: 3px;	
	}
	15% {
		animation-timing-function: steps(24);
		bottom: 35px;
		right: 3px;
	}
	24% {
		bottom: 35px;
		right: 3px;
	}
	
	30% {
		transform: rotate(60deg);
		right: -1px;
		bottom: 32px;
	}
	35% {
		transform: rotate(110deg);
		right: -6px;
		bottom: 28px;
	}
	45% {
		animation-timing-function: steps(12);
		transform: rotate(180deg);
		right: -7px;
		bottom: 0px;
	}
	100% {
		animation-timing-function: steps(12);
		transform: rotate(180deg);
		right: -7px;
		bottom: 0px;
	}
}

@keyframes showRight {
	0%   { 
		animation-timing-function: steps(30);
		width: 0px;
	}
	100% {
		width: 420px;
	}
}

@keyframes hideRight {
	0%   { 
		animation-timing-function: steps(30);
		width: 420px;
	}
	100% {
		width: 0;
	}
}
