.auto-slider {
  position: relative;
  box-sizing: content-box;
  display: inline-block;
  background: #fff;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
}
div#slider {
  overflow: hidden;
}
div#slider figure img {
  width: 20%;
  float: left;
  max-height: 31rem;
}
div#slider figure {
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 30s sliding ease infinite;
}

@keyframes sliding {
  0% {
    left: 0%;
  }
  20% {
    left: -100%;
  }
  40% {
    left: -200%;
  }
  60% {
    left: -300%;
  }
  80% {
    left: -400%;
  }
  100% {
    left: 0%;
  }
}
/* ============work============ */
.work {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.work img {
  height: 200px;
  width: 100%;
  border-radius: 10px;
  display: block;
  transition: transform 0.5s;
}
.layer {
  width: 100%;
  height: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.7), #098fac);
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  font-size: 14px;
  transition: height 0.5s;
}
.layer h3 {
  font-weight: 500;
  margin-bottom: 20px;
}
.layer a {
  margin-top: 20px;
  color: #dc139a;
  text-decoration: none;
  font-size: 16px;
  line-height: 50px;
  background: #fff;
  height: 50px;
  width: 50px;
  border-radius: 50px;
  text-align: center;
}
.work:hover img {
  transform: scale(1.1);
}
.work:hover .layer {
  height: 100%;
}

/* ================profile pic================ */

.porfile-one {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 20px;
}
.profile-photo {
  background: #fff;
  height: 150px;
  width: 150px;
  border-radius: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.profile-photo::before {
  content: '';
  position: absolute;
  height: 150px;
  width: 50px;
  background: linear-gradient(rgba(8, 8, 8, 0.7), #f501a4);
  animation: profileRotate 4s linear infinite;
}
.profile-photo::after {
  content: '';
  position: absolute;
  background: #dc139a;
  inset: 5px;
  border-radius: 80px;
}
.profile-photo img:hover {
  cursor: pointer;
}
.profile-photo img {
  width: 140px;
  height: 140px;
  overflow: hidden;
  border-radius: 80px;
  z-index: 2;
}
@keyframes profileRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@media screen and (max-width: 515px) {
  .porfile-one {
    flex-direction: column;
  }
}
.type_contai {
  display: inline-block;
}
/* this is text typing */
.type_text {
  font-size: 1.3em;
  /* letter-spacing: 1px; */
  /* font-family: monospace; */
  /* border-right: 5px soild #fff; */
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  animation: typing 8s, cursor 0.4s step-end infinite alternate;

  /* font-weight: bold; */
  /* position: relative; */
}
@keyframes cursor {
  50% {
    border-color: transparent;
  }
}

@keyframes typing {
  from {
    width: 0%;
  }
}
@media screen and (max-width: 440px) {
  #my_Email {
    font-size: 14px;
  }
}
@media screen and (min-width: 400px) {
  .profileNameT {
    font-size: larger;
  }
  .profileNameJ {
    font-size: larger;
  }
}
.profileNameJ .profileNameT {
  font-weight: 900;
}
