@tailwind base;
@tailwind components;
@tailwind utilities;

article p {
  font-family: "PT Serif", Georgia, serif;
  font-size: 19px;
  line-height: 1.79;
  margin-top: 0;
  margin-bottom: 1.65;
}

.prose {
  max-width: 100%;
}

/* .prose p, */
/* .prose li { */
/*   @apply font-serif; */
/*   line-height: 30px; */
/*   font-size: 17px; */
/*   margin-bottom: 1.5rem; */
/* } */
/**/
/* @media (min-width: 768px) { */
/*   .prose p, */
/*   .prose li { */
/*     font-size: 18px; */
/*     line-height: 31px; */
/*   } */
/* } */

.prose h2 {
  font-size: 1.368rem;
  line-height: 2.052rem;
  margin-bottom: 0.76rem;
}

.prose blockquote {
  @apply border-none;
  @apply not-italic;
  @apply px-9;
  @apply pt-4;
  @apply relative;
  @apply m-0;
  @apply mb-8;
  quotes: none;
}

.prose blockquote:before {
  content: "\201c";
  font-family: Georgia, Arial, sans-serif;
  font-style: normal;
  position: absolute;
  left: 50%;
  top: -17%;
  transform: translateX(-50%) translateY(9px) rotate(1deg);
  color: blue;
  opacity: 0.1;
  font-size: 132px;
}

.prose blockquote p {
  @apply font-plex;
  @apply mt-2;
  @apply mb-0;
  font-size: 1.421rem;
  line-height: 1.44;
  -webkit-font-smoothing: antialiased;
}

.prose pre code {
  @apply text-sm;
}

.prose pre {
  @apply rounded-sm;
}

@media (prefers-color-scheme: dark) {
  .font-bold {
    font-weight: 500 !important;
  }

  .prose,
  p,
  .prose h2,
  .prose code,
  .prose a,
  .prose h1,
  .prose h2,
  .prose h3,
  .prose h4 {
    @apply text-gray-100;
  }

  .prose code[class*="language-"],
  .prose pre[class*="language-"] {
    @apply text-gray-200 bg-gray-900;
  }
}

.prose strong {
  @apply dark:text-gray-200 font-semibold;
}

.svg-shadow {
  -webkit-filte: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
}

hr {
  background: 0 0;
  border: none;
  text-align: center;
  max-width: none;
  line-height: 1;
  height: auto;
}

hr:before {
  content: "\00b7 \00b7 \00b7";
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1rem;
  font-family: georgia, serif;
}

.latest-posts-thumb {
  height: 89px;
  width: 89px;
}

.sticky {
  position: sticky;
}

.dots::before {
  content: "\00b7 \00b7 \00b7";
  padding-left: 21px;
  color: #666;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 21px;
  font-family: "georgia,serif";
}

.before-none::before {
  font-size: 0;
}

.mdx-marker {
  background: #f6f09e60;
}

