html {
  touch-action: manipulation;
}

.wrap {
  width: 100%;
  height: 100vh;
  background-color: #fbf7ee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.container {
  width: 90%;
  min-height: 450px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 10px;
  border: 10px solid #f77f00;
  box-shadow: 2px 2px 4px #666;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s, transform 0.5s;
}
.container.show {
  opacity: 1;
  transform: scale(1);
}
.container.hide {
  display: none;
}
.container h1 {
  width: 100%;
  margin-bottom: 50px;
  font-weight: 700;
}
.container h1.hide {
  display: none;
}
.container .startBtn {
  width: 80%;
  padding: 12px 0;
  font-size: 1.6em;
}
.container .startBtn.hide {
  display: none;
}
.container .resultArea {
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s;
}
.container .resultArea.show {
  opacity: 1;
}
.container .resultArea.hide {
  display: none;
}
.container .resultArea h2 {
  margin: 0 0 40px;
  font-weight: 700;
  line-height: 2;
  opacity: 0;
  transition: opacity 0.5s;
}
.container .resultArea h2.show {
  opacity: 1;
}
.container .resultArea h2.hide {
  display: none;
}
.container .resultArea h2 .menu-font {
  font-size: 1.2em;
  border-bottom: 14px double #ff4500;
}
.container .resultArea .btns {
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s;
}
.container .resultArea .btns.unclickable {
  pointer-events: none;
  opacity: 0.8;
}
.container .resultArea .btns.show {
  opacity: 1;
}
.container .resultArea .btns.hide {
  display: none;
}
.container .resultArea .btns .btn {
  width: 42%;
  font-size: 1.4em;
  padding: 6px;
  margin: 0 6px;
}
.container .resetBtn {
  width: 80%;
  font-size: 1.4em;
  padding: 6px;
  opacity: 0;
  transition: opacity 0.5s;
}
.container .resetBtn.show {
  opacity: 1;
}
.container .resetBtn.hide {
  display: none;
}

@media (min-width: 576px) {
  .container {
    width: 576px;
  }
}