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 {
  display: block;
  height: auto;
  max-width: 100%;
}

iframe {
  border: 0;
}

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

td,
th {
  padding: 0;
}

td:not([align]),
th:not([align]) {
  text-align: inherit;
}

html,
body {
  position: relative;
  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 {
  -moz-osx-font-smoothing: auto;
  -webkit-font-smoothing: auto;
  font-family: monospace;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: gray;
  background-color: whitesmoke;
  word-break: keep-all;
  cursor: default;
}

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

.header {
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
  padding: .5rem;
  background: whitesmoke;
  text-align: center;
}

.buttons {
  display: flex;
  justify-content: center;
  overflow: hidden;
  border: .1rem solid gainsboro;
  border-radius: .25rem;
}

.button {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: .25rem .75rem;
  color: silver;
}

.button:hover {
  background-color: white;
}

.button.is-active {
  color: gray;
}

.button:not(:last-child) {
  border-right: .1rem solid gainsboro;
}

.main {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
}

.title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10vw;
  font-weight: 900;
}

.footer {
  flex: 0 0 auto;
  padding: 1rem;
  text-align: center;
  background-color: whitesmoke;
}

.sections {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  margin: 0 .5rem;
  overflow: hidden;
  background-color: white;
  border: .1rem solid gainsboro;
  border-radius: .25rem;
}

@media screen and (min-width: 600px) {
  .sections {
    flex-direction: row;
  }
}

.section {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  position: relative;
  z-index: 999;
  overflow: hidden;
  background-color: white;
}

.section.is-hidden {
  display: none;
}

.section:not(.is-hidden):not(:last-child) {
  border-bottom: .1rem solid gainsboro;
}

@media screen and (min-width: 600px) {
  .section:not(.is-hidden):not(:last-child) {
    border-bottom: 0;
    border-right: .1rem solid gainsboro;
  }
}

.section-title {
  flex: 0 0 auto;
  padding: .5rem;
  font-weight: inherit;
  text-align: center;
  color: darkgray;
}

.textarea,
.iframe {
  flex: 1 1 auto;
  overflow: auto;
  background-color: white;
  border: 0;
  border-radius: 0;
  outline: 0;
}

.CodeMirror {
  flex: 1 1 auto;
  height: 100%;
  overflow: hidden;
}