/*
This was converted to responsive sizing by Albino Blacksheep.
*/

html {
  display: table;
  width: 100%;
  height: 100%;
  font-size:calc(.25em + 1vw);

}


@media only screen and (max-width:350px){
html {font-size:calc(.25em + .9vw);}
}


@media only screen and (max-width:319px){
html {font-size:calc(.25em + .8vw);}
}

body {
  display: table-row;
  background: #000 radial-gradient(1000px 500px, #3f546b, #000);
    background: #000 radial-gradient(62.5em 31.25em, #3f546b, #000);
	
	-moz-text-size-adjust:none;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;
	
}

.wrapper {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.content {
  display: inline-block;
  width: 668px;
  width:41.75em;
  margin: 0 auto;
/*  padding: 10px 20px;
  padding: .625em 1.25em;
  */
}

.sidebar {
  float: left;
  margin-right: 20px;
  margin-right:1.25em;
  width: 220px;
  width: 13.75em;
  text-align: left;
  font-family: 'Doppio One', sans-serif;
  color: #ccc;
}

h1,
h2 {
  color: #fff;
  margin: 0;
  font-weight: normal;
}

h1 {
/*  height: 68px;
  height: 4.25em; */
  line-height: 68px;
  line-height: 4.25em;
  font-size: 40px;
  font-size: 2.5em;
  text-align: right;
}

h2 {
  font-size: 18px;
  font-size:1.125em;
}

.panel {
  padding: 12px;
  padding: .75em;
  margin-bottom: 20px;
  margin-bottom:1.25em;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border-radius: .5em;
}

.dif-options {
  clear: both;
  overflow: hidden;
  margin: 20px -7px 0;
  margin: 1.25em -.4375em 0;
}

.dif-options div {
  float: left;
  width: 20%;
}

.dif-options input {
  display: none;
}

.dif-options input:checked+label {
  color: #fff;
  background-color: #593f6b;
  border-color: #fff;
  cursor: default;
}

.dif-options label {
  display: block;
  margin: 0 auto;
  width: 24px;width: 1.5em;
  height: 24px;height:1.5em;
  background-color: #666;
  border: solid 2px #ccc;
   border: solid .125em #ccc;
  border-radius: 8px;
    border-radius: .5em;
  color: #999;
  text-align: center;
  line-height: 24px; line-height: 1.5em;
  cursor: pointer;
}

.freeze .dif-options input:not(:checked)+label {
  font-size: 0;
  margin: 7px auto;  margin:.4375em auto;
  width: 10px; width: .625em;
  height: 10px; height: .625em;
  border-radius: 4px; border-radius: .25em;
  color: transparent;
  line-height: 10px;line-height: .625em;
  cursor: default;
  transition: .2s;
}

.start {
  margin-top: 20px; margin-top: 1.25em;
}

.start button {
  display: block;
  width: 100%;
  padding: 2px 12px 4px;  padding: .125em .75em .25em;
  font-family: inherit;
  font-size: 24px; font-size: 1.5em;
  border: solid 2px #ccc;  border: solid .125em #ccc;
  border-radius: 8px; border-radius: .5em;
  background-color: #593f6b;
  color: #fff;
  cursor: pointer;
}

.start button:focus {
  outline: none;
}

.freeze .start {
  display: none;
}

.info div {
  margin-top: 10px;  margin-top: .625em;
}

.board {
  position: relative;
  float: left;
  width: 428px;  width: 26.75em;
  height: 428px;  height: 26.75em;
  margin-top: 68px; margin-top: 4.25em;
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/77020/board.png");
    background-image: url("board.png");
	background-size: 26.75em 26.75em;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 1.25em 0 rgba(0, 0, 0, 0.4);
}

.lit-columns,
.lit-cells,
.chips,
.click-columns {
  position: absolute;
  width: 428px; width: 26.75em;
  height: 428px; height: 26.75em;
}

.lit-columns div {
  float: left;
  width: 60px;  width: 3.75em;
  height: 426px;  height: 26.625em;
  margin: 1px 0 1px 1px;   margin: .0625em 0 .0625em .0625em;
  transition: background-color 0.1s;
}

.lit-columns .lit {
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.1s;
}

.lit-cells div {
  position: absolute;
  width: 60px; width: 3.75em;
  height: 60px;height: 3.75em;
  background-color: rgba(255, 255, 255, 0.3);
}

.chips div {
  position: absolute;
  width: 60px; width: 3.75em;
  height: 60px;height: 3.75em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.chips .p1 {
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/77020/p1-chip.png");
    background-image: url("p1-chip.png");
	background-size: 3.75em 3.75em;
}

.chips .p2 {
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/77020/p2-chip.png");
    background-image: url("p2-chip.png");
		background-size: 3.75em 3.75em;
}

.chips .cursor {
  bottom: 428px;   bottom: 26.75em;
  transition: left 0.1s ease-out;
}

.chips .dropped {
  transition: bottom ease-in;
  animation: bounce 0.3s;
}

.click-columns div {
  float: left;
  width: 61px;   width: 3.8125em;
  height: 428px;   height: 26.75em;
}

.click-columns div:first-child {
  padding-left: 1px;  padding-left: .0625em;
}

.click-columns .hover {
  cursor: pointer;
}

@keyframes bounce {
  0% {
    animation-timing-function: ease-out;
    transform: translateY(0);
  }
  30% {
    animation-timing-function: ease-in;
    transform: translateY(-40px);     transform: translateY(-2.5em);
  }
  60% {
    animation-timing-function: ease-out;
    transform: translateY(0);
  }
  80% {
    animation-timing-function: ease-in;
    transform: translateY(-10px);     transform: translateY(-.625em);
  }
  100% {
    animation-timing-function: ease-out;
    transform: translateY(0);
  }
}