a:link{color:#18b495} 
a:visited{color:#18b495 } 
a:hover{color:#16e980;} 
a:focus{color: #16e980;} 
a:active{color:#d4d365;} 

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

* { box-sizing: border-box; }
button:focus, input:focus {outline:0;}
.clearfix { clear:both; }

.pixelize {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}



body{
	xfont-family:Arial;
	background-color:#325886;
	xfont-family: Segoe UI,Frutiger,Frutiger Linotype,Dejavu Sans,Helvetica Neue,Arial,sans-serif; 
	font-family: 'Roboto Condensed', sans-serif;
	color:#e2e2e2;
	color:#ffffce;
	width:100vw;
	height:100vh;
	padding:0px;
	margin:0px;
	overflow-x:hidden;
	overflow-y:hidden;
	font-size:1.2em;
	xbackground-image: url('http://chazu.arkku.net/files/img/cross.png');
	background-image: url('bg.webp');
	background-repeat:no-repeat;
	background-position:center;
	background-size:cover;
}

#title-area {
	padding:5px 5px 5px 5px;
	background-color:#1c3049;
	background-color:rgba(0,0,0,0.5);
	xmargin-bottom:10px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	width:100vw;
}

#title-icon {
	border: 2px solid rgba(0,0,0,0.9); /* 18b495*/
	border: 2px solid rgba(255,255,255,0.3); /* 18b495*/
	display:inline-block;
	border-radius:20px;
	width:30px;
	height:30px;
	box-shadow: 2px 2px 3px 1px rgba(0, 0, 0,0.4);
	vertical-align:middle;
}

#title {
	margin: 0px 5px 0px 5px;
	color:grey;
	font-size:1em;
	display:inline-block;
}

#content {

}

#effects {
	xborder:1px solid grey;
	xmax-width:500px;
	min-height:100px;
	margin:160px auto auto auto;
	xpadding:10px;
	text-align:center;
}

.effect {

	xborder:1px solid grey;
	padding:3px 0px 3px 0px;
	text-shadow: 1px 1px 1px rgba(0,0,0,1);
	font-weight:400;
	font-size:0.9em;
}


#item-name-container{
	xborder:1px solid grey;
	margin:20px auto auto auto;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
	text-align: center;
	color:#f2c85f;
	xalign-content:center;
}

#item-name-container > #item-name{
	font-weight:600;
	vertical-align: middle;
	font-size:1.6em;
	display:inline-block;
	xmargin:auto;
}

#item-name-container > #item-stars{
	font-size:0.8em;
	letter-spacing:2px;
	vertical-align: middle;
	margin-left:5px;
	display:inline-block;
}

#gen {
    width: 350px;
    box-shadow: 4px 4px 4px rgba(0,0,0,0.5);
	color: #f3e6d0;
    padding: 15px 15px;
    text-align: center;
	margin:auto;
    font-size: 2.5em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	background-color:#73684b;
	text-shadow:2px 2px 0px rgba(0,0,0,1);
}

#gen:hover {
	color:#f5ead6;	
	background-color:#4b442e;
}

#gen:active {
	background-color:#534c32;
}

#gen:focus {
	outline:0;
}




/************* spinning image stuff *************/
#spinning-image {
	xborder:1px solid grey;
	xmargin:auto;
	object-fit: cover;
	max-width:500px;
	width: 100%;
	xheight: 150px;
	z-index:-1;

	position: absolute; 
	left: 0; 
	right: 0; 
	margin-left: auto; 
	margin-right: auto; 
	margin-top:-10px;
	width: 100vw; /* Need a specific value to work */
}

#wrap {
	perspective: 800px; /* 800px */
	perspective-origin: 50% 100px;	
	position: relative;
}

#cube {
	position: relative;
	transform-style: preserve-3d;
}

#cube div {
	position: absolute;
}

.image-layer {
	background-repeat:no-repeat;
	background-position:center;
	background-size:contain;
	image-rendering: crisp-edges;
	width: 100%;
	height: 200px;
}





@keyframes spin {
	from { transform: rotateY(-90deg); }
	to { transform: rotateY(-450deg); }
}

#cube {
	transform: rotateY(90deg);
	animation:spin 15s infinite linear;
}

/************* *************/














