.code-editor {
  width: 500px;
  background-color: #161e28;
  border-radius: 8px;
  box-shadow: 0 0 2px rgba(22, 35, 40, 0.11), 0 0 4px rgba(22, 35, 40, 0.11),
    0 0 8px rgba(22, 35, 40, 0.17), 0 4px 16px rgba(22, 35, 40, 0.17),
    0 12px 32px rgba(22, 35, 40, 0.17), 0 28px 64px rgba(22, 35, 40, 0.17);
  margin: 45px 0;
  transition: all 1.5s;
}

.code-editor-small {
  width: 420px;
  font-size: 14px;
}

.code-editor-navbar {
  padding: 15px 55px 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.code-editor-navbar .controls {
  flex: 0 0 35px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.code-editor-navbar .controls .button {
  margin-right: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.code-editor-navbar .controls .button:nth-child(1) {
  background-color: #fc605b;
}

.code-editor-navbar .controls .button:nth-child(2) {
  background-color: #fdbc40;
}

.code-editor-navbar .controls .button:nth-child(3) {
  background-color: #33c748;
}

.code-editor-navbar .title {
  flex: 1 1 auto;
  text-align: center;
  font-family: 'Source Code Pro', monospace;
  color: rgba(255, 255, 255, 0.5);
}

.code-editor .code-block {
  margin: 0 20px 0;
  padding: 18px 0 20px;
  color: #fff;
  font-size: 18px;
  overflow-x: auto;
  font-family: 'Source Code Pro', monospace;
}

.code-editor .code-block {
  font-size: 14px;
}

.code-editor .code-block .token-line {
  position: relative;
  white-space: nowrap;
  padding-left: 25px;
  color: #bfc7d5;
}

.code-editor .code-block .token-line .lead {
  top: 0;
  left: 0;
  opacity: 0.6;
  text-align: right;
  position: absolute;
  display: inline-block;
  color: #727c86;
  font-size: inherit;
}

.code-editor .code-block .token-line .italics {
  font-style: italic;
}

.code-editor .code-block .token-line .keyword {
  color: #ffcb6b;
}

.code-editor .code-block .token-line .operation {
  color: #ff6d91;
}

.code-editor .code-block .token-line .string {
  color: #c3e88d;
}

@media only screen and (max-width: 991px) {
  .content-text {
    margin: 0 25px;
  }

  .spine {
    display: none;
  }

  .content-text h3 {
    font-size: 18px !important;
  }

  .content-text p {
    font-size: 14px !important;
  }
}

@media only screen and (max-width: 760px) {
  .content-block {
    flex-wrap: wrap;
  }

  .content-text {
    order: 1;
  }

  .code-editor {
    order: 2;
  }
}

@media only screen and (max-width: 600px) {
  .token,
  .token-line,
  .title {
    font-size: 12px;
  }

  .code-editor {
    width: 100%;
    max-width: 360px;
  }
}
