/*
 * 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.
 *
 * color reference
 * brand-text-dark-green: cyan-800
 * brand-text-light-green: emerald-500
 * brand-dark-yellow: yellow-500
 * brand-bg-light-green: cyan-50
 */


 /*
 *= require application.tailwind

 */

@keyframes float1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(5px); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(5px); }
  50% { transform: translateY(-10px); }
}

.circle-border {
  margin-top: -10px;
  height: 80px;
  background-image:
    radial-gradient(circle at 50px -10px, white 60px, transparent 60px),
    radial-gradient(circle at 150px -10px, white 60px, transparent 60px),
    radial-gradient(circle at 250px -10px, white 60px, transparent 60px);
  animation:
    float1 4s ease-in-out infinite,
    float2 5s ease-in-out infinite,
    float3 6s ease-in-out infinite;
  background-size: 100px 60px;
  background-repeat: repeat-x;
}

.nav-link {
  position: relative;
}

.nav-link:before {
  content: '';
  position: absolute;
  width: 120%;
  height: 3px;
  top: -8px;
  left: -10%;
  background-color: currentColor;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover:before {
  transform: scaleX(1);
}

.nav-link.active:before {
  transform: scaleX(1);
}

.footer-mask {
  -webkit-mask-image: url("/assets/triangle-border-9700b984.svg");
  mask-image: url("/assets/triangle-border-9700b984.svg");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position: top;
  mask-position: bottom;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.profile-container {
  position: relative;
}

.profile-background {
  position: absolute;
  top: 20px;
  width: 450px;
  height: 450px;
  background-image: url("/assets/face_bg-78056ed0.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  animation: rotate 80s linear infinite;
  z-index: -1;
}


/* Markdown tyles  */

/* Custom prose styles for markdown content */
.markdown-prose {
  max-width: none;
}

.markdown-prose h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  color: #065f46;
}

.markdown-prose h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: #047857;
}

.markdown-prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  color: #059669;
}

.markdown-prose h4 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  margin-top: 1rem;
  color: #059669;
}

.markdown-prose p {
  color: #374151;
  line-height: 1.625;
  margin-bottom: 1rem;
}

.markdown-prose a {
  color: #059669;
  text-decoration: none;
}

.markdown-prose a:hover {
  color: #047857;
  text-decoration: underline;
}

.markdown-prose strong {
  color: #065f46;
  font-weight: 600;
}

.markdown-prose code {
  color: #047857;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

.markdown-prose pre {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  border-radius: 0.375rem;
  overflow-x: auto;
}

.markdown-prose blockquote {
  border-left: 4px solid #34d399;
  background-color: #ecfdf5;
  padding-left: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-style: italic;
}

.markdown-prose ul {
  margin-bottom: 1rem;
  list-style-type: disc;
  padding-left: 1.5rem;
}

.markdown-prose ol {
  margin-bottom: 1rem;
  list-style-type: decimal;
  padding-left: 1.5rem;
}

.markdown-prose li {
  color: #374151;
  margin-bottom: 0.25rem;
}

.markdown-prose table {
  border-collapse: collapse;
  width: 100%;
}

.markdown-prose th {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.5rem 1rem;
  color: #065f46;
  font-weight: 600;
}

.markdown-prose td {
  border: 1px solid #e5e7eb;
  padding: 0.5rem 1rem;
  color: #374151;
}

.markdown-prose hr {
  border-color: #a7f3d0;
  margin: 2rem 0;
}

.markdown-prose img {
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-left: auto;
  margin-right: auto;
}
