/* Marquee Animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-container .flex {
  animation: marquee 30s linear infinite;
}

.marquee-container:hover .flex {
  animation-play-state: paused;
}

/* Parallax Effect */
@keyframes parallax {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10%);
  }
}

/* Prose Styling for Markdown Content */
.prose {
  color: #f0f4f8;
  line-height: 1.6;
}

.prose h2 {
  color: #0d7377;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3;
}

.prose h3 {
  color: #14535f;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.4;
}

.prose h4 {
  color: #c5c6c7;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}

.prose p {
  margin-bottom: 1.25em;
  color: #c5c6c7;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.prose strong {
  color: #f0f4f8;
  font-weight: 600;
}

.prose a {
  color: #0d7377;
  text-decoration: underline;
  transition: color 0.2s;
}

.prose a:hover {
  color: #14535f;
}

.prose ul,
.prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.5em;
  color: #c5c6c7;
}

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-bottom: 0.5em;
  line-height: 1.75;
}

.prose li::marker {
  color: #0d7377;
}

.prose blockquote {
  border-left: 0.25rem solid #0d7377;
  padding-left: 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: #c5c6c7;
  background-color: #3d3f56;
  padding: 1.25em 1.5em;
  border-radius: 0.5rem;
}

.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  background-color: #2b2d42;
  border-radius: 0.5rem;
  overflow: hidden;
}

.prose thead {
  background-color: #0d7377;
}

.prose th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 2px solid #14535f;
}

.prose td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #3d3f56;
  color: #f0f4f8;
}

.prose tr:last-child td {
  border-bottom: none;
}

.prose tr:hover {
  background-color: #3d3f56;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2em auto;
  display: block;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.prose code {
  background-color: #3d3f56;
  color: #0d7377;
  padding: 0.125em 0.375em;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.875em;
}

.prose pre {
  background-color: #3d3f56;
  padding: 1.25em;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5em 0;
}

.prose pre code {
  background-color: transparent;
  padding: 0;
  color: #f0f4f8;
}

/* Table Responsive Wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5em 0;
}

/* Smooth Transitions */
* {
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Wind Effect Animation */
@keyframes wind-gust {
  0%, 100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateX(10px) scale(1.05);
    opacity: 0.8;
  }
}

.wind-effect {
  animation: wind-gust 3s ease-in-out infinite;
}
