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

html, body{
    background-color: rgba(245,240,240,1);
}

h1 {
  color: rgba(50,30,30,1);
  font-size: 3rem;
}

.settings{
  font-size: 1.5rem;
  //padding-right: 5px;
  margin-right: : 1rem;
  margin-top: 0.5rem;
  //text-decoration: none;
  //display: inline;
}

a {
  text-decoration: none;
  color: rgba(130, 20, 20, 1);
  margin-right: 2rem;
  //background-color: rgba(130, 20, 20, 1);
  line-height: 2.5rem;
  //padding: 5px;
}

.buttonStyle {
    //border: 2px;
    border-color: rgba(245,240,240,1)
    line-height: 30px;
    //padding: 0 20px;
    margin: 5px;
    font-size: 15px;
    text-align: center;
    color: rgba(245,240,240,1);
    //text-shadow: 1px 1px 1px #000;
    //border-radius: 10px;
    background-color: rgba(130, 20, 20, 1);
    //background-image: linear-gradient(to top left,
                                      rgba(0, 0, 0, .2),
                                      rgba(0, 0, 0, .2) 30%,
                                      rgba(0, 0, 0, 0));
    //box-shadow: inset 2px 2px 3px rgba(255, 255, 255, .6),
                inset -2px -2px 3px rgba(0, 0, 0, .6);

}
.buttonStyle:hover {
    background-color: rgba(180, 30, 30, 1);
}

.card {
  --cCount: 7;
  width: calc((100vw / var(--cCount)) - 5px);
  height: calc((100vw / var(--cCount)) - 5px);
  min-width: 50px;
  min-height: 50px;
  //margin: 5px;
  line-height: calc((100vw / var(--cCount)) - 5px);
  //border-radius: 5%;
  border: 1px solid rgba(50,30,30,1);
  border-collapse: collapse;
  background-color: rgba(130, 20, 20, 1);
  text-align: center;
  //text-transform: full-width;
  display: inline-block;
  font-size: calc(10px + (50vw / var(--cCount)));
  font-weight: bold;
  color: rgba(0,0,0,0);
  cursor: pointer;
}

.back {
  background-color: rgba(130, 20, 20, 1);
}
/*
.cardback:hover {
    background-color: rgba(180, 30, 30, 1);
}*/

.flipped {
  background-color: rgba(230, 220, 220, 1);
}

.kept {
  background-color: rgba(230, 230, 230, 1);
  opacity: 0.3;
}

.scorediv {
  font-size: 1.5rem;
  font-weight: bold;
  display: grid;
  grid-template-columns: 150px 100px 100px 10px 5fr;
  grid-auto-rows: 5rem;
}

#overlay {
 visibility: hidden;
 position: absolute;
 left: 0px;
 top: 0px;
 width:100%;
 height:100%;
 //text-align:center;
 z-index: 100;
 background-color: rgba(100,100,100,0.5);
}

#overSet {
  width:300px;
  margin: 25px auto;
  background-color: #fff;
  border:2px solid rgba(50,30,30,1);
  border-radius: 25px;
  padding:25px;
  text-align:center;

}
#overShp {
  width:250px;
  //margin: 100px auto;
  //background-color: #fff;
  //border:1px solid #000;
  //border-radius: 5%;
  text-align:center;
  padding:25px;
  display: grid;
  grid-template-columns: repeat(4,50px);
  //grid-auto-rows: 50px;
}
#overCol {
  width:250px;
  //margin: 100px auto;
  //background-color: #fff;
  //border:1px solid #000;
  //border-radius: 5%;
  text-align:center;
  padding:25px;
  display: grid;
  grid-template-columns: repeat(4,50px);
  //grid-auto-rows: 50px;
}
.setBox {
  width: 50px;
  height: 50px;
  //margin: 5px;
  line-height: 50px;
  //border-radius: 5%;
  border: 1px solid rgba(145,140,140,1);
  border-collapse: collapse;
  background-color: rgba(230, 220, 220, 1);
  text-align: center;
  display: inline-block;
  font-size: 40px;
  font-weight: bold;
  color: rgba(150,140,140,1);
  cursor: pointer;
}
.colorBox {
  color: rgba(0,0,0,0);
}
.setshape{
}
.shpchk{
  background-color: rgba(245,240,240,1);
  border: 1px solid rgba(50,30,30,1);
  color: rgba(50,30,30,1);
  //cursor: pointer;
}
.clrchk{
  border: 1px solid rgba(50,30,30,1);
  color: rgba(245,240,240,1);
  font-size: 25px;
  //cursor: pointer;
}

#sng{
  border: 1px solid rgba(130, 20, 20, 1);
  background-color: rgba(245,240,240,1);
  font-weight: bold;
  font-size: 15px;
  color: rgba(130, 20, 20, 1);
  padding: 5px;
  text-decoration: none;
  margin-right: 2rem;
  line-height: 2.5rem;
}

#close{
  color: rgba(130, 20, 20, 1);
  margin-right: 2rem;
  //background-color: rgba(130, 20, 20, 1);
  line-height: 2.5rem;
  //padding: 5px;
  font-size: 1.5rem;
  //padding-right: 5px;
  margin-top: 0.5rem;
  //text-decoration: none;
  //display: inline;
  cursor: pointer;
}

#popA{
  visibility: hidden;
  position: absolute;
  left: 0px;
  top: 0px;
  width:200px;
  height:100px;
  //line-height: 30px;
  //text-align:center;
  display: inline;
  z-index: 10;
  background-color: rgba(255,255,255,0);
}
#pClo{
  color: rgba(245,240,240,1);
  font-size: 25px;
  width:30px;
  height:30px;
  line-height: 30px;
  text-align:center;
  background-color: darkred;
  border: 1px solid rgba(245,240,240,1);
  display: inline-block;
  margin: 0;
  z-index: 10;
  cursor: pointer;
}
#pAcc{
  color: rgba(245,240,240,1);
  font-size: 25px;
  width:30px;
  height:30px;
  line-height: 30px;
  text-align:center;
  background-color: darkgreen;
  border: 1px solid rgba(245,240,240,1);
  display: inline-block;
  margin: 0;
  z-index: 10;
  cursor: pointer;
}
