@font-face {
  font-family: "TG";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/TG.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "TG";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/TG.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "TG";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/TG.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "TG";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/TG.woff2") format("woff2");
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
  font-family: "TG";
  max-width: 100vw;
  overflow-x: hidden;
  font-variation-settings: "wght" 400 !important;
}

h1 {
  font-family: "TG";
  font-weight: 400;
}

h2,
h3,
p,
span {
  font-family: "TG";
  font-weight: 400;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.navbar {
  transition: background-color 0.4s ease, padding 0.4s ease,
    box-shadow 0.4s ease;
}

.img-zoom {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.limit-text-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.limit-text-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.limit-text-4 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
