body {
  font-family: sans-serif;
  background-color: #333333;
  color: white;
  background-image: url("img/grass.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center bottom;
}

table.campo {
  border-collapse: collapse;
  border: 2px solid dimgray;
  margin-left: auto;
  margin-right: auto;
  user-select: none;
}

table.campo td {
  background-color: #63421a;
  border: 2px solid olivedrab;
  width: 32px;
  height: 32px;

  min-width: 32px;
  min-height: 32px;

  line-height: 32px;
  text-align: center;
  position: relative;
}

table.campo td.sponda {
  background: #eeeeee;
  background: -moz-linear-gradient(-45deg, #eeeeee 0%, #cccccc 100%);
  background: -webkit-linear-gradient(-45deg, #eeeeee 0%, #cccccc 100%);
  background: linear-gradient(135deg, #eeeeee 0%, #cccccc 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=1 );
  border-color: silver;
  color: transparent;
}

table.campo td[data-mina="true"] {
  background-color: #63421a;
  background-image: url("img/poop.gif");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

#area_gioco.vinto table.campo td[data-mina="true"] {
  background-image: url("img/flag32.png");
}

table.campo button {
  background-color: yellowgreen;
  border: 0;
  bottom: 0;
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 0;
  left: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0px;
  top: 0px;
  z-index: 99;
  transition: background-color linear 300ms;

  /*display: none;*/
}

table.campo button:hover {
  background-color: rgb(168, 221, 63);
  transition: background-color linear 200ms;
}

table.campo button:active {
  background-color: rgb(140, 185, 48);
  transition: background-color linear 50ms;
}

#area_gioco {
  margin-top: 80px;
  overflow-x: auto;
  overflow-y: auto;
}

footer.firma {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  text-align: center;
  font-size: 10px;
  text-transform: uppercase;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  letter-spacing: 2px;
}

footer.firma a {
  color: white;
}

.toolbar {
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(24px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.toolbar h1 {
  margin: 0;
  padding: 0;
  line-height: 40px;
  font-size: 20px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.toolbar .sinistra {
  float: left;
  line-height: 40px;
  margin-left: 10px;
}

.toolbar .destra {
  float: right;
  line-height: 40px;
  margin-right: 10px;
}

.toolbar .btn {
  height: 28px;
  display: inline-block;
  padding: 0 10px;
  font-size: 12px;
  text-decoration: none;
  vertical-align: middle;
  margin: 0 6px 0 6px;
  line-height: 28px;
  box-sizing: border-box;
  border: 1px solid white;
  border-radius: 4px;
  background-color: transparent;
  color: white;
  transition: all linear 500ms;
}

.toolbar .btn:hover {
  background-color: white;
  color: black;
  transition: all linear 250ms;
}

.toolbar .btn:active {
  background-color: black;
  color: white;
  transition: all linear 100ms;
}

#area_gioco .campo button.bandiera {
  background-image: url("img/flag32.png");
  background-size: contain;
  background-position: center center;
}
