@import url("https://fonts.googleapis.com/css2?family=Kulim+Park:wght@600;700&family=Sen:wght@400;700;800&display=swap");
/*
 * Remove scroll bars from website
 */
* {
  scrollbar-width: none;
}

::-webkit-scrollbar {
  display: none;
}

/*
 * Basic body settings
 */
html,
body {
  -ms-overflow-style: none;
  overflow: auto;
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  min-height: 300px;
  font-family: "Sen", sans-serif;
  color: rgb(45, 45, 45);
  background-color: rgb(255, 255, 255);
  overflow-y: auto;
  overflow-x: hidden;
  justify-content: center;
}

/* Setup webpage working space adn make it responsive to smaller screens*/
.container {
  width: 80vw;
  height: 100vh;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  padding-left: 0px;
  padding-right: 0px;
  background-color: rgba(0, 0, 0, 0);
  font-size: 20px;
  line-height: 1.6;
}

.container .content {
  width: 50vw;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  line-height: 1.9;
  padding-bottom: 200px;
}

.container .content img {
  max-width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
}

a:link {
  color: #62b775;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: #62b775;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: #52a263;
  background-color: transparent;
  text-decoration: none;
}

a:active {
  color: #52a263;
  background-color: transparent;
  text-decoration: none;
}

/*
 * Setup fader
 */
#fader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 998;
  pointer-events: none;
  background: white;
  animation-duration: 300ms;
  animation-timing-function: ease-in-out;
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#fader.fade-out {
  opacity: 0;
  animation-name: fade-out;
}

#fader.fade-in {
  opacity: 1;
  animation-name: fade-in;
}

.header {
  display: flex;
  justify-content: space-between; /* Align items horizontally */
  align-items: center; /* Align items vertically */
  padding: 20px 30px;
  width: 100%;
  min-height: 100px;
  max-height: 100px;
  background: rgba(0, 0, 0, 0);
  z-index: 100;
  box-sizing: border-box;
  z-index: 999;
}

.logo-container {
  display: flex;
  align-items: center; /* Vertically aligns the logo and site name */
  z-index: 999;
}

.logo-container .site-name a {
  font-size: 32px;
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-family: "Kulim Park", sans-serif;
  font-weight: 700 !important;
  align-items: center;
  z-index: 999;
}

.logo-container .logo {
  width: 30px; /* Adjust size as needed */
  height: auto;
  margin-right: 30px; /* Space between logo and site name */
  z-index: 999;
}

.main-navbar a {
  position: relative;
  margin-left: 40px;
  font-size: 20px;
  color: black;
  font-weight: 500;
  text-decoration: none;
  z-index: 999;
}

.main-navbar a::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 2px;
  background: black;
  transition: 0.3s;
  z-index: 999;
}

.main-navbar a:hover::before {
  width: 100%;
}

nav ul a.active {
  font-weight: bold;
  color: rgb(0, 0, 249); /* Change style for the active page */
}

.navbar-links {
  list-style: none;
  display: flex;
  margin: 0;
}

.hamburger {
  display: none;
  font-size: 2em;
  cursor: pointer;
  z-index: 10;
  position: fixed;
}

/* Hide dropdown by default */
.dropdown-menu {
  display: none;
  background-color: #ffffff;
  position: fixed;
  top: 0px;
  right: 0px;
  height: 100vh;
  width: 100%;
  text-align: center;
  padding-top: 100px;
}

.dropdown-menu ul {
  list-style: none;
  padding: 0;
}

.dropdown-menu ul li {
  padding: 10px 0;
}

.dropdown-menu ul li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 1.2em;
}

@media (max-width: 1035px) {
  /* Hide normal navigation */
  .logo-container .site-name {
    display: none;
    opacity: 0.5; /* Fades out the site name */
    visibility: hidden; /* Prevents interaction once fully faded */
  }
  .navbar-links {
    display: none;
  }
  /* Show hamburger menu */
  .hamburger {
    display: block;
  }
  /* Show dropdown when active */
  .dropdown-menu.active {
    display: block;
  }
  .logo-container .site-name {
    display: none;
  }
}
.about {
  display: flex;
  flex-direction: row; /* Arrange items horizontally */
  align-items: center;
  max-width: 1210px;
  background-color: rgba(255, 255, 255, 0);
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
}

.about h1 {
  align-self: flex-start;
  margin-bottom: 0px;
}

.about p {
  margin-top: 4px;
  margin-bottom: 10px;
}

/* Style for the text section */
.text-section {
  flex: 1; /* Allow text section to take available space */
  margin-right: 100px; /* Space between text and image */
  text-align: justify;
  align-items: center;
  display: flex;
  flex-direction: column;
}

/* Style for the image */
.image-section img {
  max-width: 100%; /* Ensure image doesn't exceed container's width */
  height: auto;
  border-radius: 8px; /* Optional: for rounded corners */
  justify-content: center;
}

/* Responsive design: stack items vertically when screen width is 768px or less */
@media (max-width: 1300px) {
  .about {
    margin-top: 10px;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Align items to the left */
  }
  .image-section img {
    margin-top: 20px;
    margin-bottom: 35px;
  }
  .text-section {
    margin-right: 0; /* Remove margin when stacked */
    margin-bottom: 20px; /* Add space below text section */
    justify-content: center;
  }
}
/************************* 
Welcome page
*************************/
.welcome_card {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  flex-direction: column; /* Optional: arrange items vertically */
  padding: 20px; /* Padding inside the container */
  background-color: rgba(255, 255, 255, 0); /* Background color for the centered div */
  color: var(--textcolor-light);
  height: 70vh;
  max-width: 100%; /* Ensure it doesn't overflow horizontally */
  max-height: 100%; /* Ensure it doesn't overflow vertically */
  box-sizing: border-box; /* Include padding in the element's width/height */
  text-align: center; /* Center text content */
}

.welcome_card {
  user-select: none; /* Standard syntax */
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
}

.welcome_card h1 {
  margin: 0;
  padding-top: 10px;
}

.welcome_card p {
  font-size: 16pt;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 0;
}

/* Title styling */
.title {
  margin: 0 0 20px 20px; /* Left margin of 20px, no top margin */
  font-size: 2em; /* Adjust the title size */
  text-align: left; /* Explicit left alignment */
}

/* Description styling */
.description {
  margin: 0 0 20px 20px; /* Same left margin as the title for consistency */
  font-size: 1.2em; /* Adjust the description size */
  line-height: 1.6; /* Improves readability */
  text-align: left; /* Explicit left alignment */
}

.social-icon {
  transition: 0.2s;
  text-decoration: none;
  margin-right: 10px;
  margin-left: 10px;
}

@media (min-width: 768px) {
  .social-icon {
    margin-right: 0px;
    margin-left: 20px;
  }
}
.social-icon:hover {
  filter: drop-shadow(0 0 0.75rem #eb9832);
  text-decoration: none;
}

#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

img.gc {
  max-width: 100vw;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain; /* scales image to fit within container */
  display: block;
}

/*# sourceMappingURL=style.css.map */