* {
  font-family: Alkhemikal;
  src: url(/assets/Alkhemikal.ttf);
}

/* reset CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

h1, h2, h3, p {
    color:#ccc;

}

body {
	line-height: 1;
}

.wrapper
{
	width:100%;
	height:100%;
	position:absolute;
	left:0px;
	top:0px;
	right:0px;
	bottom:0px;
	/*min-width:1280px;*/
}

html {
    font-family: "Alkhemikal", "Alkhemikal", serif;    -webkit-font-smoothing : none;
    image-rendering: optimizeSpeed;             /* STOP SMOOTHING, GIVE ME SPEED  */
    image-rendering: -moz-crisp-edges;          /* Firefox                        */
    image-rendering: -o-crisp-edges;            /* Opera                          */
    image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
    image-rendering: pixelated; /* Chrome */
    image-rendering: optimize-contrast;         /* CSS3 Proposed                  */
    -ms-interpolation-mode: nearest-neighbor;   /* IE8+                           */
    -webkit-font-smoothing: none;
    font-smooth: never;
    touch-action: manipulation;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                        supported by Chrome, Edge, Opera and Firefox */
}

html,body
{
    overflow: hidden;
    overflow: -moz-hidden-unscrollable;
	width:100%;
	height:100%;
}


.bookanchor {
    position:absolute;
	left:45%;
	top:45%;
}

.book {
    position: absolute;
    width: 42px;
    height: 34px;
    background: url('assets/spritesheet-test.png') left center;
    transform: scale(8);
	z-index:100000;
    cursor:not-allowed;

}

.separator {
    width:16px;
	height:100%;
	background:url('assets/seperator.png') repeat-y;
    position:absolute;
	top:0px;
	bottom:0px;
    left:35%;
    z-index: 1000000000;
}

.bookanchor > .a {
    animation: play 0.95s steps(13);
}

.fadeoutc {
    animation: fadeout 0.4s;
}

.fadeinc {
    animation: fadein 0.4s;
}

@keyframes fadeout {
    100% { opacity: 0;}
}

@keyframes fadein {
    0% { opacity: 0;}
    100% { opacity: 1;}
}

@keyframes play {
    100% { background-position: -546px; };
 }


 .bookanchor > .b {
    background: url('assets/spritesheet-test.png') right center;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
 }

 .bookanchor > .b:hover {
    transform: scale(8.4);
 }

 .bookanchor > .b:active {
    transform: scale(7.8);
 }

 .sectionleft {
	position:absolute;
	left:0px;
	top:0px;
	width:35%;
	bottom:0px;
    background-color: rgb(21, 19, 26);
    z-index: 10;
    /*overflow:hidden;*/
 }

.topbar
{
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:32px;
	background:url("assets/topbar.png") repeat-x bottom;
	color:#ccc;
}

.changelog {
    width: 100%;
    height: 200px;
    border-bottom:4px solid rgb(46, 34, 47);
    overflow-y:auto;
    margin-bottom: 10px;

}
button {
    text-align: center;
    font-size: 16px;
    border-radius: 4px;    
    display: inline-block;
    opacity: 0.6;
    padding: 15px 32px;
    box-shadow: 0 6px rgb(95, 95, 95);
    border: none;
}

button:hover {
    opacity: 1;
}

.startmenu {
    opacity: 1;
}

button:active {
    transform: translateY(2px);
    box-shadow: 0 3px rgb(39, 39, 39);

}

.changelog > h2{
    font-size: 30px;
    color: rgb(174, 70, 235);
}

.topbar>div
{
	display:inline-block;
	float: left;
	border-right:1px solid rgb(46, 34, 47);
	padding:7px 8px 9px 8px;
    
}

.game {
    position:absolute;
	left:0px;
	top:32px;
	right:0px;
	bottom:0px;
	overflow:hidden;
}
 .sectionright > h1 {
     font-size: 50px;
 }

 .sectionright{
	position:absolute;
	left:35%;
    padding-left: 35px; padding-top: 15px;
    width: 65%;
    height: 100%;
    top:0px;
    bottom:0px;
    background-color: rgb(89, 82, 99);

    z-index: 100;
	/*overflow:hidden;*/
 }

 .unusable {
     opacity: 0.6;
     pointer-events: none;
 }

 .hidden {
     display: none;
 }

 /* Style the tab */
.tab {
    left: 18px;
	top:0px;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    width: 50%;
  }
  
  /* Style the buttons that are used to open the tab content */
  .tab button {
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
  }
  
  /* Change background color of buttons on hover */
  .tab button:hover {
    background-color: #ddd;
  }
  
  /* Create an active/current tablink class */
  .tab button.active {
    background-color: #ccc;
  }
  
  /* Style the tab content */
  .tabcontent {
    display: none;
    padding: 6px 12px;
  }

  .topbarsep {
    position:absolute;
    left:36.5%;
  }

  #summonsTab {
      top: 50px;
  }

  #summonsTab > table {
    width:300px;
	height:64px;
    cursor:pointer;
    position: relative;
    padding: 10px;
    background:url("assets/box.png") no-repeat;
  }

  #summonsTab > table:hover {
    box-shadow:0px 0px 16px rgb(168, 130, 167) inset,0px 0px 1px #000;
	z-index:20;
	filter:brightness(115%);
	-webkit-filter:brightness(115%);
  }

  #summonsTab > table:active {
	box-shadow:0px 0px 16px #000 inset;
  }

  .shopButton img:not(.a) {
	width:64px;
	height:64px;
	position:absolute;
	left:0px;
	top:0px;
	margin-left:2px;
    transition: left 0.4s;
  }

  .shopButton {
      margin-bottom: 5px;
  }

  #nameAndCost {
    display:inline-block;
	position:absolute;
    font-size: 1.1em;
	left:64px;
	top:6px;
	right:0px;
	bottom:6px;
	padding:4px;
    margin-left: 5px;
    text-shadow:0px 0px 6px #000,0px 1px 1px #000;

  }

  #summonsTab #amount {
    position:absolute;
	right:8px;
	bottom:5px;
	font-size:40px;
	opacity:0.4;
	color:#000;
	letter-spacing:-2.5px;
  }

  #spancost span {
     margin-left: 1em;
     bottom: 1px;
  }

  #nameAndCost .a {
      top: 20px;
      position: absolute;
    }