*, ::after, ::before {
  box-sizing: border-box
}

html {
  height: 100%;
  font-family: sans-serif;
  line-height: 1.15;
}

body {
  margin: 0;
  padding: 0;
  font: 400 1rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: #231f20;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #00aabc;
  overscroll-behavior: contain;
}

header, main, footer {
  display: flex;
  flex-wrap: nowrap;
}

header, footer, .dialog {
  padding: 1rem;
  background-color: #231f20;
  color: #fff;
  justify-content: space-between;
}

main {
  flex: 1;
  align-items: center;
  justify-content: center;
}

p {
  margin: 0;
}

img {
  display: block;
}

span {
  color: #00aabc;
}

p, button, input, li {
  text-transform: uppercase;
}

p, button, input {
  text-align: center;
}

input, button {
  border: 0 none;
  padding: .5rem;
  border-radius: 0.5rem;
}

input, button, .headline {
  font-size: 1.5rem;
  font-weight: 700;
}

button {
  background-color: #00aabc;
  color: #fff;
}

.dialog {
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
  margin: 1rem;
  width: 300px;
}

.dialog > button {
  margin-top: 1rem;
}

.results, .me {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.results > p {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
}

.hide {
  display: none;
}

.game-scene {
  height: 100%;
  width: 100%;
  position: relative;
}

.bug {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.bug.bug-1 {
  width: 3rem;
  height: 3rem;
}

.bug.bug-5 {
  width: 2.25rem;
  height: 2.25rem;
}

.bug.bug-10 {
  width: 1.5rem;
  height: 1.5rem;
}
