@charset "UTF-8";
/* Nice to see you here explorering my code! */
/* Feel free to let inspire you from my work, 
as I was inspired by others too. */
/* This page was developed using SASS and pure HTML */
/* Coded with ❤️ in Europe */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  box-sizing: border-box;
}

body {
  scroll-behavior: smooth;
  background-color: rgb(238, 238, 238);
  max-width: 100vw;
  max-height: 100vh;
  overflow-x: hidden;
}

p {
  font-family: "JetBrains Mono", "Roboto Mono", "Fira Mono", monospace;
}

.content {
  max-width: 1202px;
  width: 70vw;
  margin: auto;
  font-family: "JetBrains Mono", "Roboto Mono", "Fira Mono", monospace;
}
@media screen and (max-width: 500px) {
  .content {
    width: 92vw;
  }
}

.headline {
  font-family: "League Spartan", "DejaVu Sans", sans-serif;
  text-align: center;
  font-weight: 700;
  background: linear-gradient(40deg, #323c75 40%, #5a3964 60%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.headline.secondary {
  background: linear-gradient(40deg, rgb(212, 145, 0) 40%, #d17905 60%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2.headline {
  font-size: 2.2rem;
}

.main-action {
  transition: all 0.1s ease-in-out;
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(40deg, #323c75 40%, #5a3964 60%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0.7rem;
  text-align: center;
  text-decoration: none;
  border-radius: 1rem;
}

.main-action:hover {
  background: #323c75;
  box-shadow: 10px 10px 15px 0 rgba(0, 0, 0, 0.25);
  color: white;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: white;
}

section.wrapper {
  padding: 1.2rem 0;
}

.c {
  text-align: center;
}

.scroll-hint {
  height: 2rem;
  width: 0.8rem;
  border: 3px solid #e0e0e0;
  border-radius: 0.8rem;
  margin: auto;
}

.scroll-hint::before {
  width: 0.4rem;
  display: inline-block;
  height: 0.4rem;
  border-radius: 0.4rem;
  background-color: #e0e0e0;
  content: "";
  animation-delay: 2.5s;
  animation-duration: 3s;
  animation-name: scroll-hint;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.13, 0.51, 0.36, 1.11);
}

@keyframes scroll-hint {
  30% {
    margin-top: 0;
  }
  40% {
    height: 0.4rem;
  }
  60% {
    height: 0.8rem;
    margin-top: 1rem;
  }
  75% {
    height: 0.4rem;
  }
}
.bike-container {
  width: 100vw;
  overflow: hidden;
}

.bike {
  margin: 1% auto;
}

.wheel {
  transform: rotate(-20deg);
}
.wheel.front {
  position: relative;
  left: 0.5rem;
  max-width: 150px;
  max-height: 160px;
  top: -0.8rem;
}
.wheel.back {
  position: absolute;
  left: 16rem;
  top: 3.8rem;
}

.tire {
  border-radius: 50%;
  border: 12px solid black;
  width: 124px;
  height: 124px;
}

.felly {
  border-radius: 50%;
  border: 8px solid rgb(146, 146, 146);
  width: 108px;
  height: 108px;
  display: block;
}
.felly::before {
  background: silver;
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  content: "";
  display: block;
  position: relative;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
}
.felly span {
  height: 108px;
  width: 12px;
  border-left: 1px solid rgb(199, 199, 199);
  border-right: 1px solid rgb(199, 199, 199);
  display: block;
  margin: auto;
  position: absolute;
  left: 4.2rem;
  top: 1.2rem;
}
.felly span:nth-child(1n) {
  transform: rotate(30deg);
}
.felly span:nth-child(2n) {
  transform: rotate(60deg);
}
.felly span:nth-child(3n) {
  transform: rotate(90deg);
}
.felly span:nth-child(4n) {
  transform: rotate(120deg);
}
.felly span:nth-child(5n) {
  transform: rotate(150deg);
}
.felly span:nth-child(6n) {
  transform: rotate(180deg);
}

.stem {
  background-color: rgb(199, 199, 199);
  width: 20px;
  height: 7px;
  transform: translate(-20px, -85px);
}
.stem::before {
  background-color: rgb(199, 199, 199);
  width: 30px;
  height: 7px;
  transform: translate(-7px, 15px) rotate(85deg);
  content: "";
  display: block;
}
.stem .handlebar {
  background-color: black;
  width: 10px;
  height: 35px;
  transform: rotate(-30deg) translate(0, -4px);
}

.tube {
  height: 6px;
  position: relative;
  z-index: 10;
}
.tube.top {
  background-image: linear-gradient(to bottom, rgb(216, 117, 117), rgb(226, 0, 0));
  width: 137px;
  left: 7.8rem;
  top: 2.4rem;
}
.tube.down {
  background-image: linear-gradient(to bottom, rgb(216, 117, 117), rgb(226, 0, 0));
  width: 140px;
  transform: rotate(36deg);
  left: 6.7rem;
  top: 5.1rem;
}
.tube.seat {
  background-image: linear-gradient(to top, rgb(216, 117, 117), rgb(226, 0, 0));
  width: 100px;
  transform: rotate(110deg);
  left: 12.3rem;
  top: 4.3rem;
}
.tube.seat .seatpost {
  background-color: silver;
  height: 5px;
  width: 20px;
  transform: translate(-20px);
}
.tube.seat .saddle {
  background-color: brown;
  height: 12px;
  width: 50px;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 3px;
  transform: translate(-48px, -8px) rotate(-110deg);
}
.tube.seat .saddle::after {
  background-color: brown;
  height: 20px;
  width: 26px;
  border-radius: 50%;
  transform: translate(30px, -4px);
  content: "";
  display: block;
}
.tube.head {
  background-image: linear-gradient(0deg, rgb(216, 117, 117), rgb(226, 0, 0));
  width: 30px;
  height: 8px;
  transform: rotate(115deg) translate(17px);
  left: 7.2rem;
  top: 2rem;
  z-index: 11;
}

.stay {
  background-color: rgb(226, 0, 0);
  height: 4px;
  position: relative;
  z-index: 15;
}
.stay.seat {
  left: 243px;
  top: 4rem;
  width: 107px;
  transform: rotate(50deg);
}
.stay.chain {
  left: 230px;
  top: 6.8rem;
  width: 100px;
  transform: rotate(0deg);
}

.bottom-bracket {
  border-radius: 50%;
  left: 5.9rem;
  top: -1.3rem;
  position: relative;
  width: 12px;
  height: 12px;
  background-color: rgb(226, 0, 0);
}

.drivetrain {
  left: 14.2rem;
  top: 6.4rem;
  position: relative;
}
.drivetrain .crank-arms {
  position: absolute;
  top: 0;
}
.drivetrain .crank-arm {
  background-color: rgb(199, 199, 199);
  position: absolute;
  width: 50px;
  height: 6px;
  transform-origin: left;
  border-radius: 2px;
}
.drivetrain .crank-arm.left {
  z-index: 20;
  transform: rotate(20deg);
}
.drivetrain .crank-arm.left .pedal {
  left: 45px;
  transform: rotate(-20deg);
}
.drivetrain .crank-arm.right {
  z-index: 0;
  transform: rotate(200deg);
}
.drivetrain .crank-arm.right .pedal {
  left: 45px;
  transform: rotate(-20deg);
}
.drivetrain .crank-arm .pedal {
  width: 15px;
  height: 5px;
  border-radius: 3px;
  background-color: black;
  position: absolute;
}
.drivetrain .crank {
  border-radius: 50%;
  border: 2px solid rgb(199, 199, 199);
  background: #e3e3e3;
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  position: relative;
  transform: translate(-45%, -40%);
  top: 50%;
  z-index: 5;
}
.drivetrain .chain::before, .drivetrain .chain::after {
  background: rgb(82, 82, 82);
  width: 3px;
  height: 7rem;
  display: block;
  position: absolute;
  z-index: 0;
  content: "";
}
.drivetrain .chain::before {
  top: -44px;
  left: 52px;
  transform: rotate(84deg);
}
.drivetrain .chain::after {
  top: -68px;
  left: 52px;
  transform: rotate(96deg);
}

.fork {
  background-image: linear-gradient(to left, rgb(216, 117, 117), rgb(226, 0, 0));
  transform: rotate(90deg) translate(-38px, -67px);
  width: 5px;
  height: 85px;
  position: relative;
  border-radius: 3px;
  z-index: 10;
}

.shadow {
  content: "";
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 1em 1em rgba(24, 24, 24, 0.25);
  background-color: rgba(24, 24, 24, 0.25);
  width: 110px;
  height: 28px;
  position: absolute;
  z-index: 0;
}
.shadow.front {
  left: 4rem;
  top: 10rem;
}
.shadow.back {
  left: 20rem;
  top: 10rem;
}

.bike.animate {
  position: relative !important;
  left: calc(50vw - 205px);
  /* ANIMATION*/
  animation-iteration-count: 1;
  animation-timing-function: ease-out;
  animation-duration: 2.5s;
  animation-name: roll-in;
}

.wheel.animate {
  animation-iteration-count: 1;
  animation-timing-function: ease-out;
  animation-duration: 2.5s;
  animation-name: wheel-roll;
}

.crank-arm.left.animate {
  animation-iteration-count: 1;
  animation-timing-function: ease-out;
  animation-duration: 2.5s;
  animation-name: pedal-left;
}

.crank-arm.right.animate {
  animation-iteration-count: 1;
  animation-timing-function: ease-out;
  animation-duration: 2.5s;
  animation-name: pedal-right;
}

.crank-arm.left.animate .pedal {
  animation-iteration-count: 1;
  animation-timing-function: ease-out;
  animation-duration: 2.5s;
  animation-name: pedal-left-inverse;
}

.crank-arm.right.animate .pedal {
  animation-iteration-count: 1;
  animation-timing-function: ease-out;
  animation-duration: 2.5s;
  animation-name: pedal-right-inverse;
}

.shadow.front.animate {
  animation-iteration-count: 1;
  animation-timing-function: ease-out;
  animation-duration: 2.5s;
  animation-name: shadow-transformation-front;
}

.shadow.back.animate {
  animation-iteration-count: 1;
  animation-timing-function: ease-out;
  animation-duration: 2.5s;
  animation-name: shadow-transformation-back;
}

@keyframes roll-in {
  0%, 50% {
    transform: translateX(20vw);
    opacity: 0%;
  }
  70% {
    opacity: 100%;
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes wheel-roll {
  0%, 50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-380deg);
  }
}
@keyframes pedal-left {
  0%, 50% {
    transform: rotate(476deg);
  }
  100% {
    transform: rotate(20deg);
  }
}
@keyframes pedal-right {
  0%, 50% {
    transform: rotate(656deg);
  }
  100% {
    transform: rotate(200deg);
  }
}
@keyframes pedal-left-inverse {
  0%, 50% {
    transform: rotate(-116deg);
  }
  100% {
    transform: rotate(340deg);
  }
}
@keyframes pedal-right-inverse {
  0%, 50% {
    transform: rotate(-116deg);
  }
  100% {
    transform: rotate(340deg);
  }
}
@keyframes shadow-transformation-front {
  0%, 50% {
    transform: translateX(3rem);
    width: 150px;
  }
  100% {
    transform: translateX(0);
    width: 110px;
  }
}
@keyframes shadow-transformation-back {
  0%, 50% {
    transform: translateX(3rem);
    width: 150px;
  }
  100% {
    transform: translateX(0);
    width: 110px;
  }
}
@media screen and (max-width: 500px) {
  .bike.animate {
    transform: scale(0.8);
  }
  @keyframes wheel-roll {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(-200deg);
    }
  }
  @keyframes roll-in {
    0%, 50% {
      transform: translateX(30vw) scale(0.8);
      opacity: 0%;
    }
    70% {
      opacity: 100%;
    }
    100% {
      transform: translateX(0) scale(0.8);
    }
  }
}
header {
  background: linear-gradient(20deg, #323c75 33%, #5a3964 66%, #323c75 100%);
  background-size: 200% 200%;
  background-repeat: no-repeat;
  padding: 1rem 0 2rem;
  color: white;
  text-align: center;
  min-width: 100vw;
  box-sizing: border-box;
}
header ::selection {
  background-color: rgb(212, 145, 0);
}
header .intro-container {
  text-align: center;
}
header a,
header a:visited {
  color: white;
}
header .intro {
  cursor: default;
  font-size: 3rem;
  font-family: "League Spartan", "DejaVu Sans", sans-serif;
  font-weight: bold;
  display: inline-block;
  margin: 1rem 0;
}
header .intro span {
  display: inline-block;
  transition: transform 0.2s;
}
header .intro span:hover {
  transform: scale(1.05);
}
header .intro .portrait {
  width: 4rem;
  height: 4rem;
  border: white 1px solid;
  margin-bottom: -1rem;
}
header .intro .round {
  border-radius: 50%;
}
header .about {
  margin: 10% auto;
  font-family: "JetBrains Mono", "Roboto Mono", "Fira Mono", monospace;
  font-size: 1.1rem;
}
header .about ul {
  list-style: none;
  padding: 0;
}

/* ANIMATIONS */
header.animate {
  animation-iteration-count: 2;
  animation-timing-function: ease-in-out;
  animation-duration: 15s;
  animation-name: squirrl;
  animation-delay: 2.5s;
}

@keyframes squirrl {
  15% {
    background-position: 10% 30%;
  }
  50% {
    background-position: 90% 50%;
  }
  30%, 70% {
    background-position: 40 10%;
  }
  0%, 100% {
    background-position: 0% 0%;
  }
}
.intro.animate > span:nth-child(1) {
  animation-iteration-count: 1;
  animation-timing-function: cubic-bezier(0.82, 0.61, 0.58, 1);
  animation-duration: 1.2s;
  animation-name: intro-hey;
}

.intro.animate > span:nth-child(2) {
  animation-iteration-count: 1;
  animation-timing-function: cubic-bezier(0.82, 0.61, 0.58, 1);
  animation-duration: 1.2s;
  animation-name: intro-im;
}

.intro.animate > span:nth-child(3) {
  animation-iteration-count: 1;
  animation-timing-function: cubic-bezier(0.82, 0.61, 0.58, 1);
  animation-duration: 1.2s;
  animation-name: intro-henri;
}

@keyframes intro-hey {
  0% {
    transform: scale(0.8);
    opacity: 0%;
  }
  40% {
    transform: scale(1);
    opacity: 100%;
  }
}
@keyframes intro-im {
  0%, 45% {
    transform: scale(0.8);
    opacity: 0%;
  }
  60% {
    transform: scale(1);
    opacity: 100%;
  }
}
@keyframes intro-henri {
  0%, 70% {
    transform: scale(0.8);
    opacity: 0%;
  }
  100% {
    transform: scale(1);
    opacity: 100%;
  }
}
.to-come-headline {
  color: #323c75;
  font-size: 1.8rem;
}

section.projects.wrapper {
  background-color: #e0e0e0;
}

projects {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  font-family: "JetBrains Mono", "Roboto Mono", "Fira Mono", monospace;
}
projects dev-project {
  width: 33.3%;
}
@media screen and (max-width: 1202px) {
  projects dev-project {
    width: 50%;
  }
}
@media screen and (max-width: 750px) {
  projects dev-project {
    width: 100%;
  }
}

section.contact.wrapper {
  background-color: #353148;
  color: white;
}
section.contact.wrapper .headline::selection {
  background-color: rgba(50, 60, 117, 0.5);
  color: white;
}
section.contact.wrapper ::selection {
  background-color: rgb(212, 145, 0);
}

.address {
  font-family: "JetBrains Mono", "Roboto Mono", "Fira Mono", monospace;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  display: inline-block;
  padding: 1.2rem;
}

footer {
  color: rgb(95, 95, 95);
  text-align: center;
  padding: 1.2rem 0;
  background-color: #e0e0e0;
}