@import url("https://fonts.googleapis.com/css2?family=Kanit&family=Nova+Square&family=Skranji&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Eczar:wght@400;500;600;700&family=Kumbh+Sans:wght@100;200;300;400;500;600;700&family=Mooli&family=Roboto:ital,wght@0,100;0,400;0,500;0,700;0,900;1,100&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Skranji&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kanit&family=Nova+Square&family=Skranji&display=swap");

.primary-font {
  font-family: "Mooli";
}
.secondary-font {
  font-family: "Kumbh Sans";
}
.styling-font {
  font-family: "Eczar";
}
body {
  scroll-behavior: smooth;
  font-family: "Kanit" !important;
}
section {
  padding: 50px 20px;
}
a{
    text-decoration: none;
}
:root {
  --rato: #a83b3f;
}
.inactiveIcon {
  opacity: 0 !important;
}
.border {
  border: 2px solid black;
}
.active-navbar{
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #e73c37;
  bottom: -4px; 
  left: 0;
  transition: width 0.4s ease; 
}
.hidden{
  display: none;
}
.bounce {
  animation: bounce 2s ease infinite;
}
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-30px);}
	60% {transform: translateY(-15px);}
}

/* CSS for buttons */

.button {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 0.7rem;
  padding-inline: 1.5rem;
  background-color: rgb(0, 120, 230);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffff;
  gap: 10px;
  font-weight: bold;
  border: 3px solid #ffffff4d;
  outline: none;
  overflow: hidden;
  font-size: 15px;
  cursor: pointer;
}

.icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease-in-out;
}

.button:hover {
  transform: scale(1.05);
  border-color: #fff9;
}

.button:hover .icon {
  transform: translate(4px);
}

.button:hover::before {
  animation: shine 1.5s ease-out infinite;
}

.button::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}