html,
body {
  overflow-y: hidden;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
}

.image {
  background-position: center center;
  background-size: cover;
}

#left {
  padding: 7%;
}

.columns {
  margin-top: 0;
}

.name,
.hr,
.job,
.description,
.button {
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0, 0.5, 0, 1);
  animation-fill-mode: both;
}

.hr {
  background-color: #ff470f;
  border: none;
  content: '';
  height: 1px;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  transform-origin: center left;
  width: 4rem;
}

#right {
  width: 100%;
  height: 100%;
}

@media (min-width: 769px) {
  #right {
    width: 50%;
  }
}

#right {
  background-position: center center;
  background-size: cover;
  height: 400px;
  position: relative;
}

@media (min-width: 769px) {
  #right {
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
  }
}

/* Keyframes */

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fillUp {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Animation triggers */

.name {
  animation-name: slideDown;
}

.job,
.description {
  animation-name: slideUp;
}

.hr {
  animation-name: fillUp;
}

.button {
  animation-duration: 500ms;
  animation-name: slideUp;
  animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1.5);
}

/* Delays */

.name {
  animation-delay: 100ms;
}

.job {
  animation-delay: 200ms;
}

.hr {
  animation-delay: 300ms;
}

.description {
  animation-delay: 400ms;
}

.buttons .button:nth-child(1) {
  animation-delay: 800ms;
}

.buttons .button:nth-child(2) {
  animation-delay: 900ms;
}

.buttons .button:nth-child(3) {
  animation-delay: 1s;
}

.buttons .button:nth-child(4) {
  animation-delay: 1.1s;
}