/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* 스크롤 애니메이션을 위한 추가 스타일 */
.opacity-0 {
  opacity: 0;
}

.translate-y-10 {
  transform: translateY(40px);
}

.transition-all {
  transition-property: all;
}

.duration-700 {
  transition-duration: 700ms;
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

/* 마크다운 스타일 */
.post-content {
  line-height: 1.6;
}

.post-content h1 {
  font-size: 2em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 700;
}

.post-content h2 {
  font-size: 1.75em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 700;
}

.post-content h3 {
  font-size: 1.5em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.post-content h4 {
  font-size: 1.25em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.post-content p {
  margin-bottom: 1em;
}

.post-content ul, .post-content ol {
  margin-bottom: 1em;
  padding-left: 2em;
}

.post-content ul {
  list-style-type: disc;
}

.post-content ol {
  list-style-type: decimal;
}

.post-content li {
  margin-bottom: 0.5em;
}

.post-content blockquote {
  border-left: 4px solid #e5e7eb;
  padding-left: 1em;
  margin-left: 0;
  margin-right: 0;
  font-style: italic;
  color: #6b7280;
}

.post-content pre {
  background-color: #f3f4f6;
  padding: 1em;
  border-radius: 0.375rem;
  overflow-x: auto;
  margin-bottom: 1em;
}

.post-content code {
  background-color: #f3f4f6;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875em;
}

.post-content pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

.post-content a {
  color: #4f46e5;
  text-decoration: underline;
}

.post-content a:hover {
  color: #4338ca;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 1em 0;
  border-radius: 0.375rem;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}

.post-content th, .post-content td {
  border: 1px solid #e5e7eb;
  padding: 0.5em;
  text-align: left;
}

.post-content th {
  background-color: #f9fafb;
  font-weight: 600;
}

.post-content tr:nth-child(even) {
  background-color: #f9fafb;
}

.post-content hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 2em 0;
}
