@import url(var.css);

.circle {
  width: 350px;
  height: 250px;
  border-radius: 50%;
  background: rgb(100, 139, 247);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 7px;
  right: -25px;
  z-index: -1;
  filter: blur(150px);
}
/* profile picture div  */
.profile-pic {
  position: relative;
  /* border: 2px solid; */
  padding: 0px;
  margin-top: 10px;
  margin-bottom: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-pic img {
  width: 280px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(100, 139, 247, 0.432);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* floating items  */
.item1,
.item2 {
  width: 70px;
  height: 70px;
  border-radius: 50px;
  font-size: 25px;
  color: #ffffff;
  background: transparent;
  border: 2px solid var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.item1 {
  position: absolute;
  margin-top: 0px;
  top: -10px;
  right: -40px;
  animation: float-i1 5s linear infinite;
}

.item2 {
  position: absolute;
  bottom: -10px;
  left: -40px;
  margin-bottom: 0px;
  animation: float-i2 5s ease infinite;
}

@keyframes float-i1 {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px) rotate(10deg);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes float-i2 {
  0% {
    transform: translateY(-0px);
  }
  50% {
    transform: translateY(15px) rotate(-10deg);
  }
  100% {
    transform: translateY(-0px);
  }
}
/* glowing border --start */
@property --angle {
  initial-value: 0deg;
  syntax: "<angle>";
  inherits: false;
}
.profile-pic::before,
.profile-pic::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: conic-gradient(
    from var(--angle),
    transparent 80%,
    var(--accent-color) 20%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
  padding: 3px;
  animation: 5s spin linear infinite;
}
@keyframes spin {
  from {
    --angle: 0deg;
  }

  to {
    --angle: 360deg;
  }
}

.profile-pic::before {
  filter: blur(1.2rem);
}
/* glowing border --end */

#about {
  max-width: 800px;
  /* padding-bottom: 40px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
}
#short-desc {
  font-size: 20px;
}
#about-title {
  font-size: 30px;
  margin-bottom: 10px;
  color: var(--accent-color);
  width: 80%;
  margin-left: 7px;
}

#about-section,
#short-desc {
  animation: appear ease-in-out 1.3s !important;
}

@keyframes appear {
  0%,
  50% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

.intro {
  overflow: hidden;
  white-space: nowrap;
  padding-right: 3px;
  animation: typing ease-in-out 2.5s;
  margin: 10px auto;
  text-align: center;
}
@keyframes typing {
  from {
    width: 0px;
  }
  to {
    width: 100%;
  }
}
