section.demo-container {
  background-color: #eef2f6;
}

div.demo-content {
  display: flex;
  flex-direction: column;
  row-gap: 70px;
}

div.demo-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 32px;
}

span.demo-text-container__title {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 800;
  font-size: 44px;
  line-height: 60px;
}

p.demo-text-container__description {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;

  color: #5f656a;
}

div.demo-example-mobile-container {
  display: none;
}

div.demo-example-container {
  position: relative;
  display: flex;
  justify-content: stretch;
  column-gap: 1px;

  border: 1px solid #dfe3e9;
  background-color: #dfe3e9;
  width: 100%;
  height: 485px;
}

div.demo-example-container__image-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

div.demo-example-container__display-area {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  flex: 1;
  max-width: 400px;
  aspect-ratio: 1/1;
}

ul.demo-example-container__image-list {
  display: flex;
  width: 100%;
  max-width: 400px;
}

li.demo-example-container__image-list-item {
  position: relative;
  width: 80px;
  aspect-ratio: 1/1;
  height: 80px;
}

span.demo-example-container__image-list-item__title {
  position: absolute;
  left: 15px;
  bottom: -13px;
  z-index: 5;

  display: none;
  padding: 6px 12px;

  border-radius: 4px;
  border: 0.5px solid var(--grayscale-gray-400, #c6cacf);
  background: var(--white, #fff);
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.16);

  color: var(--grayscale-gray-900, #212121);
  text-align: center;
  font-size: 12px;
  font-family: Pretendard;
  font-style: normal;
  font-weight: 700;
  line-height: 14px;
  white-space: pre;
}

li.demo-example-container__image-list-item:hover
  span.demo-example-container__image-list-item__title {
  display: flex;
}

img.demo-example-container__image-list-item__image {
  width: 100%;
  height: 100%;
}

div.demo-example-container__ai-comment-container,
div.demo-example-container__response-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  row-gap: 1px;
  background-color: #dfe3e9;
}

div.demo-example-container__header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 32px;
  background-color: white;
}

span.demo-example-container__header__title {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}

button.demo-example-container__header__copy-button {
  font-size: 0;
}

div.demo-example-ai-comment__body {
  display: flex;
  flex-direction: column;
  row-gap: 20px;

  padding: 36px 25px;
  background-color: white;

  flex: 1;
}

span.demo-example-ai-comment__body__summary {
  border-radius: 12px;
  padding: 20px 28px;

  font-family: "Pretendard";
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  white-space: wrap;
}

span.demo-example-ai-comment__body__summary.--danger,
span.demo-example-ai-comment__body__summary.--not-applicable {
  background-color: #fff4f3;
  color: #e71a0e;
}

span.demo-example-ai-comment__body__summary.--warning {
  background-color: #fdf4e7;
  color: #da880f;
}

span.demo-example-ai-comment__body__summary.--safe {
  background-color: #eaf5e4;
  color: #189f4c;
}

p.demo-example-ai-comment__body__explanation {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;

  white-space: pre-line;
}

div.demo-example-container__response-code-and-button-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.token.punctuation {
  color: #0431fa;
}

.token.boolean,
.token.number,
.token.property {
  color: #874b2b;
}

.token.operator {
  color: #777777;
}

.token.null,
.token.string {
  color: #448c27;
}

.token.key {
  color: #268bd2;
}

code#codeContent > span {
  font-size: 16px;
  font-family: Pretendard;
  line-height: 24px;
  white-space: pre-line;
}

div.demo-example-container__code-snippet {
  background-color: white;
  overflow: auto;
  flex: 1;
}

div.demo-example-container__code-snippet > pre {
  padding: 32px;

  max-height: 338px;
  overflow-y: auto;
}

button.demo-example-container__upload-button {
  padding: 28px 0;
  background-color: #212121;

  font-family: "Pretendard";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: white;
}

@media screen and (max-width: 1024px) {
  section.demo-container {
    padding: 88px 20px;
  }

  div.demo-content {
    display: flex;
    flex-direction: column;
    row-gap: 48px;
  }

  div.demo-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 32px;
  }

  span.demo-text-container__title {
    text-align: center;
    font-size: 28px;
    line-height: 40px;
  }

  p.demo-text-container__description {
    display: none;
  }

  div.demo-example-container {
    display: none;
  }

  div.demo-example-mobile-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 40px;
  }

  div.demo-example-mobile-image-and-response-container {
    display: flex;
    flex-direction: column;
    row-gap: 16px;

    width: 100%;
  }

  div.demo-example-mobile-container__image-container {
    position: relative;

    overflow: hidden;
  }

  ul.demo-example-mobile-container__image-list {
    display: flex;

    width: 100%;
    aspect-ratio: 1/1;
    white-space: nowrap;
  }

  li.demo-example-mobile-container__image-list__item {
    display: inline-block;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    width: 100%;
    height: 100%;

    flex-shrink: 0;
  }

  div.demo-example-mobile-container__image-list__orders {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);

    z-index: 5;

    border-radius: 17.648px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.5);
  }

  span.demo-example-mobile-container__image-list__orders__order-number {
    color: black;

    font-size: 12px;
    font-family: Pretendard;
    line-height: 18px;
  }

  div.demo-example-mobile-container__response-container {
    display: flex;
    flex-direction: column;

    background-color: white;
  }

  div.demo-example-mobile-container__header {
    display: flex;

    width: 100%;
  }

  div.demo-example-mobile-container__header__tap {
    flex: 1;

    padding: 12px 24px;
    background-color: #dfe3e9;

    color: #a4aaae;
    text-align: center;
    font-size: 16px;
    font-family: Pretendard;
    font-weight: 700;
    line-height: 24px;
  }

  div.demo-example-mobile-container__header__tap.--active {
    background-color: white;

    color: #212121;
  }

  div.demo-example-mobile-container__response-body.--active {
    display: flex;
    flex-direction: column;
    row-gap: 20px;

    padding: 32px 20px;
    background-color: white;

    width: 100%;
    height: 282px;

    overflow-y: auto;
  }

  div.demo-example-mobile-container__response-body {
    display: none;
  }

  div.demo-example-mobile-container__response-body.--json > pre {
    max-height: 218px;
    overflow-y: auto;
  }

  span.demo-example-mobile-container__ai-comment-summary {
    border-radius: 12px;
    padding: 20px 28px;

    font-size: 18px;
    font-family: Pretendard;
    font-weight: 700;
    line-height: 30px;
  }

  span.demo-example-mobile-container__ai-comment-summary.--danger,
  span.demo-example-mobile-container__ai-comment-summary.--not-applicable {
    background-color: #fff4f3;
    color: #e71a0e;
  }

  span.demo-example-mobile-container__ai-comment-summary.--warning {
    background-color: #fdf4e7;
    color: #da880f;
  }

  span.demo-example-mobile-container__ai-comment-summary.--safe {
    background-color: #eaf5e4;
    color: #189f4c;
  }

  p.demo-example-mobile-container__ai-comment-description {
    font-size: 16px;
    font-family: Pretendard;
    line-height: 30px;
  }

  code#codeContentMobile > span {
    font-size: 16px;
    font-family: Pretendard;
    line-height: 24px;
    white-space: pre-line;
  }

  button.demo-example-container__upload-button.--mobile {
    border-radius: 4px;
    padding: 12px 50px;

    width: fit-content;
  }
}
