canvas {
  cursor: pointer;
}

.canvas_row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  align-items: center;
  text-align: center;
}

.settings {
  flex: 1 1 0px;
  text-align: left;
  margin-left: 10pt;
  margin-right: 20pt;
  overflow: hidden;
  min-width: min-content;
}

.canvas {
  flex-shrink: 0;
  margin: 10pt;
}

body{
  background-color: #5b7e97;
}

.hidden{
  visibility: hidden;
}
.buttonBar{
  margin: auto;
  align-items: center;
  text-align: center;
  color: DarkGray;
  /* background-color:#2f4250; */
  margin-bottom: 20px;
}

.Rule{
  margin: auto;
  align-items: center;
  text-align: center;
  color: DarkGray;
  background-color: #2f4250;
}

.winning-message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .9);
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 5rem;
  flex-direction: column;
}

.winning-message button {
  font-size: 3rem;
  background-color: white;
  border: 1px solid black;
  padding: .25em .5em;
  cursor: pointer;
}

.winning-message button:hover {
  background-color: black;
  color: white;
  border-color: white;
}

.winning-message.show {
  display: flex;
}

#container{
  text-align: center;
}

.popup .overlay {
  position:fixed;
  top:0px;
  left:0px;
  width:100vw;
  height:100vh;
  background:rgba(0,0,0,0.7);
  z-index:1;
  display:none;
}

.popup .content {
  position:absolute;
  top: 10vh;
  left: 50%;
  transform:translate(-50%,0) scale(0);
  background:#fff;
  width: 70%;
  height: min-content;
  z-index:2;
  text-align:left;
  padding:20px;
  box-sizing:border-box;
  font-weight: bold;
  color: black;
}

.popup .close-btn {
  cursor:pointer;
  position:absolute;
  right:20px;
  top:20px;
  width:30px;
  height:30px;
  background:#222;
  color:#fff;
  font-size:25px;
  font-weight:600;
  line-height:30px;
  text-align:center;
  border-radius:50%;
}

.popup.active .overlay {
  display:block;
}

.popup.active .content {
  transition:all 300ms ease-in-out;
  transform:translate(-50%,0) scale(1);
}

#page-container {
  position: relative;
  min-height: 100vh;
}

#content-wrap {
  padding-bottom: 60px;    /* Footer height */
}

/* #footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2.5rem;         
} */

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  line-height: 60px;
  background-color: #f5f5f5;
}

