@import url("https://fonts.googleapis.com/css?family=Ubuntu+Mono&display=swap");
body {
  overflow: hidden;
}

#app {
  position: relative;
}

#gradient {
  height: 100vh;
  width: 100vw;
  -webkit-animation: gradient-animation 7.5s ease-in-out infinite alternate both;
          animation: gradient-animation 7.5s ease-in-out infinite alternate both;
  background-size: 1000% 1000% !important;
}

#sidebar {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: white;
  border-radius: 5px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  padding: 20px;
  transition: 200ms all;
}

form {
  padding-right: 20px;
  z-index: 1;
}
form input {
  background-color: white;
  padding: 5px 10px;
  display: block;
  font-size: 18px;
  border-radius: 5px;
  border: 2px solid #f0f0f0;
}
form input.direction {
  width: 100px;
}
form label + input {
  margin-bottom: 10px;
}

#code {
  position: absolute;
  top: 0;
  padding: 20px;
  left: calc(100%);
  border-radius: 5px;
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
  height: 100%;
  max-height: 100%;
  background-color: white;
  opacity: 0;
  transition: opacity 100ms, -webkit-transform 200ms 100ms;
  transition: opacity 100ms, transform 200ms 100ms;
  transition: opacity 100ms, transform 200ms 100ms, -webkit-transform 200ms 100ms;
}
#code pre {
  background-color: white;
  opacity: 0;
  padding: 10px;
  border: 1px solid #eeeeee;
  border-radius: 5px;
  margin: 0;
  max-height: 231px;
  overflow: auto;
  transition: 100ms all;
}
#code pre code {
  font-family: "Ubuntu Mono", monospace;
  font-size: 16px;
}

#toggle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background-color: white;
  border: 1px solid #eee;
  -webkit-transform: translate(50%, -50%);
          transform: translate(50%, -50%);
}
#toggle::before, #toggle::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: black;
  border-radius: 2px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
#toggle::before {
  width: 16px;
  height: 4px;
}
#toggle::after {
  width: 4px;
  height: 16px;
}

#sidebar.active {
  border-radius: 5px 0 0 5px;
}
#sidebar.active #toggle {
  -webkit-transform: translate(50%, -50%) rotate(45deg);
          transform: translate(50%, -50%) rotate(45deg);
}
#sidebar.active #code {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  opacity: 1;
  border-radius: 0 5px 5px 0;
  transition: opacity 200ms 100ms, -webkit-transform 200ms;
  transition: opacity 200ms 100ms, transform 200ms;
  transition: opacity 200ms 100ms, transform 200ms, -webkit-transform 200ms;
}
#sidebar.active #code pre {
  opacity: 1;
}

@-webkit-keyframes gradient-animation {
  0% {
    background-position: right top;
  }
  50% {
    background-position: left bottom;
  }
  100% {
    background-position: right top;
  }
}

@keyframes gradient-animation {
  0% {
    background-position: right top;
  }
  50% {
    background-position: left bottom;
  }
  100% {
    background-position: right top;
  }
}
.webkima {
    text-decoration: none;
    font-weight: bold;
    color: #7B1FA2;
    padding-top: 20px;
    display: inline-block;
    border-bottom: 1px dashed #7B1FA2;
    padding-bottom: 5px;
}