@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.min.css');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: normal;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100svh;
  font-family: 'Pretendard', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  word-break: keep-all;
  color: black;
  background-color: white;
  cursor: default;
}

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

.main {
  flex: 1 1 auto;
  display: flex;
  overflow: hidden;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 0 0 auto;
  padding: .5rem 1rem;
  font-size: .75rem;
  text-align: right;
  background-color: white;
  border-top: 1px solid gainsboro;
}

.footer a {
  opacity: .5;
}

.footer a:hover {
  opacity: 1;
  transition: opacity .25s;
}

@font-face {
  font-family: Logo;
  src: url('../fonts/logo.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  font-family: Logo;
  font-size: 1rem;
}

.logo span:last-child {
  display: none;
}

@media screen and (max-width: 899px) {
  .logo span:first-child {
    display: none;
  }
  .logo span:last-child {
    display: inline-block;
  }
}

.control,
.result {
  flex: 1 1 0;
  width: 50%;
  height: 100%;
  padding: 1rem;
}

.control {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
  color: dimgray;
  background-color: white;
  border-right: 1px solid gainsboro;
  cursor: pointer;
  transition: background-color .125s;
}

.control:hover {
  background-color: whitesmoke;  
}

.control.is-drag-over {
  background-color: ghostwhite;
}

.status {
  pointer-events: none;
}

.input {
  display: none;
}

.result {
  appearance: none;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 1rem;
  line-height: 1.625;
  background-color: transparent;
  border: 0;
  outline: 0;
  resize: none;
}