* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 3rem;
  margin-top: -8rem;
  transition: background 0.4s, color 0.4s;
}

h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  transition: color 0.4s;
}

#counter {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.4rem 0 2rem;
  transition: transform 0.15s cubic-bezier(.36,2,.6,1), color 0.4s;
}

#counter.bump { transform: scale(1.25) rotate(2deg); }

.btn-wrap { position: relative; margin-bottom: 0.5rem; }

.btn-shadow {
  position: absolute;
  width: 170px;
  height: 170px;
  top: 8px;
  left: 4px;
  transition: top 0.1s, left 0.1s, background 0.4s, border-radius 0.4s;
}

button {
  position: relative;
  z-index: 1;
  width: 170px;
  height: 170px;
  border-width: 3px;
  border-style: solid;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  top: 0; left: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: top 0.1s, left 0.1s, background 0.2s, border-radius 0.4s, border-color 0.4s, box-shadow 0.2s;
}

button.held { top: 6px; left: 3px; }
.held-shadow { top: 2px !important; left: 1px !important; }

p {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  transition: color 0.4s;
}

.records {
  position: fixed;
  bottom: 4rem;
  width: 320px;
  border-collapse: collapse;
}

.records caption {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-align: left;
  display: block;
  transition: color 0.4s;
}

.records th {
  text-align: left;
  font-size: 1rem;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  padding: 0.3rem 0.6rem;
  transition: color 0.4s, border-color 0.4s;
}

.records td {
  padding: 0.4rem 0.6rem;
  font-size: 1.15rem;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  transition: color 0.4s, border-color 0.4s;
}
