@font-face {
    font-family: "aspace"; 
    src: url("aspace_demo.otf"); 
}
@keyframes pulsate {
    0%   {transform:rotate(-135deg);}    
    50%  {transform:rotate(-45deg);}    
    100% {transform:rotate(-135deg);}
}
@keyframes winAmination {
    0%   {transform:rotate(-75deg);}        
	50%  {transform:rotate(-105deg);}
    100% {transform:rotate(-75deg);}
}
@keyframes slideToRight {
    0%   {margin-left:-50vw;}        	
    100% {margin-left:4vw;}
}
.charSelect{
	padding:1vw;
	padding-left:20px;
	padding-right:20px;	
	height:15vw;
	background-color:#523a74;
	border-radius : 10px;	
	box-shadow: 5px 5px 0px 0px #70b2f4;
}
.leftChar, .rightChar{	
	
	cursor:pointer;
	color:#00ddcd;
	background-color:#523a74;
	border-radius : 10px;	
	padding:1vw;
	display:inline-block;
	margin-top:6vw;
}
.rightChar{
	margin-left:8vw;
}
.leftChar:hover,.rightChar:hover{
	background-color:#9f58e5;
}	

.charSelect img{	
	position:absolute;
	margin-top:7%;
	right:25%;	
	width:10vw;
	height:6vw;
	display:none;
	transform:rotate(-90deg);
	animation-name: pulsate;
    animation-duration: 8s;
    animation-iteration-count: infinite;
}

body {
    overflow:hidden;
	margin:0px;
	background:url('../imgs/Vector_Space_Wallpaper.jpg');
	background-repeat:no-repeat;	
	background-size:cover;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#loading{
	color: #00ddcd;		
	font-size:5vw;
	position:absolute;	
	width:100%;
	height:100vw;
	text-align:center;
	line-height:50vw;
	background-color:black;
	z-index:1000;
}
#backgroundImg{
	overflow:hidden;
	width : 95%;
	height : 95%;
	float:left;
	position : absolute;
	z-index : -1000;
	visibility : hidden;
}
#back_layer{	
	font-family:'aspace';		
	border:solid medium #70b2f4;
	border-radius:5px;		
	z-index: -1;
	margin:0 auto;	
	position:absolute;
	left:0;
	right:0;
	top:4%;
}
#layer{	
	font-family:'aspace';		
	border:solid medium #70b2f4;
	border-radius:5px;		
	z-index: 2;		
	margin:0 auto;	
	position:absolute;
	left:0;
	right:0;	
	top:4%;
	
}

#canvasLifes{
	margin-top:-1vw;
	width:100%;
	height:100%;
	padding-bottom:1vw;
	visibility:hidden;
	opacity:0;
	transition:opacity 0.5s linear;
}
#countdown{	
	position:absolute;
	color:#00ddcd;	
	background: url("../imgs/bg.png") 50% 50% repeat;	
	font-size:10vw;	
	border-radius : 10px;	
	font-family:'aspace';	
	text-align:center;
	vertical-align:middle;
	width:100vw;
	height:100vw;	
	line-height:50vw;
	left:0;
	top:0;
	z-index:5;
	visibility:hidden;
	opacity:0;
	transition:opacity 0.5s linear;
	
}
.lifes{
	top:-1vw;
	margin-bottom:0px;
	font-family:'aspace';	
	font-size:1.8vw;
	position: relative;   
    z-index: 2;
	background: #523a74;
	color: #00ddcd;	
	display : none;
	width:100%;	
}		
#timer{	
	text-align:center;	
	margin:0 auto;	
	visibility:hidden;
	opacity:0;
	border-radius : 10px;
	transition:opacity 0.5s linear;	
}
#J2{
	position:absolute;	
	right:2vw;
	top:2vw;
}
#J1{
	position:absolute;	
	left:2vw;
	top:2vw;
}
#tiempo{
	position:absolute;	
	width:100%;
	top:1vw;
}
#hiddenImgs{
	display:none;
}
.charImgs{
	position:absolute;
}
#jogadores{			
	float:right;	
	text-align:center;
	position:relative;	
	padding-top:8%;
	padding-bottom:8%;	
	margin-right:8vw;
	visibility:hidden;
	opacity:0;
	transition:opacity 0.5s linear;
}	
#menuPrincipal{		
	margin-left: 10%;    
	visibility : visible;	
	opacity:1;
	transition:visibility 0s linear 0.5s,opacity 0.5s linear;
}
#bra{
	position:fixed;
	float:right;
	cursor:pointer;
	width:5vw;
	height:5vw;
	bottom:5%;
	right:5%;
	background: url("../imgs/USA-icon.png");
	background-repeat:no-repeat;
	background-position:top left;
	background-size:5vw;
	
}
#menuFim{	
	width:100%;	
	color:#70b2f4;
	visibility:hidden;
	opacity:0;
	transition:opacity 0.5s linear;		
}
#menuFim span{
	height:30%;	
	background-color:#523a74;
	border-radius : 10px;	
	box-shadow: 5px 5px 0px 0px #70b2f4;
	padding:2%;
	display:none;	
	margin-left:4vw;
	margin-top:10%;
	animation-name : slideToRight;
	animation-duration:3s;
	animation-iteration-count:1;
}
#menuFim img{			
	width:45%;
	transform:rotate(-90deg);
	position:absolute;
	left:50%;
	animation-name: winAmination;
    animation-duration: 8s;
    animation-iteration-count: infinite;
}
#menuFim h2{
	margin-left:2vw;
}
#menuFimButts{
	width:50%;		
	margin-top:12%;	
}
#menuPause{	
	margin-top:18%;	
	width:50%;	
	margin-right:1%;
	margin-left:25%;
	visibility:hidden;
}
#menuArena{
	text-align:center;	
	visibility : hidden;	
	opacity:0;
	margin-left:8vw;
	padding-top:8%;
	padding-bottom:8%;
	transition:opacity 0.5s linear;
	margin-top:-1vw;
}

#menuArena table{
	margin : 0 auto;
	margin-bottom:1%;
}
#menuArenaInside{
	margin : 0px:
}
#arenaSpacer {
	content: '';
    height: 0.1vw;
    min-height: 1px;
    max-height: 2vw;
    display: inline-block;
}

#menuArena table td{
	padding:8px;	
	text-align:center;
	cursor:pointer;
	background-color:#523a74;
	border-radius : 10px;
	width : 10vw;
}
#menuArena table td:hover{
	background-color:#9f58e5;
}

#menuArena table td img{
	display: block;
    margin-left: auto;
    margin-right: auto;
	margin-bottom:0px;
	width:90%;
	
}
#menuArena table td a{
	float:left;
	width:100%;
}
#menuArena table td label{
	float:left;
	width:100%;
	margin : 0 auto;
	margin-top:-10%;
}


h1{
	font-family:'aspace';	
	margin-left:0 auto;	
	font-size:4vw;	
	background-color : #012645;
	color : #70b2f4;
	margin-top : -4vw;
	
}
h4{
	background-color : #012645;
	color : #70b2f4;
	font-size : 1.5vw;
	text-align:right;
	padding : 5px;		
	margin : 0px;
	margin-bottom : 10px;
	margin-left:-400px;
	padding-left:500px;
}
a{
	color:#00ddcd;
	font-style:none;
	text-decoration:none;
}
a:visited{
	color:#00ddcd;
}
a:hover{

}

.menus{
	padding: 0;
    list-style-type: none;
	font-family:'aspace';
	font-size:2vw;	
	position: absolute;   
    z-index: 3;
	margin:0 auto;
	
}

.menus li{	
	text-align: right;	
	margin-bottom:20px;	
	margin-left:-400px;
	padding:5px;
	padding-left : 500px;	
	background-color:#012645;
	color : #00ddcd;
}
.menus li:hover > a{
	background-color:#70b2f4;
	color:	#9f58e5;
}
.menus li:hover{
	background-color:#70b2f4;
}	
#menuBox{
	position:relative;
	margin-top:4vw;
	margin-left:0px;	
	z-index: 3;
	width:100%;
}
#allThis{
	width:100%;
}
