@import './aos.css';

@keyframes accordion-down {
  from {
    height: 0;
  }
  to {
    height: var(--starwind-accordion-content-height);
  }
}

@keyframes accordion-up {
  from {
    height: var(--starwind-accordion-content-height);
  }
  to {
    height: 0;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

:root {
  --animate-accordion-down: accordion-down 0.2s ease-out;
  --animate-accordion-up: accordion-up 0.2s ease-out;
  --animate-marquee: marquee 40s linear infinite;
  --animate-backdrop-fade-in: backdropFadeIn ease-in-out 0.3s forwards;
}

@supports (font-variation-settings: normal) {
  :root { font-family: InterVariable, sans-serif; }
}

.animate-accordion-up {
  animation: var(--animate-accordion-up);
}

.animate-accordion-down {
  animation: var(--animate-accordion-down);
}

.animate-marquee {
  animation: var(--animate-marquee);
}

.pause {
  animation-play-state: paused !important;
}

.color-text {
  background-clip: text !important;
  color: transparent;
}

.color-text.ai {
	background: linear-gradient(45deg, #ED5674 0%, #FFA500 100%);
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.flex-1 {
  transition: flex-grow 0.5s ease;
}

.invalid-feedback,
.empty-feedback {
  display: none;
}

.was-validated :placeholder-shown:invalid ~ .empty-feedback {
  display: block;
}

.was-validated :not(:placeholder-shown):invalid ~ .invalid-feedback {
  display: block;
}

.is-invalid,
.was-validated :invalid {
  border-color: #FF4D51;
}

.selected-package .package-select-btn,
.selected-service .service-select-btn  {
  background-color: #72AEE0 !important;
}

/* Blog Article */
.blog-article-content {
  color: #171717;
}

.blog-article-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 1.5rem auto;
}

.blog-article-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 1.5rem auto;
}

.blog-article-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 1.5rem auto;
}

.blog-article-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 1.5rem auto;
}

@media (min-width: 768px) {
  .blog-article-content h2 {
    font-size: 2rem;
  }

  .blog-article-content h3 {
    font-size: 1.5rem;
  }

  .blog-article-content h4 {
    font-size: 1.25rem;
  }
}

.blog-article-content p {
  font-size: 1rem;
  margin: 0 0 1.5rem;
}

.blog-article-content p:last-of-type {
  margin: 0;
}

.blog-article-content ul,
.blog-article-content ol {
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.5rem;
}

.blog-article-content ul {
  list-style-type: disc;
}

.blog-article-content ol {
  list-style-type: decimal;
}

.blog-article-content li {
  margin-bottom: 0.5rem;
}

.blog-article-content a {
  color: #5D84C8;
  text-decoration: underline;
}

.blog-article-content img {
  border-radius: 0.5rem;
  display: block;
  height: auto;
  margin: 1.5rem 0;
  max-width: 100%;
}

.blog-article-content pre {
  border-radius: 1rem;
  margin: 0 auto 1.5rem;
  padding: 1rem;
}
