* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #fff;
  color: #222;
  line-height: 1.6;
}

body {
  display: block;
  margin: 0;
  padding: 0;
}

.top-bar {
  width: 100%;
  height: 8px;
  background-color: #dc143c;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

section {
  margin-bottom: 3rem;
}
section > h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.intro-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.intro-description {
  font-size: 1.125rem;
  color: #444;
  margin-bottom: 2rem;
}

ul {
  padding-left: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.divider {
  border-bottom: 1px solid #dcdcdc;
  margin: 2.5rem 0;
}

code {
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
  background-color: #f6f8fa;
  color: #e83e8c;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

pre code {
  display: block;
  background-color: #f6f8fa;
  color: #333;
  font-size: 0.95rem;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  white-space: pre;
}

.terminal-block {
  background-color: #333;
  color: #eee;
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: 0.95rem;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
  white-space: pre;
  overflow-x: auto;
}

@media (max-width: 768px) {
  .github-fork-ribbon.fixed {
    transform: scale(0.8);
    right: 0;
    top: 0;
  }

  .intro-title {
    font-size: 2.2rem;
  }
  section > h2 {
    font-size: 1.4rem;
  } 
  pre code {
    font-size: 0.9rem;
  }
  .terminal-block {
    font-size: 0.9rem;
  }
  main {
    padding: 2rem 1.2rem;
  }
}

table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  text-align: center;
}

.example-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 0 auto;
}

.example-table th,
.example-table td {
  padding: 0.5rem;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 768px) {
  .example-table th,
  .example-table td {
    font-size: 0.9rem;
  }
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: #dc143c;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.share-btn:hover {
  background-color: #e33655;
}
