.illustration-editor {
    margin-top: -2rem;
    margin-right: -10rem;
    display: grid;
    grid-template-rows: 24px auto;
    justify-items: center;
    position: relative;
  }
  
  .code {
    position: absolute;
    width: 290px;
    height: 145px;
    background: #1D1E22;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    z-index: 5;
    display: block;
  }
  .code header {
    display: grid;
    grid-template-columns: 36px auto 36px;
    align-items: center;
  }
  .code header svg {
    margin: 10px;
  }
  .code header h1 {
    font-family: Lato, sans-serif;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 1.57px;
    color: #C5C8D4;
    margin: 0;
  }
  .code-html {
    left: -150px;
    top: 40px;
  }
  .code-css {
    left: -25px;
    top: 200px;
  }
  .code-js {
    left: -175px;
    top: 360px;
  }
  .code .code-content {
    margin: 0 10px 10px;
    color: white;
  }
  .code .code-content .c-r {
    color: #A88038;
  }
  .code .code-content .c-o {
    color: #DE7300;
  }
  .code .code-content .c-y {
    color: #E1CA72;
  }
  .code .code-content .c-g {
    color: #74B087;
  }
  .code .code-content .c-p {
    color: #9F8198;
  }
  .code .code-content .c-b {
    color: #7A99AD;
  }
  .code .code-content .c-c {
    color: #666666;
  }
  .code-css .code-content code .line-1 {
    width: 0%;
    margin: 0;
    border-right: 0.15em solid transparent;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
  }
  .code-css .code-content code .line-2 {
    width: 0%;
    margin: 0;
    border-right: 0.15em solid transparent;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
  }
  .code-css .code-content code .line-3 {
    width: 0%;
    margin: 0;
    border-right: 0.15em solid transparent;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
  }
  .code-css .code-content code .line-4 {
    width: 0%;
    margin: 0;
    border-right: 0.15em solid transparent;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
  }
  .code-css .code-content code .line-5 {
    width: 0%;
    margin: 0;
    border-right: 0.15em solid transparent;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
  }
  .code-css .code-content code .line-1 {
    animation: typing-1 3s 0s steps(30, end) forwards, cursor 1s linear 0s 3;
  }
  .code-css .code-content code .line-2 {
    animation: typing-2 3s 3s steps(30, end) forwards, cursor 1s linear 3s 3;
  }
  .code-css .code-content code .line-3 {
    animation: typing-3 3s 6s steps(30, end) forwards, cursor 1s linear 6s 3;
  }
  .code-css .code-content code .line-4 {
    animation: typing-4 3s 9s steps(30, end) forwards, cursor 1s linear 9s 3;
  }
  .code-css .code-content code .line-1, .code-css .code-content code .line-3, .code-css .code-content code .line-4 {
    animation-duration: 1s;
    animation-timing-function: steps(10, end);
  }
  .code-css .code-content code .line-5 {
    border-color: transparent;
    animation: typing-5 3s 12s steps(30, end) forwards, cursor-persist 1s linear 12s infinite;
  }
  .code-css .code-content code .line-2 {
    margin-left: 2rem;
  }
  .code-css .code-content code .line-3, .code-css .code-content code .line-4, .code-css .code-content code .line-5 {
    margin-left: 4rem;
  }
  
  
  @keyframes typing-1 {
    from {
      width: 0;
    }
    to {
      width: 60px;
    }
  }
  @keyframes typing-2 {
    from {
      width: 0;
    }
    to {
      width: 220px;
    }
  }
  @keyframes typing-3 {
    from {
      width: 0;
    }
    to {
      width: 70px;
    }
  }
  @keyframes typing-4 {
    from {
      width: 0;
    }
    to {
      width: 75px;
    }
  }
  @keyframes typing-5 {
    from {
      width: 0;
    }
    to {
      width: 141px;
    }
  }
  @keyframes cursor {
    from, to, 20%, 80% {
      border-color: transparent;
    }
    25%, 75% {
      border-color: white;
    }
  }
  @keyframes cursor-persist {
    from, 45% {
      border-color: transparent;
    }
    50%, to {
      border-color: white;
    }
  }

  @media (max-width: 768px) {
.code {
  display: none;
}

.illustration-editor {
    margin-right: 0;
  }
}