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;
}

img {

}
/*
img:hover {
  border: 2px solid rgba(130, 20, 20, 1);
  transition: all 300ms ease-in-out;
}
*/

.shoe{
  width: auto;
  max-width: 1000px;
  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{
  width: 100%;

  border-top: 1px solid rgba(130, 20, 20, 1);
  display: grid;
  grid-template-columns: repeat(10,1fr);
  grid-auto-flow: row;
}




#table{
  width: 100%;
  height: 10vw;
  max-height: 126px;
  //border-top: 1px solid rgba(130, 20, 20, 1);
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(10,1fr);
  grid-auto-flow: row;

}

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

}



.card{
  border-radius: 5px;
  border: 2px solid white;
  width: 100%;
  height: auto;
  background-color: white;
  position: relative;
  //pointer-events: none;

  transition: border 200ms ease;
}

.shadow{
    box-shadow: 0 0 4px 0px black;
}

.up {
  cursor: grab;
}

#stack {
  width: auto;
  line-height: 11vw;
  font-size: 4vw;
  text-align: center;
  //display: inline-block;
  margin-right: 1vw;
  position: relative;
}

.stack{
  //width: 190px;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;

  object-fit: contain;
  cursor: pointer;
}

.zslot {
  width: auto;
  height: 100%;
  //background-color: white;

  margin-right: 1vw;
  align-content: center;
  justify-content: center;
  text-align: center;
  position: relative;

}

.zcard {
  width: 100%;
  height: 11.55vw;
  max-height: 126px;
  color: #fefefe;
  border: 1px solid black;
  border-radius: 5px;
  background-color: white;
  line-height: 11vw;
  font-size: 4vw;
  position: absolute;
  top: 0;
  left: 0;

  transition: background-color 200ms ease;
}

.fourteen {
  border: none;
  background-color: rgba(255,255,255,0);
}

.tower {
  width: auto;
  //height: 800px;

  margin-right: 1vw;
  display: grid;
  //grid-auto-rows: repeat(40, 20px);
  grid-auto-rows: calc(2vw + 5px);

}

#footer {
  height: 200px;
}




/* Instructions */

#overlay {
 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 {
  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;
}

.hidden {
  visibility: hidden;
}


///////////////











/////////////////////









/////
