html {
  scroll-behavior: smooth;
}

body {
  background-color: rgb(255, 255, 255);
  overflow-x: hidden;
  cursor: crosshair;
}

.rotatecv {
  transform: rotate(8deg);
  position: sticky;
}

.rotateportfolio {
  transform: rotate(-5deg);
}

.motivatie {
  animation: stamp 1s both;
  animation-delay: 4.5s;
  position: fixed;
  margin-left: 68%;
  margin-top: 3%;
  width: 20%;
}

.portfolio {
  position: absolute;
  width: 20%;
  margin-top: 6%;
  margin-left: 12%;
  animation: stamp 1s linear 4s both, turn 10s linear 5s infinite;
}

.portfolio:hover {
  animation-play-state: paused;
}

.cv {
  position: absolute;
  margin-top: 15%;
  margin-left: 55%;
  animation: stamp 1s both;
  animation-delay: 5s;
  width: 25%;
}

@keyframes stamp{
  0%{
    opacity: 0;
    transform: scale(3);
  }
  50%{
    opacity: 1;
  }
  100%{
    opacity: 1;
    transform: scale(1);
  }
}


@keyframes appear{
  0% {
      transform: rotate(-10deg);
  }
  100% {
      transform: rotate(0deg);
}
}

@keyframes turn{
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* TYPEWRITER */

.titel {
  margin: 15%;
  margin-bottom: 16%;
}

.typewriter {
  font-family: "Roboto mono";
  font-size: 4vw;
  color: rgb(0, 0, 0);
  font-weight: 500;
  overflow: hidden;
  border-right: .05em solid black;
  white-space: nowrap;
  width: 0;
  animation: typing steps(20, end) 1s forwards,
  blink 500ms infinite, stopblink 100ms 1s forwards;
}

.typewriter2 {
  font-family: "Roboto mono";
  font-size: 3vw;
  color: black;
  font-weight: 500;
  overflow: hidden;
  border-right: .05em solid black;
  white-space: nowrap;
  width: 0;
  animation: typing2 2.5s steps(60, end) 1.3s forwards,
  blink 500ms infinite, stopblink 100ms 7s forwards;
}

.container {
  display: inline-block;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes typing2 {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  from { border-color: transparent }
  to { border-color: black; }
}


@keyframes stopblink {
  from { border-color: black }
  to { border-color: transparent; }
}

/* CV */

.resume {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* motivatiebrief */

.motivatiebrief {
  display: block;
  margin: auto;
  transform: rotate(-2deg);
}

@media only screen and (min-width: 769px) {

  .gsm {
    display: none;
  }

  .resume {
    width: 60%;
  }

  .motivatiebrief {
    width: 60%;
  }
  
}

@media only screen and (max-width: 768px) {


  .titel{
    display: none;
  }

  .cv {
    margin-bottom: 1%;
  }

  .gsm {
    font-family: "Roboto mono";
    font-size: 10vw;
  }

  .resume {
    width: 100%;
  }

  .motivatiebrief {
    width: 100%;
  }

  .motivatie {
    animation: stamp 1s both;
    animation-delay: 1.5s;
    position: fixed;
    margin-right: 5%;
    margin-top: 3%;
    width: 20%;
  }
  
  .portfolio {
    position: absolute;
    width: 20%;
    margin-top: 48%;
    margin-left: 12%;
    animation: stamp 1s linear 1s both, turn 10s linear 2s infinite;
  }
  .cv {
    position: absolute;
    margin-top: 20%;
    margin-left: 79%;
    animation: stamp 1s both;
    animation-delay: .5s;
    width: 25%;
  }

  footer {
    margin: 10%;;
  }

  }