/*-------------------- General --------------------*/

.container {
  max-width: 700px;
}

.container-fluid {
  max-width: 800px;
}

body {
  background-color: #090A0C;
  background-image: url(../images/vertical-bg.svg);
  position: relative;
}

.prevent-vscroll {
  height: 100vh;
  overflow-y: hidden;
}

a,
p,
h1,
h2,
h3 {
  font-family: 'Manrope', sans-serif;
  color: #fff;
}

a,
a:active,
a:visited,
a:hover,
a:focus {
  text-decoration: none;
}

/*-------------------- Reusable --------------------*/

.link,
.link:visited {
  color: #fff;
}

.link,
.link:visited {
  transition: color 0.15s;
}

.link:hover,
.link:active,
.link:focus {
  color: rgb(225, 86, 37);
}

.color--blue {
  color: rgb(225, 86, 37);
}

.stroke--purple {
  -webkit-text-stroke-color: #6B68DD;
}

.stroke--orange {
  -webkit-text-stroke-color: #E15625;
}

.font-weight--bold {
  font-weight: 600;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.spacing-bottom--sm {
  margin-bottom: 16px;
}

.spacing-bottom {
  margin-bottom: 24px;
}

.spacing-bottom--md {
  margin-bottom: 40px;
}

.spacing-bottom--lg {
  margin-bottom: 80px;
}

.spacing-bottom--xl {
  margin-bottom: 160px;
}

.spacing-top--md {
  margin-top: 40px;
}

.spacing-top--xl {
  margin-top: 160px;
}

/*-------------------- Page --------------------*/

.nav-container {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 600px) {
  .nav-container {
    margin-top: 16px;
  }
}

.nav-item {
  color: white;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 16px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}

.nav-item:hover,
.nav-item:focus {
  border-color: rgb(225, 86, 37);
}

.nav-container__items {
  display: flex;
}

.nav-item:first-child {
  margin-right: 24px;
}

.nav-item:last-child {
  margin-left: 24px;
}

.intro {
  position: relative;
  max-width: 375px;
  margin-top: calc(50vh - 140px);
  margin-left: auto;
  margin-right: auto;
}

.title {
  font-weight: 600;
  letter-spacing: 0.3;
  font-size: 30;
  /* color: rgba(220, 220, 252, 0.7); */
  color: rgba(255, 255, 255, 0.9);
  margin-top: 24px;
  line-height: 1.6;
}

.faded-greeting {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: sans-serif;
  font-size: 180;
  font-weight: 700;
  -webkit-text-fill-color: transparent; /* Will override color (regardless of order) */
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: rgba(225, 86, 37, 0.4);
}

@media (max-width: 600px) {
  .faded-greeting {
    font-size: 120;
    top: 44%;
    -webkit-text-stroke-color: rgba(225, 86, 37, 0.6);
  }
}

.phone-container {
  position: relative;
  margin-top: 100px;
  width: 100%;
  max-width: 375px;
  height: 812px;
  background-image: url(../images/iphone-base-orange.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: auto;
  margin-right: auto;
  border-radius: 40px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  -webkit-backface-visibility: hidden;
  transform: perspective(1000px) translateY(0) rotateX(0deg) scale(1);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

.phone-container:hover {
  transform: perspective(1000px) translateY(-24px) rotateX(2deg) scale(1.03);
  box-shadow:
    0px 30px 60px rgba(0, 0, 0, 0.4),
    0px 15px 25px rgba(0, 0, 0, 0.25),
    0px 2px 8px rgba(0, 0, 0, 0.15);
  cursor: url(../images/focus.svg) 5 -5, auto;
}

.touch-cursor {
  cursor: url(../images/focus.svg), auto;
}

#time {
  padding-top: 12px;
  padding-bottom: 44px;
  padding-left: 30px;
  font-size: 17;
  font-weight: 400;
  color: #fff;
}

.phone-container__apps {
  display: flex;
  width: 93%;
  margin-left: auto;
  margin-right: auto;
}

.app {
  flex: 1;
  transition: transform 0.15s;
}

.app:hover {
  transform: scale(1.03);
}

.messenger-app, .quora-app, .shopify-app {
  width: 100%;
}

.tap-message {
  position: absolute;
  width: 130px;
  font-family: 'Indie Flower';
  font-size: 18;
  color: rgba(255, 255, 255, 0.6);
  top: 40px;
  left: -180px;
  transition-property: color transform;
  transition-duration: 0.3s;
}

.tap-message--mobile {
  font-family: 'Indie Flower';
  font-size: 18;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 80px;
  text-align: center;
  display: none;
}

.phone-container:hover .tap-message {
  transform: translateX(16px) translateY(8px);
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 800px) {
  .tap-message {
    left: -140px;
  }
}

@media (max-width: 600px) {
  .tap-message--mobile {
    display: block;
  }

  .tap-message {
    display: none;
  }

  .phone-container {
    margin-top: 24px;
  }
}

.arrow-flair {
  position: absolute;
  top: 90px;
  left: -130px;
  transition: left 0.15s;
}

.phone-container:hover .arrow-flair {
  left: -124px;
}

/*-------------------- About --------------------*/
.intro--about {
  margin-top: calc(50vh - 300px);
  margin-left: auto;
  margin-right: auto;
}

.about-container {
  z-index: 0;
  display: flex;
  flex-direction: row;
}

.about-img-container {
  max-width: 340px;
  margin-right: 40px;
}

.about__img {
  margin-top: -80px;
  width: 100%;
  border: 1px solid rgb(225, 86, 37);
  border-radius: 4px;
}

.about__text {
  flex: 1;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
}

.about__text p {
  margin-bottom: 24px;
}

.headline {
  position: relative;
  font-family: sans-serif;
  font-size: 180;
  font-weight: 700;
  -webkit-text-fill-color: transparent; /* Will override color (regardless of order) */
  -webkit-text-stroke-width: 1px;
  z-index: 100;
}

.headline__caption {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-top: -16px;
  margin-bottom: 64px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
}

.display--block {
  display: block;
}

.code-links {
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
}

.work-entry {
  display: flex;
  padding: 16px;
  border-radius: 4px;
  border: 1px solid rgba(107, 104, 221, 0.5);
  transition: background-color 0.15s;
}

.work-entry__content {
  margin-left: 24px;
}

.work-entry__icon {
  width: 48px;
  height: 48px;
}

.work-entry__heading {
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 18px;
  line-height: normal;
}

.work-entry__cta {
  margin-bottom: 0;
  line-height: normal;
}

.work-entry:hover {
  background-color: rgba(107, 104, 221, 0.1);
}

@media (max-width: 800px) {
  .headline {
    font-size: 120;
  }

  .about-container {
    flex-direction: column;
  }

  .about__img {
    margin-top: -40px;
    margin-bottom: 40px;
  }

  .about__text {
    margin-bottom: 80px;
  }
}

@media (max-width: 600px) {
  .faded-greeting {
    display: none;
  }

  .intro {
    margin-top: calc(50vh - 180px);
  }

  .title {
    font-size: 30;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
  }

  #time {
    padding-top: 12px;
    font-size: 16;
  }
}
