html,body {
  background-color: #eee;
  margin: 0px;
  padding: 0px;
  font-family: sans-serif;
  font-size: 14;
}
header {
  display: flex;
  justify-content: space-between;
  background-color: #EEE;
}
header .title {
  font-size: 150%;
  margin: 2px 2px 0px 2px;
}
tab {
  display: inline-block;
  user-select: none;
  margin: 2px 2px 0px 2px;
  padding: 5px;
  background-color: #DDD;
}
tab popout {
  display: none;
}
tab:hover {
  background-color: white;
}

/* tab:nth-child(3) popout, */
tab:hover popout
{
  display: block;
  position: absolute;
  background-color: white;
  left: 0px;
  right: 0px;
  top: 28px;
  bottom: 0px;
  z-index: 2;
}

#game_tab,
#social_tab {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  height: 100%;
  margin: 25px;
}

#full_screen[message="0"] {
  display:none;
}
#full_screen desc {
  display: none;
}
#full_screen {
  display: block;
  position: absolute;
  left: 0px;
  right: 0px;
  top: 28px;
  bottom: 0px;
  background: white;
  font-size: 200%;
  z-index: 1;
}
#message message {
  display: block;
  margin: 0.5em;
  font-size: 90%;
}
#message_clickers {
  display: block;
  position: absolute;
  right: 0px;
  bottom: 0px;
}
button {
  width: 100px;
}
game {
  position: relative;
  display: block;
  width: 800px;
  height: 400px;
  margin: 0em;
  padding: 0em;
  background-color: white;
  overflow: hidden;
}
value {
  display: block;
}
desc {
  display:none;
}


multibar {
  display:flex;
  align-items: center;
  user-select: none;
  height: 1em;
  margin: 0.2em;
}
main-label {
  display: block;
}
boxes {
  display: block;
  flex-grow: 1;
  width: 100%;
  height: 100%;
  border: 0.1em solid black;
}
boxes box-bg {
  display: inline-block;
}
boxes box-bg val {
  display: none;
}
box-bg > main-label {
  display: none;
}
boxes box-fg {
  display: block;
  width: 100%;
  height: 100%;
}


value:hover desc{}
skill name:hover desc,
clicker:hover desc, 
main-label:hover + desc,
box-bg:hover > main-label,
image:hover > desc
{
  display: block;
  position: absolute;
  color: black;
  background: white;
  padding: 0.2em;
  border: 0.1em solid black;
  margin-top: 1em;
  font-size: 10px;
  z-index: 1;
}
#stats value:hover desc {
  display: block;
  position: absolute;
  left: 80%;
  color: black;
  background: white;
  padding: 0.2em;
  border: 0.1em solid black;
  margin-top: 1em;
  font-size: 10px;
}

skill {
  display: block;
  user-select: none;
}
pline mult,
skill > val {
  display: none;
}
pbar {
  display: block;
  height: 0.6rem;
  background-color: white;
  border: 0.08rem solid black;
  border-bottom: none;
}
pbar exp {
  display: block;
  height: 100%;
  background-color: darkgrey;
  color: #D8D8D8;
  font-size: 0.6em;
}
skill clickers clickbox {
  display: block;
}

clicker clickbox {
  display: inline-block;
  user-select: none;
  border: 0.08rem solid black;
  border-radius: 0.4em;
  min-width: 1em;
  min-height: 1em;
  padding: 0.2em;
  background-color: #eee;
}

clicker:hover:not(.disabled):not(:active) clickbox {
  box-shadow: 0.1rem 0.1rem 0.2rem black;
  z-index: 1;
}
clicker:active:not(.disabled) clickbox {
  z-index: 1;
}

clicker.disabled clickbox {
  background: transparent;
  border: 0.08rem solid grey;
  color: #ccc;
}
.autoclick clickbox {
  border-radius: 0em;
}

image {
  padding: .5em;
}
img {
  display: block;
  height: 3em;
}
.end {
  font-size: 75%;
}

box-fg {
  background-color: black;
}


#title {
  display: block;
  font-size: 35px;
  position: relative;
  left: 140px;
  height: 40px;
}
#rebirth {
  display: block;
  position: absolute;
  top: 43px;
  right: 180px;
}
#all {
  display: flex;
  height: 285px;
  justify-content: center;
}
#left_butt clickbox,
#right_butt clickbox {
  padding-top: 100px;
  height: 181px;  
  width: 20px;
}
#left, #right {
  display: flex;
  flex-flow: column;
  width: 150px;
}
#left {
  align-items: flex-end; 
}
#right {
  align-items: flex-start; 
}
#center{
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 1fr 150px;
  width: 450px;
  border: 3px solid black;
}
#bulk {
  padding: 2px;
  grid-row-start: 1;
}
#destroy {
  grid-row-start: 2;
  display: flex;
  flex-flow: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}
#action {
  grid-row-start: 3;
  grid-column-start: 1;
  grid-column-end: 3;
  display: flex;
  flex-flow: row wrap;
}
#stats {
  grid-row-start: 1;
  grid-row-end: 3;
}
#stats value {
  display: flex;
  flex-flow: row-reverse;
  justify-content: space-between;
  padding: 2px;
}
#leaders {
  display: flex;
  justify-content: center;
  position: relative;
  margin: 2;
}
#leaders clicker:hover desc {
  display: block;
  position: absolute;
  top: -200%;
}
#achievement {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-content: start;
  justify-content: space-evenly;
  position: relative;
  font-size: 200%;
  height: calc(400px - 1em);
}
#achievement value {
  display: block;
  margin: 0.7em;
}
#achievement value:hover desc {
  display: block;
  position: absolute;
  border: 1px solid blue;
  font-size: 50%;
  z-index: 1;
}

