body {
  margin: 0;
  font-family: monospace;
  background: #0d1117;
  color: #c9d1d9;
  font-size: 18px;
  top: 0 !important;

}
/* lang hide */
.goog-te-banner-frame {
  display: none !important;
}
iframe.goog-te-banner-frame {
  display: none !important;
}
.goog-te-gadget {
  font-size: 0 !important;
}
.goog-te-combo {
  display: none !important;
}
.goog-logo-link {
  display: none !important;
}
.goog-te-gadget span {
  display: none !important;
}
.goog-tooltip {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}



header {
  padding: 20px;
  border-bottom: 1px solid #222;
}
header .syn {
  font-size: 24px;
  color: #ffffff;
}
header .syn a {
  color: #c9d1d9;
  text-decoration: none;
}
header .syn a:hover {
  color: #1f6feb;
}


nav a {
  margin-right: 15px;
  color: #58a6ff;
  text-decoration: none;
}

nav a:hover {
  color: #1f6feb;
}

main {
  padding: 40px;
  max-width: 800px;
  margin: auto;
}
.project-page main {
  max-width: 1200px;
}

footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #222;
  font-size: 14px;
}
footer .foot-text {
  color: #8b949e;
}
footer a {
  color: #58a6ff;
  text-decoration: none;
}
footer a:hover {
  color: #1f6feb;
} 

.pagination {
  text-align: center;
  margin-top: 2em;
}

.pagination a, .pagination span {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  text-decoration: none;
  color: #58a6ff;
  border: 1px solid #58a6ff;
  border-radius: 4px;
}

.pagination a:hover {
  background-color: #58a6ff;
  color: #0d1117;
}

.pagination .disabled {
  color: #8b949e;
  border-color: #8b949e;
  cursor: not-allowed;
}
/* POST */
.list-posts {
  list-style: none;
  padding: 0;
}
.list-posts li {
  margin-bottom: 20px;
}
.list-posts a {
  color: #58a6ff;
  text-decoration: none;
  font-size: 1.2em;
}
.list-posts a:hover {
  color: #1f6feb;
}

/* Project */
.list-projects {
  list-style: none;
  padding: 0;
}
.list-projects li {
  margin-bottom: 20px;
}
.list-projects a {
  color: #58a6ff;
  text-decoration: none;
  font-size: 1.2em;
}
.list-projects a:hover {
  color: #1f6feb;
}
/* GRIG Project*/
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.project-card {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s ease;
  border: 1px solid rgba(255,255,255,0.05);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  padding: 15px;
}

.content h2 {
  font-size: 1.2em;
  margin: 0 0 5px;
}

.content h2 a {
  text-decoration: none;
  color: white;
}

.date {
  font-size: 0.8em;
  opacity: 0.6;
  margin-bottom: 10px;
}

.desc {
  font-size: 0.95em;
  opacity: 0.85;
}
.buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85em;
  text-decoration: none;
  color: white;
  background: #333;
  transition: 0.2s;
}

.btn:hover {
  background: #555;
}

.btn.demo {
  background: #2563eb;
}

.btn.github {
  background: #111;
}

.btn.buy {
  background: #16a34a;
}
.project-detail {
  max-width: 800px;
  margin: auto;
}

.project-detail .hero {
  width: 100%;
  border-radius: 10px;
  margin: 20px 0;
}

.buttons {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.btn {
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.btn.demo {
  background: #2563eb;
}

.btn.github {
  background: #111;
}

.btn.buy {
  background: #16a34a;
}

/* tag */
.tags {
  padding: 10px;
  color: #58a6ff;
}
.tags a {
  color: #58a6ff;
  text-decoration: none;
  margin-right: 10px;
}
.tags a:hover {
  color: #1f6feb;
}
.tags .taging {
  color: #8b949e;
}
code.block {
  display: block;
  background-color: #1e1e1e;
  color: #d4d4d4;
  padding: 12px;
  border-radius: 8px;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  border: 1px solid #333;
  overflow-x: auto;
}
code.block .line-number {
  display: inline-block;
  width: 30px;
  text-align: right;
  margin-right: 10px;
  color: #555;
}
code.block .code-content {
  display: inline-block;
  width: calc(100% - 40px);
}
code.block .line-number:hover {
  color: #1f6feb;
  cursor: pointer;
}
code.inline {
  background-color: #1e1e1e;
  color: #d4d4d4;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
}

code.inline:hover {
  background-color: #333;
  color: #1f6feb;
  cursor: pointer;
}

.code-container {
  position: relative;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #333;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8em;
}

.copy-btn:hover {
  background-color: #555;
}

pre.block {
  background-color: #1e1e1e;
  color: #d4d4d4;
  padding: 12px;
  border-radius: 8px;
  overflow-x: auto;
}
