
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #000000;
  color: white;
  overflow-x: hidden;
}


#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}


h2 {
  text-align: center;
  color: white;
  margin-top: 50px;
}


.button-container {
  text-align: center;
  margin-top: 30px;
}


.tilt-btn {
  padding: 12px 25px;
  margin: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  backdrop-filter: blur(10px);
  transition: background 0.3s, transform 0.2s;
}

.tilt-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}


.info-card {
  width: 300px;
  padding: 20px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  margin: 100px auto;
  text-align: center;

  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.profile-photo {
  display: block;
  margin-top: 20px;
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
}


.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  width: 100%;
}


.projects-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 50px auto;
  max-width: 1200px;
  gap: 20px;
}


.project-island {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 15px;
  padding: 30px;
  width: 250px;
  height: 200px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-island:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.project-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20,20,20,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 9999;
}

.project-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.overlay-content {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  transform: scale(0.8);
  transition: transform 0.5s ease;
}

.project-overlay.active .overlay-content {
  transform: scale(1);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  border-radius: 10px;
  padding: 5px 12px;
  transition: background 0.3s;
}

.close-btn:hover {
  background: rgba(255,255,255,0.4);
}

.overlay-content img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 10px auto; 
  border-radius: 10px;
}
