* {
  box-sizing: border-box;
  font-family:
    quote, 'Microsoft YaHei', 'PingFang SC', 'Segoe UI', Helvetica, Arial,
    sans-serif;
}

p,
pre {
  padding: 0;
  margin: 0;
}

ol,
ul {
  margin: 4px 0;
}

html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

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

.sidebar {
  background: rgba(248, 248, 248, 0.5);
  border-right: 1px solid rgba(207, 207, 207, 0.6);
  width: 240px;
  flex: 0 0 240px;
  overflow: auto;
}

.sidebar-menu {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 6px;
  position: fixed;
  left: 20px;
  top: 20px;
  background: white;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  z-index: 1;
  display: none;
}

.sidebar-menu img {
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 480px) {
  .sidebar-menu {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 2;
  }

  .sidebar.visible {
    display: block;
  }

  .sidebar .inner {
    width: 260px;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    overflow: auto;
    background: #eee;
  }
}

.content {
  padding: 10px 40px;
  flex: 1;
  overflow-y: auto;
}

.content-inner {
  max-width: 1136px;
}

@media only screen and (max-width: 480px) {
  .content {
    padding: 10px 20px;
  }

  .content-inner {
    max-width: 1136px;
  }

  .content-inner > *:first-child {
    padding-left: 46px;
  }
}

.back-url {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 12px 24px;
  gap: 8px;
  border-bottom: 1px solid rgba(207, 207, 207, 0.6);
  text-decoration: none;
  font-size: 20px;
}

.back-logo {
  width: 20px;
  height: 20px;
}

.back-icon {
  width: 14px;
  height: 14px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  position: relative;
}

.logo {
  text-decoration: none;
}

.logo img {
  width: 64px;
  height: 64px;
}

.sidebar-title {
  border-top: 1px solid rgba(207, 207, 207, 0.6);
  border-bottom: 1px solid rgba(207, 207, 207, 0.6);
  padding: 7px 5px;
  padding-left: 20px;
  font-weight: bold;
}

.sidebar-link {
  padding: 7px 5px;
  padding-left: 20px;
  font-size: 14px;
}

.reference {
  text-decoration: none;
  font-style: italic;
  color: #0366d6;
}

.reference span {
  color: #0366d6;
}

.internal-tag {
  border: 1px dashed #ccc;
  color: #555;
  font-size: small;
  padding: 0 4px;
}

.root-type {
  font-size: 22px;
  padding: 0;
}

.root-type code {
  font-size: 24px;
  padding-left: 0;
}

.category {
  font-size: 20px;
  margin: 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(207, 207, 207, 0.6);
}

.declaration-item {
  display: flex;
  align-items: flex-start;
}

.declaration-container {
  margin-bottom: 12px;
}

.declaration-item .icon {
  opacity: 0.3;
  margin-top: 10px;
  margin-right: 12px;
}

.declaration-code {
  font-size: 16px;
  flex: 1;
}

.block {
  margin-bottom: 20px;
  width: 100%;
  overflow: auto;
}

.block:last-child {
  margin-bottom: 0;
}

.links {
  padding-left: 6px;
}

.comment {
  color: black;
  font-size: 16px;
  line-height: 22px;
  padding-top: 8px;
  padding-bottom: 10px;
  margin-bottom: 32px;
  font-family: 'Source Serif 4', NanumBarunGothic, serif;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.comment a {
  text-decoration: none;
}

.comment pre {
  padding: 8px 12px;
  background: #f5f5f5;
  margin-top: 8px;
  margin-bottom: 16px;
}

.comment code {
  background: #f5f5f5;
  padding: 2px 6px;
}

.comment.member {
  padding: 6px 0;
  margin-left: 36px;
  font-size: 16px;
}

.comment.member .summary-section {
  font-size: 16px;
}

.comment.member p {
  padding-left: 0;
}

.summary-section {
  font-size: large;
}

.block-tag {
  font-style: italic;
  font-weight: bold;
}

.module-link {
  color: #4d76ae;
  font-size: 16px;
  line-height: 16px;
  display: inline-block;
}

.import-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  margin-bottom: 16px;
  width: 100%;
  overflow: hidden;
  flex-wrap: wrap;
}

.import-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.import-button code {
  padding: 0;
  font-size: 12px;
}

.import-button pre {
  white-space: pre-wrap;
}

@media only screen and (max-width: 480px) {
  .import-button {
    margin-top: 16px;
  }
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.import-button .icon {
  width: 16px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 4px;
  cursor: pointer;
}

.import-button .icon img {
  max-height: 14px;
  max-width: 14px;
}

.module-file {
  font-weight: bold;
}

.full-type code {
  font-size: 20px;
}

.external {
  color: #333;
}

.file-item-link a {
  text-decoration: none;
  color: #0366d6;
  padding: 6px 0;
  display: inline-block;
}

.file-item-summary {
  margin-left: 16px;
}

.main-identifier {
  color: black;
  font-weight: bold;
}

.name-identifier,
.name-identifier span {
  color: black;
  font-family: 'Source Code Pro', monospace;
}
