* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#particles-js {
  width: 100%;
  height: 100%;
  background-position: 50% 50%;
  position: fixed;
  top: 0px;
  z-index: -1;
}

body {
  background-color: black;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  color: #0D0D0D;
  background-image: url("");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  /* Remove any transparency-related styling here */
}
canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(3px);
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  z-index: 10;
  cursor: pointer;
  transition: opacity 1s ease;
  color: white;
}

.overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-color: white;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(34, 34, 34, 0.5);
  backdrop-filter: blur(3px);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 740px;
  z-index: 2;
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.container.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.container img {
  width: 120px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 5px solid #fff;
  padding: 3px;
  transition: transform 0.2s ease-in-out;
}

.container img:hover {
  transform: scale(1.05);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.container img.spin {
  animation: spin 1s ease-out forwards;
}

.container h1 {
  font-size: 32px;
  margin: 15px 0;
  font-weight: 600;
  color: #bbb;
}

.bio {
  margin: 10px 0;
  font-size: 18px;
  line-height: 1.6;
  color: #bbb;
}

.divider {
  margin: 20px 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  border-color: white;
}

.icons a {
  margin: 0 15px;
  font-size: 24px;
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.55);
}

.icons a:hover {
  color: #fff;
  text-shadow: 0 0 25px rgba(255, 255, 255, 1);
}

.icons a:active {
  color: #fff;
  text-shadow: 0 0 25px rgba(255, 255, 255, 1);
}

@media (max-width: 600px) {
  .container {
    width: 90%;
    padding: 20px;
  }

  .icons a {
    font-size: 20px;
  }
  #backgroundIframe {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   z-index: 0;
   border: none;
   opacity: 0;
   transition: opacity 0.5s ease;
   pointer-events: none;
 }
 
 #backgroundIframe.show {
   opacity: 1;
   pointer-events: auto;
 }  
}
