html {
  box-sizing: border-box;
  font-size: 10px;
  background-color: 'black';
  font-family: helvetica, sans-serif;
  margin: 0;
}
*, *:before, *:after {
  box-sizing: inherit;
}

html, body{
    background-color: rgba(245,240,240,1);
    width: 100%;
    height: 100%;
    margin: 0;
}

body{
  margin: 0;
  margin-top: 2rem;
  user-select: none;
}

h1 {
  color: rgba(50,30,30,1);
  font-size: 3rem;
  line-height: 3.5rem;
  margin: 0;
}
h3 {
  color: rgba(130, 20, 20, 1);
  font-size: 1.2rem;
  line-height: 2rem;
  margin: 0;
  font-weight: bold;
}

p {
  margin-top: 5px;
  margin-bottom: 20px;
}

.shoe{
  width: auto;
  margin-left: calc(5px + 3vw);
  margin-right: calc(5px + 3vw);
}

.heading{
  font-weight: bold;
  text-decoration: none;
  color: rgba(130, 20, 20, 1);
  //margin-right: 2rem;
  margin-bottom: 3rem;
  line-height: 2.5rem;
}

.settings{
  font-size: 1.5rem;
  font-weight: bold;
  margin: 3rem;
  margin-left: 0rem;
  margin-top: 1rem;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: rgba(130, 20, 20, 1);
  margin-right: 1rem;
  line-height: 2.5rem;
}


/* Gmae board */

#gameBoard{
  border-collapse: collapse;
  margin: 0;
}

#gb-place{
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(7,1fr);
  grid-auto-flow: row;
}

#canvas {
  background-color: white;
}

.tower {
  max-width: 130px;
  display: grid;
  grid-template-rows: repeat(20,36px);
  grid-auto-flow: column;
  //display: block;
  height: 800px;
  //position: static;
}

#table{
  height: 165px;

}

#stack {
  width: 130px;
  height: 161px;
  display: inline-block;
}
#hand {
  width: 200px;
  height: 161px;
  display: inline-block;
}

#zerocards{
  width: 500px;
  height: 180px;
  display: inline-block;
}

#reset{
  color: rgba(130, 20, 20, 1);

}

.goup {
  width: 116px;
  height: 161px;
  display: inline-block;
}

.zerocard {
  text-align: center;
  line-height: 161px;
  font-size: 100px;
  color: #fefefe;
  border: 1px solid black;
  width: 116px;
  height: 161px;
  background-color: white;
  //position: relative;
  //pointer-events: none;
  //align-content: center;
  //vertical-align: middle;
  border-radius: 7px;
  position: absolute;
}

.card{
  border: 1px solid black;
  width: 116px;
  height: 161px;
  background-color: white;
  position: relative;
  display: inline-block;
  //top: 30px;
  align-content: center;
  vertical-align: middle;
  border-radius: 7px;
}
.stack{
  border: 1px solid black;
  width: 116px;
  height: 161px;
  background-color: white;
  position: absolute;
  //display: inline-block;
  //top: 30px;
  //align-content: center;
  //vertical-align: middle;
  border-radius: 7px;
}
.fourteen {
  border: none;
  background-color: rgba(255,255,255,0);
}

img {
  width: 100px;
  height: auto;
  margin: 0px;
  padding: 0px;
  //vertical-align: sub;
  position: absolute;
  top: 7px;
  left: 7px;
  pointer-events: none;
}




/* Amimation
@keyframes grow_green {
  0% {
    background-color: white;
  }
  70%{
    background-color: rgba(6,60,0,1);
  }
  100% {
    background-color: black;
  }
}
@keyframes die_red {
  0% {
    background-color: black;
  }
  30%{
    background-color: rgba(44,22,0,1);
  }
  100% {
    background-color: white;
  }
}
*/

/* Instructions */

#overlay {
 visibility: hidden;
 position: fixed;
 top:0;
 bottom:0;
 left:0;
 right:0;
 width:100vw;
 //min-height:100%;
 //text-align:center;
 z-index: 100;
 background-color: rgba(100,100,100,0.5);
 display: flex;
}

.overtext {
  visibility: hidden;
  position: absolute;
  top: 1rem;
  //bottom:0;
  left: 2vw;
  //right: 1rem;
  width:96vw;
  //min-width: 480px;
  max-width: 600px;
  margin: 0;
  background-color: #fff;
  border:1px solid rgba(50,30,30,1);
  //border-radius: 25px;
  padding:25px;
  color: rgba(130, 20, 20, 1);
  font-size: 1.6rem;
  font-family: 'Fira Sans', sans-serif;
  text-align:left;
  z-index: 200;
}

#close{
  width: 20px;
  height: 20px;
  margin-right: 30px;
  float: right;
  cursor: pointer;
}












/////
