@keyframes move-bg {
  to {
    background-position: var(--bg-size) 0;
  }
}

@keyframes hero-gradient-animation {
  0% {
    --y-0: 8%;
    --x-0: 83%;
    --s-start-0: 13.2209727561817%;
    --s-end-0: 57.79527252984263%;
    --c-0: hsla(359, 100%, 65%, 0.35);
    --y-1: 77%;
    --x-1: 83%;
    --s-start-1: 13.2209727561817%;
    --s-end-1: 57.79527252984263%;
    --c-1: hsla(0, 100%, 50%, 0);
    --c-2: hsla(217, 91%, 60%, 0.35);
    --x-2: 16%;
    --y-2: 80%;
    --s-start-2: 10.524512369218554%;
    --s-end-2: 41.41081577193815%;
  }

  100% {
    --y-0: 81%;
    --x-0: 22%;
    --s-start-0: 8.7617747539524%;
    --s-end-0: 44.205465467741966%;
    --c-0: hsla(0, 100%, 50%, 0);
    --y-1: 6%;
    --x-1: 5%;
    --s-start-1: 8.7617747539524%;
    --s-end-1: 57.90247331543764%;
    --c-1: hsla(142, 71%, 45%, 0.34);
    --c-2: hsla(272, 89%, 65%, 0.25);
    --x-2: 90%;
    --y-2: 88%;
    --s-start-2: 7.1392183644121925%;
    --s-end-2: 37.47294723125771%;
  }
}

@property --y-0 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 8%
}

@property --x-0 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 83%
}

@property --s-start-0 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 13.2209727561817%
}

@property --s-end-0 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 57.79527252984263%
}

@property --c-0 {
  syntax: '<color>';
  inherits: false;
  initial-value: hsla(359, 100%, 65%, 0.35)
}

@property --y-1 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 77%
}

@property --x-1 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 83%
}

@property --s-start-1 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 13.2209727561817%
}

@property --s-end-1 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 57.79527252984263%
}

@property --c-1 {
  syntax: '<color>';
  inherits: false;
  initial-value: hsla(0, 100%, 50%, 0)
}

@property --c-2 {
  syntax: '<color>';
  inherits: false;
  initial-value: hsla(217, 91%, 60%, 0.35)
}

@property --x-2 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 16%
}

@property --y-2 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 80%
}

@property --s-start-2 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 10.524512369218554%
}

@property --s-end-2 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 41.41081577193815%
}

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

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

.bg-effect {
  --y-0: 8%;
  --x-0: 83%;
  --c-0: hsla(359, 100%, 65%, 0.35);
  --y-1: 77%;
  --x-1: 83%;
  --c-1: hsla(0, 100%, 50%, 0);
  --c-2: hsla(217, 91%, 60%, 0.35);
  --x-2: 16%;
  --y-2: 80%;
  animation: hero-gradient-animation 30s linear infinite alternate;
  background-image: radial-gradient(circle at var(--x-0) var(--y-0), var(--c-0) var(--s-start-0), transparent var(--s-end-0)), radial-gradient(circle at var(--x-1) var(--y-1), var(--c-1) var(--s-start-1), transparent var(--s-end-1)), radial-gradient(circle at var(--x-2) var(--y-2), var(--c-2) var(--s-start-2), transparent var(--s-end-2));
  background-blend-mode: normal, normal, normal;
  height: 100vh;
  left: 0;
  opacity: 0.5;
  position: fixed;
  right: 0;
  top: 0;
  width: 100vw;
  z-index: -1;
}

.color {
  --bg-size: 400%;
  --color-one: #ff4d51;
  --color-two: #ac58f5;
  --color-three: #3b82f6;
  --color-four: #22c55e;
  background: linear-gradient(
    90deg,
    var(--color-one),
    var(--color-two),
    var(--color-three),
    var(--color-four),
    var(--color-three),
    var(--color-two),
    var(--color-one)
  ) 0 0 / var(--bg-size) 100%;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .color {
    animation: move-bg 30s linear infinite;
  }
}

.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;
}

/* 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 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: #22c55e;
}

.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;
}

.blog-article-content table {
  border-collapse: collapse;
  border-spacing: 0;
  overflow: auto;
  text-align: left;
  width: 100%;
}

.blog-article-content th,
.blog-article-content td {
  border-bottom: 1px solid #ddd;
  padding: 0.5rem;
  vertical-align: top;
}

:root[class~="dark"] {
  .blog-article-content h2,
  .blog-article-content h3,
  .blog-article-content h4,
  .blog-article-content h5,
  .blog-article-content p,
  .blog-article-content ul,
  .blog-article-content ol,
  .blog-article-content th,
  .blog-article-content td {
    color: #F5F5F5;
  }

  .blog-article-content th,
  .blog-article-content td {
    border-bottom: 1px solid #333;
  }
}
