@font-face {
    font-family: 'national_parkregular';
    src: url('fonts/nationalpark-regular-webfont.woff2') format('woff2'),
         url('fonts/nationalpark-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

:root {
  --background-color: #f5f0f0;
  --text-color: #000;
}

html {
  box-sizing: border-box;
  font-size: 10px;
  font-family: helvetica, sans-serif;
  margin: 0;
}

*, *:before, *:after {
  box-sizing: inherit;
}

html, body{
    background-color: #f5f0f0;
    width: 100%;
    height: 100%;
    margin: 0;
}

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

h1 {
  color: #321e1e;
  font-size: 3rem;
  line-height: 3.5rem;
  margin: 0;
}
h3 {
  color: #821414;
  font-size: 1.2rem;
  line-height: 2rem;
  margin: 0;
  font-weight: bold;
}

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

a {
  text-decoration: none;
  color: #821414;
  margin-right: 1rem;
  line-height: 2.5rem;
}

@media (prefers-color-scheme: dark) {
  html, body {
    color: #eee;
    background: #191923;
  }

  body, a, h2, h1, h3, a, p {
    color: #f2d4d4;
  }

}

.shoe{
  //width: auto;
  max-width: 1000px;
}

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

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


/* Gmae board */

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

#gb-place{
  width: auto;
  display: grid;
  grid-template-columns: repeat(10,1fr);
}

.tower {
  width: 100%;
  height: 500px;
  //margin-right: 2px;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-start;
  align-items: center;
}

#table{
  height: auto;
  display: flex;
  justify-content: space-between;

}

#stacks {
  height: auto;
  width: auto;
  display: flex;
}

.stack {
  background-color: darkgray;
  border: 1px solid lightgray;
  position: relative;
  margin: 2px;
}

.stackblock{
  position: absolute;
  pointer-events: none;
}

#zerocards{
  width: auto;
  height: auto;
  display: flex;
  justify-content: flex-end;
}

.crown {
  font-size: 24px;
  text-align: center;
  cursor: grab;
}

.zcrown {
  color: #fefefe;
  border: 1px solid lightgray;
  background-color: darkgray; //rgba(65,60,60,1);
  margin: 2px;
}

.crowned {
  border: 0px;
}

.fourteen {
  background-color: darkgray;
  color: black;
  border: none;
  transition: all 100ms ease-in-out;
}

.card{
  font-family: 'national_parkregular', Helvetica, sans-serif;
  color: white;
  background-color: lightgray;
  font-size: auto;
  letter-spacing: 0px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.crushable {
  justify-content: space-between;
}

.hearts {
  background-color: #cc0600;
  color: #ffe6e6;
}
.diamonds {
  background-color: #e37f00;
  color: #fff3e6;
}
.spades {
  background-color: #0033cc;
  color: #e6ecff;
}
.clubs {
  background-color: #00b000;
  color: #e6ffe6;
}

.crownglow {
  box-shadow: 0 0 100px #ee5;
}

.up {
  cursor: grab;
}

.elipsis {
  border-top: 2px solid;
  border-bottom: 2px solid;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content:space-between;
}

.ehearts {
  border-color: #cc0600; //rgba(200,30,30,1);
}
.ediamonds {
  border-color: #e37f00;
}
.espades {
  border-color: #0033cc; //rgba(50,50,200,1);
}
.eclubs {
  border-color: #ffb000;
}

.can .squeezed {
  pointer-events: none;
  width: 2px;
}

.arrow {
  //float: right;
  cursor: pointer;
}


#footer {
  height: 200px;
}

/* Instructions */

.hidden {
  visibility: hidden;
}

#overlay {

 position: fixed;
 top:0;
 bottom:0;
 left:0;
 right:0;
 width:100vw;
 z-index: 100;
 background-color: rgba(120,120,150,0.5);
 display: flex;
}

.overtext {
  position: absolute;
  top: 1rem;
  left: 2vw;
  width:96vw;
  max-width: 600px;
  margin: 0;
  background-color: #fff;
  border:1px solid #321e1e;
  border-radius: 5px;
  padding:25px;
  color: #821414;
  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;
}


@media (prefers-color-scheme: dark) {
  .fourteen {
    border: 1px solid #445;
    border-radius: 1px;
    color: black;
    background-color: black;
    box-shadow: inset 0 0 10px;
  }
  .card {
    border: 1px solid #445;
    border-radius: 1px;
    background-color: #191923;
  }
  .zcrown, .stack {
    border: 1px solid #445;
    border-radius: 1px;
    color: black;
    background-color: black;
    box-shadow: inset 0 0 10px;
  }
  .crown {
    border: 1px solid;
    border-radius: 1px;
    background-color: #191923;
    color: black;
  }
  .up, .can, .crown{
    box-shadow: inset 0 0 10px;
  }
  .squeezed {
    border: 0.5px solid;
    border-radius: 0;
  }
  .ehearts {
    border-color: #e6a;
  }
  .ediamonds {
    border-color: #fa3;
  }
  .espades {
    border-color: #5af;
  }
  .eclubs {
    border-color: #3b3;
  }
  .hearts {
    border-color: #e6a;
    color: #f8a; //#ffe6e6;
  }
  .diamonds {
    border-color: #fa3;
    color: #fa3; //#fff3e6;
  }
  .spades {
    border-color: #5af;
    color: #5af; //#e6ecff;
  }
  .clubs {
    border-color: #3b3;
    color: #5c5; //#e6ffe6;
  }

  .overtext {
    background-color: #333;
    border:1px solid #866;
    color: #821414;
  }
}











/////
