html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  height: auto;
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at top left, #33b1c0, #000 30%);
  background-size: cover;
  background-attachment: fixed;
  justify-content: center;
  align-items: center;
}

h1,
h2 {
  display: flex;
  justify-content: center;
}
h1 {
  color: white;
  font-weight: bold;
  margin-top: 2vh;
}
h2 {
  color: rgb(243, 228, 207);
}

#header {
  margin-bottom: 56px;
}

#id {
  display: flex;
}
#content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 90%;
  margin: auto;
  margin-top: 3vh;
}
#name {
  color: white;
  font-size: xx-large;
  font-weight: bold;
}
#role {
  color: rgb(169, 163, 163);
  font-size: large;
}
#image img {
  width: 35vw;
  height: 35vw;
  max-width: 180px;
  max-height: 180px;
  object-fit: cover;
  border-radius: 50%;
  transition: 0.3s ease-in-out;
}
#image img:hover {
  transform: scale(1.05);
  filter: brightness(1);
}
#box {
  flex: 1 1 calc(33.33% - 20px);
  max-width: calc(33.33% - 20px);
  text-align: center;
}
@media (max-width: 768px) {
  #box {
    flex: 1 1 45%;
    max-width: 45%;
  }
}
@media (max-width: 480px) {
  #box {
    flex: 1 1 50%;
    max-width: 50%;
  }
}

.gradient-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Push it behind the content */
  overflow: hidden;
}

.gradient-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.sphere-1 {
  width: 40vw;
  height: 40vw;
  background: linear-gradient(
    40deg,
    rgba(255, 0, 128, 0.8),
    rgba(255, 102, 0, 0.4)
  );
  top: -10%;
  left: -10%;
  animation: float-1 15s ease-in-out infinite alternate;
}

.sphere-2 {
  width: 45vw;
  height: 45vw;
  background: linear-gradient(
    240deg,
    rgba(72, 0, 255, 0.8),
    rgba(0, 183, 255, 0.4)
  );
  bottom: -20%;
  right: -10%;
  animation: float-2 18s ease-in-out infinite alternate;
}

.sphere-3 {
  width: 30vw;
  height: 30vw;
  background: linear-gradient(
    120deg,
    rgba(133, 89, 255, 0.5),
    rgba(98, 216, 249, 0.3)
  );
  top: 60%;
  left: 20%;
  animation: float-3 20s ease-in-out infinite alternate;
}

@keyframes float-1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(10%, 10%) scale(1.1);
  }
}

@keyframes float-2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-10%, -5%) scale(1.15);
  }
}

@keyframes float-3 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  100% {
    transform: translate(-5%, 10%) scale(1.05);
    opacity: 0.6;
  }
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  z-index: 2;
}

.glow {
  position: absolute;
  width: 40vw;
  height: 40vh;
  background: radial-gradient(circle, rgba(72, 0, 255, 0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: pulse 8s infinite alternate;
  filter: blur(30px);
}

@keyframes pulse {
  0% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Lower than content, above background */
  pointer-events: none;
}

.particle {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 12px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; /* Adjust size if needed */
  height: 30px;
  background: rgba(255, 255, 255, 0.1); /* Lightly visible */
  border-radius: 50%;
  transition: 0.3s ease-in-out;
}

.social-icons a i {
  font-size: 18px;
  color: rgb(243, 228, 207);
  transition: 0.3s ease-in-out;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.2); /* Slightly brighter on hover */
  transform: scale(1.1);
}

.social-icons a i {
  font-size: 16px; /* Icon size */
  color: #f3e4cf; /* Soft light theme */
}
