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;
}

hr {
	border-color:#acacac;
	max-width:98%;
}

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;
	padding:0px;
	margin:0px;
	overflow-x:hidden;
	overflow-y:hidden;
	xfont-size:1.2em;
}

#title-area {
	padding:5px 5px 5px 5px;
	background-color:#1c3049;
	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;
	max-width:500px;
	margin:70px 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;
}

#items {
	xborder:1px solid grey;
	background-color:rgba(0,0,0,0.5);
	text-align:left;
	max-width:300px;
	min-height:300px;
	max-height:60vh;
	margin:auto;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.7);
	padding:10px;
	overflow-y:scroll;
}

.item {
	xborder:1px solid grey;
	xfont-family: 'Roboto Condensed', sans-serif;
	font-weight:400;
	padding:5px 10px 5px 10px;
	cursor:pointer;
	font-size:0.9em;
}

.item:hover {
	background-color:#fde691;
	color:black;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.0);
}

.item.selected{
	background-color:#fde691;
	color:black;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.0);
}

.item > .name {
	xborder:1px solid grey;
	vertical-align: middle;
}

.item > .stars {
	xborder:1px solid grey;
	margin-left:5px;
	font-size:0.6em;
	letter-spacing:2px;
	vertical-align: middle;
}

#item-name-container{
	xborder:1px solid grey;
	margin-top:5px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
	text-align: center;
}

#item-name-container > #item-name{
	font-weight:500;
	vertical-align: middle;
	font-size:1.6em;
}

#item-name-container > #item-stars{
	font-size:0.8em;
	letter-spacing:2px;
	vertical-align: middle;
	margin-left:5px;
}


/************* spinning image stuff *************/
#spinning-image {
	xborder:1px solid grey;
	xmargin:auto;
	object-fit: cover;
	width: 100%;
	height: 100px;
	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: 100px;

}

.image-layer.a1 {
	transform: translateZ(3px);
}

.image-layer.a2 {
	transform: translateZ(2px);
}

.image-layer.a3 {
	transform: translateZ(1px);
}

.image-layer.a4 {
	transform: translateZ(0px);
}

.image-layer.a5 {
	transform: translateZ(-1px);
}

.image-layer.a6 {
	transform: translateZ(-2px);
}

.image-layer.a7 {
	transform: translateZ(-3px);
}




@keyframes spin {
	from { transform: rotateY(-90deg); }
	to { transform: rotateY(-450deg); }
}

#cube {
	transform: rotateY(90deg);
	animation:spin 15s infinite linear;
}

/************* *************/














