/*!
 * Font Awesome Pro 7.3.1 subset, scoped to .fab-fa7 (Contact FAB only)
 * https://fontawesome.com - License: Commercial License (see ../fonts/fontawesome7/LICENSE.txt)
 * Copyright 2026 Fonticons, Inc.
 * Every selector starts with .fab-fa7 so it cannot affect the site's Font Awesome 5 icons.
 */

@font-face {
  font-family: "Font Awesome 7 Pro";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../fonts/fontawesome7/webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 7 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/fontawesome7/webfonts/fa-brands-400.woff2") format("woff2");
}

/* !important beats the global `* { font-family: "Kanit" !important; font-weight: 300 }` in front.css */
.fab-fa7 .fa-solid,
.fab-fa7 .fa-brands {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-align: center;
  text-rendering: auto;
}

.fab-fa7 .fa-solid {
  font-family: "Font Awesome 7 Pro" !important;
  font-weight: 900 !important;
}

.fab-fa7 .fa-brands {
  font-family: "Font Awesome 7 Brands" !important;
  font-weight: 400 !important;
}

.fab-fa7 .fa-solid::before,
.fab-fa7 .fa-brands::before {
  content: var(--fa);
}

/* solid */
.fab-fa7 .fa-message-dots { --fa: "\f4a3"; }
.fab-fa7 .fa-phone { --fa: "\f095"; }
.fab-fa7 .fa-xmark { --fa: "\f00d"; }

/* brands */
.fab-fa7 .fa-line { --fa: "\f3c0"; }
.fab-fa7 .fa-square-facebook { --fa: "\f082"; }
.fab-fa7 .fa-tiktok { --fa: "\e07b"; }

/* animation: fa-jello (from fontawesome.css 7.3.1) */
.fab-fa7 .fa-jello {
  animation-name: fa-jello;
  animation-delay: var(--fa-animation-delay, 0s);
  animation-direction: var(--fa-animation-direction, normal);
  animation-duration: var(--fa-animation-duration, 0.9s);
  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  animation-timing-function: var(--fa-animation-timing, ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .fab-fa7 .fa-jello {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes fa-jello {
  0% {
    transform: scale(1, 1);
    animation-timing-function: cubic-bezier(0.2, 0, 0.8, 1);
  }
  12% {
    transform: scale(var(--fa-jello-scale-x, 1.15), calc(2 - var(--fa-jello-scale-x, 1.15)));
    animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
  }
  24% {
    transform: scale(calc(2 - var(--fa-jello-scale-y, 1.12)), var(--fa-jello-scale-y, 1.12));
    animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
  }
  36% {
    transform: scale(calc(1 + (var(--fa-jello-scale-x, 1.15) - 1) * 0.5), calc(2 - (1 + (var(--fa-jello-scale-x, 1.15) - 1) * 0.5)));
    animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
  }
  48% {
    transform: scale(calc(2 - (1 + (var(--fa-jello-scale-y, 1.12) - 1) * 0.3)), calc(1 + (var(--fa-jello-scale-y, 1.12) - 1) * 0.3));
    animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
  }
  58% {
    transform: scale(1.02, 0.98);
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
  68% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}
