
* {
  padding: 0;
  margin: 0;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: #545454;
}

.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.main {
  background: #d9d9dd;
  padding: 2rem 4rem;
  box-sizing: border-box;
}

.status-code {
  color: #ff2a26;
  font-size: 72px;
  opacity: 0.2;
}

.message {
  font-weight: normal;
  font-size: 2.5em;
}

.message small {
  color: #00B1EB;
  font-size: .65em;
  font-family: Menlo, SFMono-Regular, Monaco, "Fira Code", "Fira Mono", Consolas, "Liberation Mono", "Courier New", monospace;
}

.frames {
  display: flex;
}

.frame-preview {
  background: #fff;
  width: 50%;
}

.frame-stack {
  flex: 1;
  box-sizing: border-box;
}

.frames-list {
  overflow: auto;
}

/* Request */

.request {
  padding: 50px 80px;
}

.request .request-subsection {
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1px;
  padding: 0 5px 5px 5px;
  margin-bottom: 15px;
}

.request table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 80px;
}

.request table td {
  padding: 6px 5px;
  font-size: 14px;
  letter-spacing: 0.4px;
  color: #455275;
  border-bottom: 1px solid #e8e8e8;
  word-break: break-word;
}

.request table td.title {
  color: #999;
  width: 40%;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.exception {
  background-color: #EFEFEF;
  padding: 2rem 4rem;
  border-top: 12px solid#00B1EB;
}

.exception-name {
  color: #ff2a26;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5em;
  opacity: .9;
  font-weight: bold;
}

code[class*="language-"], pre[class*="language-"] {
  background: transparent;
  font-size: 18px;
}

.line-numbers .line-numbers-rows {
  border: none;
}

.frame-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 32px 16px 32px;
  position: relative;
  cursor: pointer;
  transition: background 300ms ease;
}

.frame-row.native-frame {
  opacity: 0.4;
  display: flex;
}

.frame-row:after {
  content: "";
  background: #db5461;
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  height: 8px;
  width: 8px;
  border-radius: 24px;
}

.frame-row:hover, .frame-row.active {
  background: #fff;
}

.frame-row.active {
  opacity: 1;
}

.frame-row-filepath {
  color: #455275;
  font-weight: 600;
  margin-right: 15px;
}

.frame-context {
  display: none;
}

.frame-row-code {
  color: #999;
}

#frame-file-name {
  color: #455275;
  font-weight: 600;
  border-bottom: 1px solid #e8e8e8;
  padding: 16px 32px;
}

#frame-function-name {
  color: #999;
  font-weight: 400;
  border-top: 1px solid #e8e8e8;
  padding: 16px 32px;
}

@media only screen and (max-width: 970px) {
  .frames {
    flex-direction: column-reverse;
  }

  .frame-preview {
    width: 100%;
  }

  .frame-stack {
    width: 100%;
  }
}
