@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@100;200;300;400;500;600;700&family=Source+Sans+3:wght@200..900&display=swap');


@font-face {
  font-family: 'Chillax-Variable';
  src: url('/fonts/Chillax-Variable.woff2') format('woff2'),
    url('/fonts/Chillax-Variable.woff') format('woff'),
    url('/fonts/Chillax-Variable.ttf') format('truetype');
}


footer {
  font-family: "Chillax-Variable", "IBM Plex Sans Thai", sans-serif;
  font-optical-sizing: auto;
  font-variant: normal;
  font-weight: 400;
  align-items: center;
  padding: 1.5rem 1rem;
  background-color: #f5f5f5;
  color: #a6a5a5;
  text-align: center;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
}

footer .copyright {
  font-weight: 700;
  color: #333;
}

footer .social-links {
  margin: 1.25rem 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

footer .social-links a {
  text-decoration: none;
  color: #555;
  /* Changed from white for better visibility on light background */
  margin: 0 0.5rem;
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

footer .social-links a:hover {
  color: #333;
  /* Darker on hover for better visibility */
  transform: translateY(-2px);
}

footer p {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

footer .st-link {
  color: #a6a5a5;
  text-decoration: none;
  padding-bottom: 1px;
}

footer .st-link:hover {
  color: #666;
  font-weight: 600;
  transition: 0.5s;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
  footer {
    padding: 1.25rem 0.75rem;
  }

  footer .social-links {
    flex-wrap: wrap;
  }
}

@media (prefers-color-scheme: dark) {

  footer {
    font-optical-sizing: auto;
    font-variant: normal;
    align-items: center;
    padding: 1.5rem 1rem;
    background-color: #080808;
    color: #ffffff;
    text-align: center;
    border-top: 0px;
    font-size: 0.9rem;
    cursor: default;
  }

  footer .copyright {
    font-weight: 700;
    color: #ffff;
  }

  footer .social-links {
    margin: 1.25rem 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
  }

  footer .social-links a {
    text-decoration: none;
    color: #555;
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
  }

  footer .social-links a:hover {
    color: #333;
    transform: translateY(-2px);
  }

  footer p {
    margin-top: 1rem;
    font-size: 0.85rem;
    line-height: 1.5;
  }

  footer .st-link {
    color: #ffffff;
    text-decoration: none;
    padding-bottom: 1px;
  }

  footer .st-link:hover {
    color: #fff;
    font-weight: 600;
  }
}