section {
  width: 1400px;
  height: 800px;
}
* {
  user-select: none;
}
#about {
  padding-top: 0px;

  margin-top: -30px;
  position: relative;
  top: 100px;
  margin-bottom: 150px; /* Necessary for the child (.photo) to be positioned relative to this section */
}

.photo {
  height: 320px;
  width: 250px;
  overflow: hidden;
  border-radius: 50%;
  background-size: cover;
  position: absolute; /* Absolute positioning to move it outside the section */
  top: -150px; /* Move half the height (125px) outside the section */
  left: 0px; /* Optional: Adjust horizontal positioning */
  border: 13px solid #6a2a8a;

  z-index: 1;
}

.photo img {
  width: 100%;
  object-fit: cover;
}

.para {
  margin-top: 80px;
  font-size: 27px;
  color: #0a0908;
  font-weight: 700;
  font-family: papyrus, "Moon Dance", cursive;
  margin-left: 30px;
}
h1 {
  margin-left: 445px;
  font-size: 80px;
  margin-top: 20px;
  color: #0a0908;
  font-family: harrington, "Moon Dance", cursive;
}

.study {
  height: 200px;
  width: 200px;
  position: absolute;
  right: 100px;
  bottom: 50px;
}
.lkdn {
  height: 50px;
  width: 50px;
  position: absolute;
  left: 100px;
  bottom: 100px;
  opacity: 0.8;
}
.githb {
  height: 55px;
  width: 55px;
  position: absolute;
  left: 200px;
  bottom: 100px;
  opacity: 0.8;
  border-radius: 25px;
}
.lkdn:hover {
  opacity: 1;
  box-shadow: 0px 0px 20px 14px rgba(0, 0, 0, 0.2);
}
.githb:hover {
  opacity: 1;
  box-shadow: 0px 0px 20px 14px rgba(0, 0, 0, 0.2);
}
h1 span,
p span {
  display: inline-block;
  opacity: 0;
  filter: blur(4px);
}

h1 span:nth-child(1) {
  animation: fade-in 1s 0.1s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

h1 span:nth-child(2) {
  animation: fade-in 1s 0.5s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

p span:nth-child(1) {
  animation: fade-in 1s 0.9s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

p span:nth-child(2) {
  animation: fade-in 1s 1.4s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

p span:nth-child(3) {
  animation: fade-in 1s 1.8s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

p span:nth-child(4) {
  animation: fade-in 1s 2.1s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

p span:nth-child(5) {
  animation: fade-in 1s 2.3s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

p span:nth-child(6) {
  animation: fade-in 1s 2.7s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

p span:nth-child(7) {
  animation: fade-in 1s 2.3s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

p span:nth-child(8) {
  animation: fade-in 1s 2.7s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

p span:nth-child(9) {
  animation: fade-in 1s 2.9s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
@keyframes fade-in {
  100% {
    opacity: 1;

    filter: blur(0);
  }
}

.h {
  color: transparent;
  background: linear-gradient(to right, #f87503, #0386f8, #f8ba03, #f003f8);
  -webkit-background-clip: text;
  padding-left: 4px;
}

.brand {
  color: transparent;
  background: linear-gradient(to right, #f904ff, #ea6e00ba, #fd0d0d);
  -webkit-background-clip: text;
}

.photo img {
  transition: all ease 1s;
}

.photo:hover img {
  scale: 1.2;
}

@media (max-width: 700px) {
  section {
    width: 500px;
    height: 1213px;
    top: 25px !important;
  }
  #about {
    margin-top: 30px;
  }
  h1 {
    margin-left: 50px;
    font-size: 57px;
    margin-top: 100px;
    margin-bottom: 10px;
    font-family: "Satisfy", cursive;
  }
  .para {
    margin-top: 50px;
    font-size: 25px;
    color: #0a0908;
    font-weight: 600;
    font-family: "Moon Dance", cursive;

    margin-left: 30px;
  }
  .photo {
    height: 200px;
    width: 170px;
    left: 166px;
    top: -123px;
    position: absolute;
    border: 10px solid #6a2a8a;
  }

  .study {
    height: 200px;
    width: 200px;
    position: absolute;
    right: 30px;
    bottom: 40px;
  }
  .lkdn {
    height: 50px;
    width: 50px;
    position: absolute;
    left: 45px;
    bottom: 96px;
  }
  .githb {
    height: 55px;
    width: 55px;
    position: absolute;
    left: 140px;
    bottom: 93px;
  }
  .navbar a {
    font-family: "Miltonian", serif;
    font-style: normal;
  }
}
@media (max-width: 500px) {
  section {
    width: 370px;
    height: 1380px;
    top: 6px !important;
  }
  .navbar a {
    font-family: "Miltonian", serif;
    font-style: normal;
  }
  h1 {
    margin-left: 41px;
    font-size: 40px;
    font-weight: 900;
    font-family: "Almendra Display", serif;
    margin-top: 42px;
    font-style: normal;
    margin-bottom: 10px;
  }
  .para {
    font-family: "Moon Dance", cursive;
    font-style: normal;
    margin-top: 50px;
    font-size: 28px;
    color: #0a0908;
    font-weight: 700;
    margin-left: 4px;
  }
  .para span {
    display: inline;
  }
  .photo {
    height: 200px;
    width: 170px;
    left: 103px;
    top: -92px;
    position: absolute;
    border: 10px solid #6a2a8a;
    box-shadow: 0px -14px 20px 0px rgba(0, 0, 0, 0.2);
  }

  .study {
    height: 200px;
    width: 200px;
    position: absolute;
    right: 88px;
    bottom: 26px;
  }
  .lkdn {
    height: 50px;
    width: 50px;
    position: absolute;
    left: 103px;
    bottom: 261px;
  }
  .githb {
    height: 55px;
    width: 55px;
    position: absolute;
    left: 193px;
    bottom: 260px;
  }
}

.photo {
  animation: shadowAnimation 8s ease-in infinite;
}

@keyframes shadowAnimation {
  0% {
    box-shadow:
      0px 0px 10px 1px #0aff1e,
      /* Hot pink */ 0px 0px 20px 2px rgb(0, 191, 255); /* Deep sky blue */
  }
  10% {
    box-shadow:
      0px 0px 10px 1px rgb(255, 94, 0),
      /* Orange red */ 0px 0px 20px 2px rgb(0, 255, 255); /* Aqua */
  }
  20% {
    box-shadow:
      0px 0px 10px1px rgb(255, 221, 0),
      /* Bright yellow */ 0px 0px 20px 2px rgb(128, 0, 255); /* Purple */
  }
  30% {
    box-shadow:
      0px 0px 10px 1px rgb(173, 255, 47),
      /* Lime green */ 0px 0px 20px 2px rgb(255, 0, 153); /* Fuchsia pink */
  }
  40% {
    box-shadow:
      0px 0px 10px 1px rgb(0, 255, 128),
      /* Mint green */ 0px 0px 20px 2px rgb(255, 99, 71); /* Tomato */
  }
  50% {
    box-shadow:
      0px 0px 10px 1px rgb(0, 255, 47),
      /* Cyan */ 0px 0px 20px 2px rgb(255, 105, 180); /* Hot pink */
  }
  60% {
    box-shadow:
      0px 0px 10px 1px rgb(30, 144, 255),
      /* Dodger blue */ 0px 0px 20px 2px rgb(255, 255, 0); /* Yellow */
  }
  70% {
    box-shadow:
      0px 0px 10px 1px rgb(138, 43, 226),
      /* Blue violet */ 0px 0px 20px 2px rgb(0, 255, 102); /* Neon green */
  }
  80% {
    box-shadow:
      0px 0px 10px 1px rgb(0, 0, 255),
      /* Blue */ 0px 0px 20px 2px rgb(255, 20, 147); /* Deep pink */
  }
  90% {
    box-shadow:
      0px 0px 10px 1px rgb(255, 0, 255),
      /* Magenta */ 0px 0px 20px 2px rgb(0, 255, 255); /* Cyan */
  }
  100% {
    box-shadow:
      0px 0px 10px 1px rgb(255, 0, 85),
      /* Hot pink */ 0px 0px 20px 2px rgb(0, 191, 255); /* Deep sky blue */
  }
}
