html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

ul {
  list-style: none;
}

button,
input,
select {
  margin: 0;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

img,
video {
  height: auto;
  max-width: 100%;
}

iframe {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

html {
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

article,
aside,
figure,
footer,
header,
hgroup,
section {
  display: block;
}

body,
button,
input,
select,
textarea {
  font-family: Pretendard, BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

code,
pre {
  font-family: Courier, "Courier New", monospace;
  -moz-osx-font-smoothing: auto;
  -webkit-font-smoothing: auto;
}

body {
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
  word-break: keep-all;
  color: darkgray;
  background-color: black;
  cursor: default;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.title {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  font-weight: 700;
  text-align: center;
  color: gray;
  background-image: linear-gradient(rgba(0,0,0,1), rgba(0,0,0,0)), linear-gradient(rgba(0,0,0,1), rgba(0,0,0,0)), linear-gradient(rgba(0,0,0,1), rgba(0,0,0,0));
}

.result {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 888;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 10vw;
  font-weight: 900;
  letter-spacing: .025em;
  line-height: 1.375;
  text-align: center;
  padding: 1.5rem;
}

@media screen and (min-width: 600px) {
  .result {
    line-height: 1.25;
  }
}

.buttons {
  display: flex;
  gap: 1rem;
  position: fixed;
  z-index: 999;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,1)), linear-gradient(rgba(0,0,0,0), rgba(0,0,0,1)), linear-gradient(rgba(0,0,0,0), rgba(0,0,0,1));
}

.button {
  appearance: none;
  flex: 1 1 0;
  padding: .75rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: gray;
  background-color: black;
  border: .1rem solid rgba(255,255,255,.25);
  border-radius: 3em;
  cursor: pointer;
  transition: color .25s, border-color .25s;
}

.button:hover {
  color: silver;
  border: .1rem solid rgba(255,255,255,.375);
}

.button:active {
  transform: scale(.975);
}

.button-select > span:last-child,
.button-select:hover > span:first-child {
  display: none;
}

.button-select:hover > span:last-child {
  display: inline;
}