html {
  height: 100%;
  margin: 0;
  font-family: "Rubik", Arial, sans-serif;
  background: linear-gradient(45deg, #010027, #000000, #010027);
  color: white;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  user-select: none;
  font-family: "Rubik", Arial, sans-serif;
  /* background: linear-gradient(45deg, #010027, #000000, #010027); */
  background-image: url("./asset/HomePageBackground.jpg");
  color: white;
  background-size: cover;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
}

header {
  background-color: transparent;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 20px 30px 20px 30px;
  gap: 2rem;
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 1000;
  backdrop-filter: blur(2px);
  transition: height 0.3s ease, padding 0.3s ease;
  height: 80px;
}

header.collapsed {
  height: 50px;
  padding: 10px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-nav {
  transition: opacity 0.3s ease;
}

header.collapsed .header-nav {
  opacity: 0;
  pointer-events: none;
}

.search-bar {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 0.5rem;
}

.search-input>input {
  background: transparent;
  border: none;
  height: 30px;
  width: 100%;
  outline: none;
  color: #ccc;
  font-size: large;
}

.search-input {
  border-bottom: 1px solid white;
  height: fit-content;
  width: 0px;
  padding: none;
  transition: all 500ms ease-in-out;
}

.search-icon {
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  flex-shrink: 0;
}

.centered {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.name {
  font-size: 1.7rem;
  font-weight: bold;
  margin-right: 20px;
  padding-right: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
}

.logo img {
  width: 60px;
  height: auto;
}

.signin {
  display: flex;
  align-items: center;
}

.signin button {
  font-size: 15px;
  padding: 8px 15px;
  background: linear-gradient(45deg, #00c3ff, #951cff, #ff0080);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.signin button:hover {
  background: linear-gradient(45deg, #ff0088, #951cff, #45b5ff);
}

.content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px auto;
  border-radius: 30px;
  max-width: 1200px;
  justify-content: center;
  padding: 20px;
  align-items: center;
  background-color: rgba(20, 20, 20, 0.892);
  animation: fadeIn 0.25s ease-in forwards;
  flex: 1;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.about {
  flex-grow: 1;
  text-align: center;
  flex-grow: 1;
}

.grad-text {
  background: linear-gradient(135deg, #849aff, #ffa3dc);
  background-clip: text;
  color: transparent;
  font-size: 80px;
  margin: 10px;
  display: inline-block;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  border-right: 5px solid rgb(255, 255, 255);
  animation: blink 1s steps(1000) infinite;
}
#greet{
  color:rgb(0, 194, 0);
  font-family: cursive;
  text-align: center;
}
@keyframes blink {
  from {
    border-color: rgb(255, 255, 255);
  }

  to {
    border-color: transparent;
  }
}

img {
  border-radius: 10%;
  width: 20rem;
  height: 20rem;
}

@media (max-width: 1250px) {
  h1 {
    font-size: 40px;
  }

  #des {
    font-size: 18px;
  }

  img {
    width: 260px;
    height: 260px;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: 28px;
  }
}

p {
  font-size: 20px;
  text-align: center;
  margin: 30px;
  letter-spacing: 1px;
}

footer p {
  font-size: 13px;
  margin: 0;
}

@media (max-width: 900px) {
  .content {
    flex-direction: column;
    align-items: center;
  }

  .nav-link {
    font-size: 1rem;
  }

  .name {
    font-size: 1.5rem;
  }
}

@media (max-width: 1200px) {
  .grad-text {
    font-size: 65px;
  }
}

@media (max-width: 1100px) {
  .grad-text {
    font-size: 60px;
  }
}

@media (max-width: 1000px) {
  .grad-text {
    font-size: 55px;
  }
}

@media (max-width: 800px) {
  .grad-text {
    font-size: 50px;
  }
}

@media (max-width: 500px) {
  .grad-text {
    font-size: 30px;
  }
}

.section {
  display: flex;
  justify-content: center;
  flex-direction: column;
  justify-content: center;
  flex: 2;
  color: #d7d7d7;
  border-radius: 20px;
  margin: auto;
}

.section h1 {
  font-size: 2.5rem;
  color: #ffb6dd;
  text-align: center;
}

.section h2 {
  font-size: 1.8rem;
  color: #ffffff;
}

.section p,
ul {
  font-size: 1.1rem;
  color: #d7d7d7;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .content {
    flex-direction: column;
    align-items: center;
  }

  .section h1 {
    font-size: 2rem;
  }
}

@media (max-width: 500px) {
  .section h1 {
    font-size: 1rem;
  }

  .section p {
    font-size: 0.5rem;
  }

  .about-logo {
    width: 80px;
  }

  .section {
    padding: 0px;
  }
}

.about-page {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.about-page img.about-logo {
  margin-bottom: 20px;
  margin: auto;
}

.contribution-page {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.section h1 {
  font-size: 2.5rem;
  color: #ffb6dd;
  text-align: center;
}

.section p {
  font-size: 1.2rem;
  color: #d7d7d7;
  line-height: 1.6;
  text-align: justify;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 10px;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 10px;
}

.nav-link:hover {
  color: #00c3ff;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link-icon {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  transition: color 0.3s ease;
  font-size: 15px;
  padding: 8px 15px;
  background: linear-gradient(45deg, #00c3ff, #951cff, #ff0080);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-link-icon:hover {
  color: #00c3ff;
}

.image-main img {
  border-radius: 10%;
  width: 300px;
  height: 300px;
}

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

.bars-image {
  position: fixed;
  height: 30px;
  width: 30px;
  top: 35px;
  right: 30px;
  z-index: 1001;
}

.menu-plus-image {
  height: 13px;
  width: 13px;
  transition: transform 0.35s ease;
}

.menu-plus-image.rotate {
  transform: rotate(45deg);
}

#menu-icon {
  position: relative;
  z-index: 1001;
}

.menu {
  position: fixed;
  top: 0;
  right: -60%;
  height: 100vh;
  width: 60%;
  background: linear-gradient(45deg, #010027, #000000, #010027);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  overflow-y: auto;
  transition: right 0.35s ease-in;
  padding-top: 55px;
  z-index: 1000;
}

.menu a {
  text-decoration: none;
  font-size: 1.7rem;
  margin-left: 30px;
  margin-top: 20px;
}

.menu.active {
  right: 0px;
}

@media screen and (max-width: 900px) {
  .centered {
    justify-content: space-between;
  }
}

@media screen and (max-width: 900px) {
  .content {
    margin: 10px;
  }
  .name {
    font-size: 20px;
  }

  .nav-link {
    font-size: 12px;
  }

}

#toggle-theme {
  font-size: 30px;
  color: white;
  background-color: rgba(255, 255, 255, 0);
  border: none;
}

@keyframes lightMove {
  0% {
    transform: translateX(-100%);
    opacity: 0.5;
  }

  50% {
    transform: translateX(100%);
    opacity: 0.5;
  }

  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

#start-btn {
  position: relative;
  color: white;
  background: linear-gradient(45deg, #040075, #2f0050, #570069);
  border: none;
  padding: 20px 30px;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s ease;
  font-size: 17px;
  overflow: hidden;
}

#start-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.66);
  animation: lightMove 2.4s infinite;
  pointer-events: none;
}

#start-btn:hover {
  transform: scale(1.05);
}

footer {
  background: url("asset/footer-map.png");
  color: rgb(152, 152, 152);
  padding: 20px 30px 0 30px;
  position: relative;
  width: 100%;
  font-size: 0.9rem;
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  /* Equally space the items */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
  gap: 1rem;
}

.footer-links,
.footer-social {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

/* Logo and Description */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Align items to the left */
  text-align: left;
  /* Ensure text is left-aligned */
  margin-bottom: 30px;
  max-width: 500px;
  /* Limit width for better readability */
}

/* Logo and Text Styling */
.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-logo-container img {
  width: 60px;
  height: auto;
}

.footer-logo-container span {
  font-size: 2rem;
  font-weight: bold;
  color: #f0a500;
}

.footer-description p {
  text-align: left;
  color: #e0e0e0;
  font-size: 1.1rem;
  max-width: 80%;
}

/* Quick Links */
.footer-links h3,
.footer-social h3 {
  color: #f0a500;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: #f0a500;
}

/* Social Icons */
.footer-social .social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social .social-icons a {
  color: #f0f0f0;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: #f0a500;
  transform: scale(1.1);
}

/* Bottom Footer */
.footer-bottom {
  border-top: 1px solid #333;
  color: #c0c0c0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
}

.footer-bottom p {
  font-size: 1rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-description p {
    text-align: center;
    max-width: 100%;
  }

  .footer-content,
  .footer-links,
  .footer-social {
    align-items: center;
    text-align: center;
  }

  .footer-links ul li {
    margin-right: 0;
  }
}