

html {
  font-size: 10px;
  background-color: inherit;
  font-family: helvetica, sans-serif;
  margin: 0;
}

html, body{
    background-color: #f3f0f0;
    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;
}

input{
  width: 100%;
  height: 100%;
  font-size: 40px;
  line-height: 40px;
  align-content: center;
  text-align: center;

}

.shoe{
  width: auto;
  max-width: 720px;
  margin-left: 5vw;
  margin-right: 5vw;
}

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

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



/* Gmae board */

#gameBoard{

  display: flex;
  flex-direction: row;
}

.doku{
  width: 550px;
  height: 550px;
  border: 2px solid black;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-flow: row;
}

.outgrid{
  width: 182px;
  height: 182px;
  border: 1px solid black;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-flow: row;
}

.ingrid{
  width: 60px;
  height: 60px;
  background-color: white;
}

#setcards{
  width: auto;
  margin-left: -8px;
  display: flex;
  flex-direction: row;
  margin-bottom: 40px;
}

.setbox{
  width: 25%;
  padding-left: 8px;
  display: flex;
  flex-direction: column;
}

.card{
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 8px;
}

#displayset{
  width: auto;
  margin-left: -4px;
  display: flex;
  flex-direction: row;
}

.displaybox{
  width: 17.5%;
  padding-left: 4px;
  display: flex;
  flex-direction: column;
  opacity: 0;
}

.displaycard{
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 4px;
}

.shadow{
  box-shadow: 2px 2px 10px -5px #000000;
  transition: all 400ms;
}

.select-shadow{
  box-shadow: 4px 4px 15px 0px #000000;
  transition: all 200ms;
}

.fadein {
  opacity: 0;
  transition: all 300ms;
}

#footer {
  height: 200px;
}

/* Instructions */

.inst-img{
  width: 80px;
  border: 1px solid gray;
}

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












