* {
  box-sizing: border-box;  
}

html {
  font-size: 16px; 
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: rgb(233,233,233);
  color: rgb(30,30,30);
}

h1 {
  font-size: 6.854rem;
  line-height: 2rem;
  max-width: 100%;
}

.firstname {
  animation: slide-in-blurred-top 1s .2s both;
}

.lastname {
  animation: slide-in-blurred-top 1s .4s both;
}

h2 {
  font-size: 2.618rem;
  line-height: 1rem;
}


.subtitle {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.firstsub {
  animation: slide-in-blurred-top 1s .6s both;
  margin-top: 5px;
}

.secondsub {
  animation: slide-in-blurred-top 1s .8s both;
  margin-bottom: 5px;
}

.social--links {
  margin-top: 2rem;
}

h3 {
  font-size: 1.618rem;
  margin-top: 0;
}

header {
  left: 10%;
  position: fixed;
  top: 20%;
}

.fab:hover, .far:hover, .fas:hover {
  /* animation: shadow-pop-tl 0.3s linear both; */
  /* box-shadow: -4px -4px green; */
  transform: translateX(6px) translateY(6px);
}

.fab, .far, .fas {
  animation: slide-in-blurred-top 1s 1s both;
  color: rgb(30,30,30);
  font-size: 2.618rem;
  margin-right: .75rem;
  text-decoration: none;
  transition: box-shadow .75s, transform .75s;
}

.scroll--notif {
animation: bounce-top 1.5s 1.5s ease-out both;
  color: rgb(30,30,30);
  font-size: 1.618rem;
  position: fixed;;
  top: 95vh;
  right: 25%;
  z-index: -1;
}

.fa-chevron-down {
  color: rgb(30,30,30);
  text-decoration: none;
}

.aboutMe {
  background-color: rgb(233,233,233);
  box-shadow: 0px -10px 10px rgb(233,233,233);
  font-size: 1rem;
  left: 55%;
  padding-bottom: 50vh;
  padding-top: 1rem;
  position: absolute;
  right: 5%;
  top: 100vh;
  z-index: 1;
}

.aboutMe p {
  line-height: 1.3rem;
}

.image {
  border-radius: 8px;
  margin-bottom: 1rem;
  margin-top: 1rem;
  width: 100%;
}


.picture {
  border-radius: 8px;
  margin-left: 5%;
  margin-top: 2rem;
  width: 90%;
}

.project-header {
  margin-bottom: .2rem;
}

a[ id= "scroll" ]:target ~ #main article.panel {
  -webkit-transform: translateY( 0px);
  transform: translateY( 0px );
}

@media screen and (max-width: 930px) {
  h1 {
      /* font-size: 11.79vw; */
      font-size: 2.618rem;
  }

  h2 {
      /* font-size: 4.5vw; */
      font-size: 1.618rem;
  }

  .fab, .far, .fas {
      /* font-size: 4.5vw; */
      font-size: 1.618rem;
  }

  .aboutMe {
      left: 10%;
      /* width: 26rem; */
      /* right: 30%; */
  }

  .scroll--notif {
      left: 50%;
      top: 80vh;
  }
}

@keyframes bounce-top {
  0% {
      /* transform: translateY(-45px); */
      transform: translateY(-90px);
      animation-timing-function: ease-in;
      opacity: 0;
  }
  24% {
      opacity: 1;
  }
  40% {
      /* transform: translateY(-24px); */
      transform: translateY(-48px);
      animation-timing-function: ease-in;
  }
  65% {
      /* transform: translateY(-12px); */
      transform: translateY(-24px);
      animation-timing-function: ease-in;
  }
  82% {
      /* transform: translateY(-6px); */
      transform: translateY(-12px);
      animation-timing-function: ease-in;
  }
  93% {
      /* transform: translateY(-4px); */
      transform: translateY(-8px);
      animation-timing-function: ease-in;
  }
  25%,
  55%,
  75%,
  87% {
      transform: translateY(0px);
      animation-timing-function: ease-out;
  }
  100% {
      transform: translateY(0px);
      animation-timing-function: ease-out;
      opacity: 1;
  }
}

@-webkit-keyframes slide-in-blurred-top {
  0% {
      -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
              transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
      -webkit-transform-origin: 50% 0%;
              transform-origin: 50% 0%;
      -webkit-filter: blur(40px);
              filter: blur(40px);
      opacity: 0;
  }
  100% {
      -webkit-transform: translateY(0) scaleY(1) scaleX(1);
              transform: translateY(0) scaleY(1) scaleX(1);
      -webkit-transform-origin: 50% 50%;
              transform-origin: 50% 50%;
      -webkit-filter: blur(0);
              filter: blur(0);
      opacity: 1;
  }
}
  @keyframes slide-in-blurred-top {
  0% {
      -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
              transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
      -webkit-transform-origin: 50% 0%;
              transform-origin: 50% 0%;
      -webkit-filter: blur(40px);
              filter: blur(40px);
      opacity: 0;
  }
  100% {
      -webkit-transform: translateY(0) scaleY(1) scaleX(1);
              transform: translateY(0) scaleY(1) scaleX(1);
      -webkit-transform-origin: 50% 50%;
              transform-origin: 50% 50%;
      -webkit-filter: blur(0);
              filter: blur(0);
      opacity: 1;
  }
}