@import "tailwindcss";

/* отступы для секций */
section {
  @apply py-12 ;
}

/* Стили для контента поста в блоге */
.prose p {
  @apply mb-6 leading-relaxed;
}

.prose h2 {
  @apply mt-10 mb-6 text-2xl font-bold text-gray-800;
}

.prose h3 {
  @apply mt-8 mb-4 text-xl font-semibold text-gray-700;
}

.prose h4 {
  @apply mt-6 mb-3 text-lg font-semibold text-gray-600;
}

.prose ul,
.prose ol {
  @apply mb-6 ml-8 space-y-2;
}

.prose li {
  @apply leading-relaxed;
}

.prose blockquote {
  @apply my-8 pl-6 border-l-4 border-gray-300 text-gray-600 italic;
}

.prose pre {
  @apply my-6 p-4 bg-gray-100 rounded-lg overflow-x-auto;
}

.prose code {
  @apply px-2 py-1 bg-gray-100 rounded text-sm font-mono;
}

.prose pre code {
  @apply p-0 bg-transparent rounded-none;
}



/* Стили для страницы about */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes staggerFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Классы утилит */
.animate-fadeInUp { animation: fadeInUp 0.8s ease-out forwards; }
.animate-staggerFadeIn { animation: staggerFadeIn 0.8s ease-out forwards; }
.animate-slideInRight { animation: slideInRight 0.8s ease-out forwards; }
.animate-slideInLeft { animation: slideInLeft 0.8s ease-out forwards; }

.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-700 { animation-delay: 0.7s; }