@font-face {
  font-family: madeWaffleSoft;
  src: url('../MADE Waffle Soft.otf');
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

* {
  color: #f2f2f2;
}

#logo {
  margin-left: 8px;
  margin-top: 8px;
}

body {
  background:
  linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('../images/background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#tileGrid {
  display: grid;
  max-width: 1050px;
  margin: 0 auto;
  height: auto;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  background: rgba(0, 0, 0, 0.0);
  border-radius: 20px;
  padding: 5px;
  row-gap: 5px;
}

.tile {
  width: 200px;
  aspect-ratio: 1/1;
  background: rgba(197, 29, 32, 0.9);
  font-size: 50px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  border-radius: 20px;
  line-height: 200px;
  margin: 5px;
  float: unset;
  background-size: 200px 200px;
  -webkit-transition: 400ms;
  font-family: madeWaffleSoft;
}

.claimed {
  background-color: rgba(226, 0, 37, 0.7);
}

.tile:hover, .tile:focus {
  background-color: rgba(218, 11, 11, 0.9);
  transition: 400ms;
}

.shakeOnClick {
  animation: shake 0.5s;
}

.noselect {
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

#footerDiv {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  width: 20vw;
  min-width: 300px;
  color: #f2f2f2;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1%;
  padding: 5px 10px;
  font-family: Arial, Helvetica, sans-serif;
}

footer p {
  text-align: middle;
  font-size: 16px;
}