/* Custom styles for Lena Blog theme */

@font-face {
  font-family: 'Serif';
  src: local('Georgia'), local('Times New Roman');
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Smooth transitions */
a {
  transition: color 0.2s ease;
}

button {
  transition: all 0.2s ease;
}

img {
  transition: transform 0.5s ease;
}

/* Prose styles */
.prose {
  max-width: 65ch;
}

.prose p {
  margin-bottom: 1.25em;
}

.prose h2 {
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  font-weight: 700;
}

.prose h3 {
  font-size: 1.25em;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  font-weight: 600;
}

.prose a {
  color: #171717;
  text-decoration: none;
  font-weight: 500;
}

.prose a:hover {
  text-decoration: underline;
}

.prose ul,
.prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose img {
  margin-top: 2em;
  margin-bottom: 2em;
  border-radius: 0.375rem;
}

.prose blockquote {
  font-style: italic;
  border-left: 0.25rem solid #e5e5e5;
  padding-left: 1em;
  margin: 1.6em 0;
  color: #525252;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background: #a3a3a3;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #737373;
}

/* Loading animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* Focus visible styles */
*:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  header,
  footer,
  .no-print {
    display: none;
  }
}