main {
  position: relative;
  min-height: 100vh;
  padding: 14px;
}

.list-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
}

.list-container .list-item {
  flex: 1 1 20%;
}

.content-detail {
  gap: 1.2rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  display: grid;
}

.content-detail h1,
.content-detail h2,
.content-detail h3,
.content-detail h4,
.content-detail h5,
.content-detail h6 {
  font-weight: 700;
}

.content-detail h1 {
  font-size: 2rem;
}

.content-detail h2 {
  font-size: 1.5rem;
  line-height: 2rem;
}

.content-detail h3 {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.content-detail h4 {
  font-size: 1.1rem;
  line-height: 1.7rem;
}

.content-detail h5 {
  font-size: 1rem;
  line-height: 1.6rem;
}

.content-detail h6 {
  margin-bottom: 0.05rem;
  font-size: 0.9rem;
  line-height: 1.5rem;
}

.content-detail a,
.toc a:hover {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.content-detail a code {
  margin: auto 0;
  border-radius: 0;
  box-shadow: 0 -1px 0 var(--primary) inset;
}

.content-detail del {
  text-decoration: none;
  background: linear-gradient(to right, var(--primary) 100%, transparent 0) 0
    50%/1px 1px repeat-x;
}

.content-detail ol,
.content-detail ul {
  list-style-type: disc;
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  list-style-type: disc;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 20px;
  unicode-bidi: isolate;
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

.content-detail li {
  display: list-item;
  text-align: -webkit-match-parent;
  unicode-bidi: isolate;
}

.content-detail li p {
  margin-bottom: 0;
}

.content-detail dl {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.content-detail dt {
  width: 25%;
  font-weight: 700;
}

.content-detail dd {
  width: 75%;
  margin-inline-start: 0;
  padding-inline-start: 10px;
}

.content-detail dd ~ dd,
.content-detail dt ~ dt {
  margin-top: 10px;
}

.content-detail table {
  margin-bottom: 32px;
}

.content-detail table th {
  min-width: 80px;
  padding: 12px 8px;
  line-height: 1.5;
  border: 1px solid 240 5.9% 90%;
  background-color: var(--color-table-title);
}

.content-detail
  table:not(.highlighttable, .highlight table, .gist .highlight)
  td {
  min-width: 80px;
  padding: 12px 8px;
  line-height: 1.5;
  border: 1px solid 240 5.9% 90%;
  border-bottom: 1px solid 240 5.9% 90%;
}

.content-detail table th {
  font-size: 14px;
  text-align: start;
}

.content-detail table:not(.highlighttable) td code:only-child {
  margin: auto 0;
}

.content-detail .highlight table {
  border-radius: var(--radius);
}

.content-detail .highlight:not(table) {
  margin: 10px auto;
  background: var(--hljs-bg) !important;
  border-radius: var(--radius);
  direction: ltr;
}

.content-detail .highlight:not(table) pre {
  border-radius: var(--radius);
}

.content-detail li > .highlight {
  margin-inline-end: 0;
}

.content-detail ul pre {
  margin-inline-start: calc(-14 * -2);
}

.content-detail .highlight pre {
  margin: 0;
}

.content-detail .highlighttable {
  table-layout: fixed;
}

.content-detail .highlighttable td:first-child {
  width: 40px;
}

.content-detail .highlighttable td .linenodiv {
  padding-inline-end: 0 !important;
}

.content-detail .highlighttable td .highlight,
.content-detail .highlighttable td .linenodiv pre {
  margin-bottom: 0;
}

.content-detail code {
  margin: auto 4px;
  font-size: 0.78em;
  line-height: 1.5;
  background: var(--code-bg);
  color: var(--code-color);
  border-radius: 4px;
  padding: 0.1em 0.4em;
  font-family: "Ricty Diminished", "Ricty", "Myrica M", "Migu 1M",
    "Source Han Code JP", "SFMono-Regular", "Consolas", "Liberation Mono",
    "Menlo", "Courier", monospace;
}

.content-detail pre code {
  display: block;
  margin: auto 0;
  padding: 10px;
  color: rgb(213, 213, 214);
  background: var(--hljs-bg) !important;
  border-radius: var(--radius);
  overflow-x: auto;
  word-break: break-all;
}

.content-detail blockquote {
  margin: 20px 0;
  padding: 0 14px;
  border-inline-start: 3px solid var(--code-bg);
}

.content-detail hr {
  margin: 30px 0;
  height: 2px;
  background: var(--tertiary);
  border: 0;
}

.content-detail iframe {
  max-width: 100%;
}

.content-detail figure.align-center {
  text-align: center;
}

.content-detail figure > figcaption {
  color: 240 5.9% 10%;
  font-size: 16px;
  font-weight: bold;
  margin: 8px 0 16px;
}
.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}
.disabled\:opacity-50:disabled {
  opacity: 0.5;
}
.content-detail figure > figcaption > p {
  color: 240 4.8% 95.9%;
  font-size: 14px;
  font-weight: normal;
}
h1 > a > svg {
  display: inline;
}
img.in-text {
  display: inline;
  margin: auto;
}

.tag-container {
  padding: 3rem;
}

.tag {
  background-color: #ededed;
  border-radius: 0.3rem;
  padding: 0.1rem 0.2rem;
  color: #000;
}

.tag:hover {
  background-color: #c0c0c0;
}
.tag-font {
  font-size: 0.7rem;
}

.padding {
  padding: 0.5rem;
}
.share-area {
  position: relative;
  margin: auto;
  text-align: center;
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 10em;
}

.facebook {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 14rem;
  right: 2rem;
  z-index: 99;
  background-color: #365899;
  color: #e5e5e5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.twitter {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  color: #e5e5e5;
  position: fixed;
  bottom: 10rem;
  right: 2rem;
  z-index: 99;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.top-link {
  visibility: hidden;
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 99;
  background-color: #000;
  width: 42px;
  height: 42px;
  padding: 12px;
  border-radius: 50%;
  font-size: 15px;
  color: #fff;
  transition: visibility 0.5s, opacity 0.8s linear;
}
.top-link,
.top-link svg {
  filter: drop-shadow(0px 0px 0px var(--tw-bg-opacity));
  display: flex;
}
.footer a:hover,
.top-link:hover {
  color: #e5e5e5;
}
.top-link:focus,
#theme-toggle:focus {
  outline: 0;
}

.page-link {
  color: hsl(222.2 84% 4.9%);
  font-size: 13px;
  line-height: 30px;
  border-radius: 30px;
  padding: 5px 8px;
  min-width: 5rem;
  background-color: hsl(180 100% 50% / 0.9);
}
.page-number {
  display: flex;
  justify-content: center;
  align-items: center;
  color: hsl(222.2 84% 4.9%);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  background-color: hsl(180 100% 50% / 0.9);
}
.visibility-hidden {
  visibility: hidden;
}
.paginav a {
  color: hsl(222.2 84% 4.9%);
  font-size: 0.8rem;
  border-radius: 50%;
  padding: 0.2rem 1rem;
  min-width: 8rem;
  background-color: hsl(180 100% 50% / 0.9);
}
.paginav .next {
  margin-left: auto;
  text-align: right;
}

.active {
  border-bottom: 2px solid;
}

.page-container {
  margin: 0 1rem;
  width: 12rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loader {
  border-top-color: hsl(180 100% 50% / 0.9);
  animation: spin 1s linear infinite;
}

.progress-bar {
  background: conic-gradient(
    hsl(180 100% 50%) calc(var(--progress) * 1%),
    hsl(217.2 32.6% 17.5%) 0
  );
}

.mobile-menu {
  display: none;
}

.mobile-menu.active {
  display: block;
}

.backdrop-blur {
  backdrop-filter: blur(8px);
}

.supports-backdrop-filter {
  backdrop-filter: blur(8px);
}

.hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.5s ease-in-out;
}

.backdrop-blur {
  backdrop-filter: blur(8px);
}

.hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gradient-overlay {
  background: linear-gradient(
    to right,
    rgba(11, 15, 25, 0.9),
    rgba(11, 15, 25, 0.6),
    transparent
  );
}
/* =========================================================== */
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
  .video-height {
    height: auto;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
  .video-height {
    height: auto;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
  .video-height {
    height: auto;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1080px;
  }
  .video-height {
    height: 30rem;
  }
}
@media (min-width: 1536px) {
  .container {
    max-width: 1080px;
  }
  .video-height {
    height: 30rem;
  }
}

@media screen and (max-width: 768px) {
  .content-detail h1 {
    font-size: 28px;
  }

  .content-detail h2 {
    font-size: 25px;
  }

  .content-detail h3 {
    font-size: 24px;
  }

  .content-detail h4 {
    font-size: 16px;
  }

  .content-detail h5 {
    font-size: 14px;
  }

  .content-detail h6 {
    font-size: 12px;
  }
}
