* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: url("Images/cursor.png") 10 10, auto;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    margin: 5px 10px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .projects > div {
    width: 100% !important;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .pfp {
    width: 100px;
    height: 100px;
  }

  .hero h1 {
    font-size: 20px;
  }

  .hero p {
    font-size: 13px;
  }

  .btn {
    font-size: 13px;
  }

  footer p {
    font-size: 13px;
  }
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #0d0d0d;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  overflow-x: hidden;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.navbar {
  width: 100%;
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  background: rgba(24, 24, 24, 0.7);
  border-radius: 12px;
  z-index: 1000;
}

.nav-links a {
  margin: 0 15px;
  text-decoration: none;
  color: #b3b3b3;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

section {
  margin-bottom: 80px;
  scroll-margin-top: 200px;
}

.container,
.projects,
.contact {
  text-align: center;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
  text-align: center;
}

.hero h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero p {
  font-size: 16px;
  color: #b3b3b3;
  max-width: 600px;
  margin-bottom: 30px;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  margin: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background-color: #5865f2;
  color: #fff;
}

.btn-secondary {
  background-color: #1f1f1f;
  color: #b3b3b3;
}

.btn:hover {
  transform: scale(1.1);
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
}

.pfp {
  height: 125px;
  width: 125px;
  border-radius: 100%;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #1f1f1f;
  color: white;
  text-decoration: none;
  font-size: 24px;
  transition: background-color 0.3s ease, transform 0.5s ease;
}

.social-icons a:hover {
  background-color: #5865f2;
  transform: rotate(360deg);
}

.social-icons i {
  color: #ffffff;
  font-size: 23px;
}

footer {
  width: 100%;
  text-align: center;
  padding: 20px;
  margin-top: auto;
}
footer a {
  color: cyan;
}
#contact {
  margin-bottom: 150px;
  padding-top: 100px;
  padding-bottom: 50px;
}
