@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@100;200;300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Agbalumo&family=Pacifico&family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

* {

}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  /* background-color: black; */
}

#section1 {
  background-color: #ffddc1;
}

#section2 {
  background-color: #ffabab;
}

#section3 {
  background-color: #ffc3a0;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  /* color: #333; */
}

@keyframes gradient-x {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.animate-gradient-x {
  background-size: 200% 200%;
  animation: gradient-x 5s ease infinite;
}

.nav-link {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transform: scaleX(0);
  transition: all 0.3s ease;
}

.nav-link:hover::before {
  background-color: #06b6d4; /* cyan-500 */
  transform: scaleX(1);
}

.nav-link:hover span:first-child {
  transform: translateY(-2px);
}

#object-container {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.snow-crystal {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.7;
    filter: blur(1px);
    animation: fall linear infinite;
}
.object {
    position: absolute;
    opacity: 0.8;
    transition: transform 0.3s ease;
}
.object:hover {
    transform: scale(1.1);
}

nav, footer {
  background-color: #17479E;
}

#typed-output {
  /* font-size: 1.5em; */
  color: #62C9DC; /* cyan-500 */
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
}

.register-btn {
  background-color: #62C9DC;
}

.register-btn:hover {
  background-color: #06b6d4;
  color: white;
  transform: scale(1.05);
  transition: all 0.3s ease;
  cursor: pointer;
}
h1 {
  font-family: "Roboto", "IBM Plex Sans Thai", sans-serif;
}
p {
  font-family: "Sarabun", sans-serif;
  font-size:1.3rem;
}