html{
    scroll-behavior: smooth;
}

.me{
    position: absolute;
    top: 30%;
    left: 10%;
}

.me h1:nth-child(1) {
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    width: 90px;
    animation: type 1s steps(25,end) forwards, blink .2s step-end infinite alternate;
  }
  .me h1:nth-child(2) {
    opacity: 0;
    font-weight: bold;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-family: 'Source Sans Pro', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    width: 220px;
    animation: shring-animation 1.3s steps(25,end) 1.5s forwards, blink .2s step-end infinite alternate;
  }
  .me h1:nth-child(3) {
    opacity: 0;
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    width: 245px;
    animation: shring-animation2 1.3s steps(25,end) 2.9s forwards, blink .5s step-end infinite alternate;
  }
  @keyframes shring-animation {
    0% {
      background-position: 0 0;
      opacity: 0;
      width: 0;
    }
    1% {
      background-position: 0 0;
      opacity: 1;
      border-right: 5px solid white;
    }
    25% {
      background-position: 0 0;
      opacity: 1;
      border-right: 5px solid white;
    }
    50% {
      background-position: 150px 0;
      opacity: 1;
      border-right: 5px solid white;
    }
    75% {
      background-position: 0 0;
      opacity: 1;
      border-right: 5px solid white;
    }
    98% {
      background-position: 400px 0;
      opacity: 1;
      border-right: 5px solid white;
    }
    100% {
      background-position: 400px 0;
      opacity: 1;
      border-right: none;
    }
  }
  @keyframes shring-animation2 {
    0% {
      background-position: 0 0;
      opacity: 0;
      width: 0;
    }
    1% {
      background-position: 0 0;
      opacity: 1;
      border-right: 5px solid white;
    }
    25% {
      background-position: 0 0;
      opacity: 1;
      border-right: 5px solid white;
    }
    50% {
      background-position: 150px 0;
      opacity: 1;
      border-right: 5px solid white;
    }
    100% {
      background-position: 400px 0;
      opacity: 1;
      border-right: 5px solid white;
    }

  }
  
  @keyframes type {
    0% {
      background-position: 0 0;
      opacity: 0;
      width: 0;
    }
    1% {
      background-position: 0 0;
      opacity: 1;
      border-right: 5px solid white;
    }
    50% {
      background-position: 150px 0;
      opacity: 1;
      border-right: 5px solid white;
    }
    100% {
      background-position: 400px 0;
      opacity: 1;
      border-right: none;
    }
  }
  @keyframes blink {
    50% {
      border-color: transparent;
    }
    50% {
      border-color: #232946;
    }
  }



.myPicture{
    width: 200px;
    position: absolute;
    left: 25%;
    top: 20%;
    background: linear-gradient(40deg, transparent, #1E4768,transparent);
    transform: rotate(10deg);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.myPicture:hover{
    transform: rotate(0deg);
}

.aboutImg{
    width: 350px;
    transform: rotate(-20deg);
    border-radius: 5px;
    filter: grayscale(70%);
    transition: all 0.3s ease-in-out;
}

.aboutImg:hover{
    transform: rotate(0deg);
    filter: none;
}


@keyframes fadeIn{
    0%{
        opacity: 0;
    }
    50%{
        opacity: 0;
    }
    70%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

.button:hover{
    transform: translateY(-10%);
}




@media only screen and (min-width:640px){
  .myPicture{
    width: 200px;
    position: absolute;
    left: 27%;
    top: 25%;
    background: linear-gradient(40deg, transparent, #1E4768,transparent);
    transform: rotate(10deg);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}
  .me{
    position: absolute;
    top: 20%;
    left: 10%;
}

  .me h1:nth-child(1) {
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 25px;
    white-space: nowrap;
    overflow: hidden;
    width: 117px;
    animation: type 1s steps(25,end) forwards, blink .2s step-end infinite alternate;
  }
  .me h1:nth-child(2) {
    opacity: 0;
    font-weight: bold;
    font-size: 25px;
    font-family: 'Poppins', sans-serif;
    font-family: 'Source Sans Pro', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    width: 250px;
    animation: shring-animation 1.3s steps(25,end) 1.5s forwards, blink .2s step-end infinite alternate;
  }
  .me h1:nth-child(3) {
    opacity: 0;
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    width: 395px;
    animation: shring-animation2 1.3s steps(25,end) 2.9s forwards, blink .5s step-end infinite alternate;
  }
}

@media only screen and (min-width:768px){
  .myPicture{
    width: 300px;
    position: absolute;
    left: 7%;
    top: 28%;
    background: linear-gradient(40deg, transparent, #1E4768,transparent);
    transform: rotate(10deg);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.me{
  position: absolute;
  top: 40%;
  left: 60%;
}
.me h1:nth-child(1) {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  width: 100px;
  animation: type 1s steps(25,end) forwards, blink .2s step-end infinite alternate;
}
.me h1:nth-child(2) {
  opacity: 0;
  font-weight: bold;
  font-size: 25px;
  font-family: 'Poppins', sans-serif;
  font-family: 'Source Sans Pro', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  width: 250px;
  animation: shring-animation 1.3s steps(25,end) 1.5s forwards, blink .2s step-end infinite alternate;
}
.me h1:nth-child(3) {
  opacity: 0;
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  width: 295px;
  animation: shring-animation2 1.3s steps(25,end) 2.9s forwards, blink .5s step-end infinite alternate;
}
}


@media only screen and (min-width:1024px){
  .myPicture{
    width: 300px;
    position: absolute;
    left: 8%;
    top: 28%;
    background: linear-gradient(40deg, transparent, #1E4768,transparent);
    transform: rotate(10deg);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}
.me{
  position: absolute;
  top: 30%;
  left: 56%;
}
.me h1:nth-child(1) {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 20px;
  white-space: nowrap;
  overflow: hidden;
  width: 117px;
  animation: type 1s steps(25,end) forwards, blink .2s step-end infinite alternate;
}
.me h1:nth-child(2) {
  opacity: 0;
  font-weight: bold;
  font-size: 35px;
  font-family: 'Poppins', sans-serif;
  font-family: 'Source Sans Pro', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  width: 355px;
  animation: shring-animation 1.3s steps(25,end) 1.5s forwards, blink .2s step-end infinite alternate;
}
.me h1:nth-child(3) {
  opacity: 0;
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 20px;
  white-space: nowrap;
  overflow: hidden;
  width: 395px;
  animation: shring-animation2 1.3s steps(25,end) 2.9s forwards, blink .5s step-end infinite alternate;
}
}
@media only screen and (min-width:1280px){
  .myPicture{
    width: 350px;
    position: absolute;
    left: 13%;
    top: 28%;
    background: linear-gradient(40deg, transparent, #1E4768,transparent);
    transform: rotate(10deg);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}
.me{
  position: absolute;
  top: 30%;
  left: 54%;
}
.me h1:nth-child(1) {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 25px;
  white-space: nowrap;
  overflow: hidden;
  width: 117px;
  animation: type 1s steps(25,end) forwards, blink .2s step-end infinite alternate;
}
.me h1:nth-child(2) {
  opacity: 0;
  font-weight: bold;
  font-size: 50px;
  font-family: 'Poppins', sans-serif;
  font-family: 'Source Sans Pro', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  width: 500px;
  animation: shring-animation 1.3s steps(25,end) 1.5s forwards, blink .2s step-end infinite alternate;
}
.me h1:nth-child(3) {
  opacity: 0;
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 25px;
  white-space: nowrap;
  overflow: hidden;
  width: 490px;
  animation: shring-animation2 1.3s steps(25,end) 2.9s forwards, blink .5s step-end infinite alternate;
}
}

@media only screen and (min-width:1366px){
  .myPicture{
    width: 350px;
    position: absolute;
    left: 13%;
    top: 28%;
    background: linear-gradient(40deg, transparent, #1E4768,transparent);
    transform: rotate(10deg);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}
.formalPic{
  position: absolute;
  bottom: 0;
  left: 30%;
  width: 50%;
  height: 80%;

}
.me{
  position: absolute;
  top: 30%;
  left: 57%;
}
.me h1:nth-child(1) {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 25px;
  white-space: nowrap;
  overflow: hidden;
  width: 117px;
  animation: type 1s steps(25,end) forwards, blink .2s step-end infinite alternate;
}
.me h1:nth-child(2) {
  opacity: 0;
  font-weight: bold;
  font-size: 50px;
  font-family: 'Poppins', sans-serif;
  font-family: 'Source Sans Pro', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  width: 500px;
  animation: shring-animation 1.3s steps(25,end) 1.5s forwards, blink .2s step-end infinite alternate;
}
.me h1:nth-child(3) {
  opacity: 0;
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 25px;
  white-space: nowrap;
  overflow: hidden;
  width: 490px;
  animation: shring-animation2 1.3s steps(25,end) 2.9s forwards, blink .5s step-end infinite alternate;
}
}

@media only screen and (min-width:1536px){
  .myPicture{
    width: 350px;
    position: absolute;
    left: 20%;
    top: 28%;
    background: linear-gradient(40deg, transparent, #1E4768,transparent);
    transform: rotate(10deg);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}
.me{
  position: absolute;
  top: 30%;
  left: 55%;
}
.me h1:nth-child(1) {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 35px;
  white-space: nowrap;
  overflow: hidden;
  width: 170px;
  animation: type 1s steps(25,end) forwards, blink .2s step-end infinite alternate;
}
.me h1:nth-child(2) {
  opacity: 0;
  font-weight: bold;
  font-size: 70px;
  font-family: 'Poppins', sans-serif;
  font-family: 'Source Sans Pro', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  width: 700px;
  animation: shring-animation 1.3s steps(25,end) 1.5s forwards, blink .2s step-end infinite alternate;
}
.me h1:nth-child(3) {
  opacity: 0;
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 30px;
  white-space: nowrap;
  overflow: hidden;
  width: 585px;
  animation: shring-animation2 1.3s steps(25,end) 2.9s forwards, blink .5s step-end infinite alternate;
}
}
