@-webkit-keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
            animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    transform: scale3d(0.9, 0.9, 0.9);
  }
  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}
@keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
            animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    transform: scale3d(0.9, 0.9, 0.9);
  }
  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}
@-webkit-keyframes fadein {
  from {
    opacity: 0.1;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadein {
  from {
    opacity: 0.1;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes zoomIn {
  from {
    transform: scale(1.2);
  }
  to {
    transform: scale(1);
  }
}
@keyframes zoomIn {
  from {
    transform: scale(1.2);
  }
  to {
    transform: scale(1);
  }
}
.hi--animated {
  display: inline-block;
  -webkit-animation-name: fadein;
          animation-name: fadein;
  -webkit-animation-duration: 0.6s;
          animation-duration: 0.6s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

.story__img--animated {
  -webkit-animation-name: zoomIn;
          animation-name: zoomIn;
  -webkit-animation-duration: 7s;
          animation-duration: 7s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

.how-are-you--animated {
  display: inline-block;
  -webkit-animation: 0.75s linear 1s bounceIn;
          animation: 0.75s linear 1s bounceIn;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  opacity: 0;
}

.header--animated, .footer--animated, .text-content--animated, .title-shaddow--animated,
.story__paragraph--animated {
  will-change: opacity;
  opacity: 0.1;
  -webkit-animation: 1.5s ease-out 2.4s fadein forwards;
          animation: 1.5s ease-out 2.4s fadein forwards;
}

html {
  font-size: 53%;
}
@media (min-width: 380px) {
  html {
    font-size: 62.5%;
  }
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

div {
  display: inline-block;
}

.bold {
  font-weight: bold;
}

body {
  min-width: 300px;
  max-width: 999px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100vh;
  font-size: 1.6rem;
  font-family: Helvetica, Arial, sans-serif;
  color: #333;
  font-weight: 100;
  line-height: 1.6;
}

h2, .h2 {
  font-size: 2.5rem;
  font-weight: 100;
  margin: 0 0 10px;
  position: relative;
}
@media (min-width: 520px) {
  h2, .h2 {
    font-size: 3.5rem;
  }
}

.title-shadow {
  display: table;
  margin-bottom: 20px;
}
.title-shadow::after {
  bottom: 4px;
  left: 15px;
  background-color: #0082da;
  content: " ";
  height: 40%;
  opacity: 0.2;
  position: absolute;
  width: calc(100% + 7px);
  z-index: -1;
}

.title-shadow--red::after {
  background-color: #C9736C;
  opacity: 0.4;
}
.title-shadow--red::before {
  bottom: 0;
  left: 100%;
  background-color: #33c1a6;
  content: " ";
  height: 40%;
  opacity: 0.2;
  position: absolute;
  width: 50%;
  z-index: -1;
}

.readable-section {
  max-width: 700px;
}

h3, .h3 {
  position: relative;
  font-size: 2.5rem;
  font-weight: 100;
  margin-bottom: 10px;
}

h4, .h4 {
  color: #0082da;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-weight: 500;
  margin: 1.6rem 0 0;
}

h5 {
  font-size: 2rem;
}

p {
  margin: 0 auto 1.5rem;
}

strong {
  color: black;
}

strike {
  color: #888;
}

a {
  color: #2ca58e;
  text-decoration: underline;
  transition: color ease 0.2s;
  font-size: 1.76rem;
}
a:hover {
  color: #F789C3;
}

.wrapper {
  flex: 1 0 auto;
  padding: 2rem;
}

.social {
  display: block;
  font-size: 1.8rem;
}

@media (min-width: 530px) {
  .icon {
    margin-top: 15px;
  }
}
header {
  /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  letter-spacing: 2px;
  width: 100%;
  padding: 1.5rem;
}
@media (min-width: 520px) {
  header {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}
@media (min-width: 830px) {
  header {
    flex-direction: row;
  }
}

.hidden {
  visibility: hidden;
  color: coral;
}

.flex-nav ul {
  flex-direction: column;
  flex-basis: 0;
  font-size: 1.5rem;
  width: 100%;
  padding-left: 0;
  list-style: none;
  display: flex;
  align-items: center;
}
@media (min-width: 520px) {
  .flex-nav ul {
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 1.5rem;
  }
}
@media (min-width: 830px) {
  .flex-nav ul {
    width: 490px;
    margin-top: 3.5rem;
    font-size: 1.6rem;
  }
}

.flex-nav a {
  width: 150px;
  font-weight: 100;
  text-decoration: none;
  color: black;
  padding: 10px 1.6rem;
  display: inline-block;
  text-align: center;
  transition: all ease-in 0.2s, transform ease-in 0.3s, box-shadow ease-out 0.3s;
}
.flex-nav a:hover {
  color: white;
  background: #33c1a6;
  box-shadow: 0px 3px 5px #accccc;
}
@media (min-width: 520px) {
  .flex-nav a {
    margin: 0;
    margin-right: 3px;
  }
  .flex-nav a:hover {
    transform: translateY(-2px);
  }
}
@media (min-width: 800px) {
  .flex-nav a {
    padding: 10px 2rem;
  }
}

/* List items */
.flex-nav li {
  margin-top: 10px;
}
@media (min-width: 520px) {
  .flex-nav li {
    margin-top: 3px;
    margin-right: 10px;
  }
}
@media (min-width: 830px) {
  .flex-nav li {
    margin-right: 15px;
  }
}

.flex-nav li .active {
  color: white;
  background: #33c1a6;
  box-shadow: 0px 2px 4px #accccc;
  transform: translateY(-2px);
  transition: all ease-in 0.2s;
}
.flex-nav li .active:hover {
  background: #33c1a6;
  box-shadow: 0px 4px 8px #accccc;
}

.flex-nav .icon {
  width: 150px;
}
.flex-nav .icon .fa-github {
  font-size: 2.25rem;
}
@media (min-width: 520px) {
  .flex-nav .icon {
    margin-left: 1.2rem;
    width: 60px;
  }
}

.flex-nav .icon a {
  padding: 0;
}
.flex-nav .icon a:hover {
  color: #33c1a6;
  background-color: #fff;
  box-shadow: none;
  transform: none;
}
@media (min-width: 520px) {
  .flex-nav .icon a {
    width: 60px;
  }
}

footer {
  padding: 2rem;
  flex-shrink: 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 100;
  color: #a1a1a1;
}
footer .social a {
  text-decoration: none;
  color: #888888;
  padding: 0.9rem;
}
footer .social a:hover svg {
  fill: #616161;
}
footer .social svg {
  width: 18px;
  height: 18px;
  fill: #888888;
  transition: all ease 0.6s;
}

.logo {
  min-width: 17rem;
  letter-spacing: 0.3rem;
}
@media (min-width: 800px) {
  .logo {
    margin-right: 2.5rem;
  }
}

.logo a {
  color: #333;
  text-decoration: none;
  padding-bottom: 0;
  transition: color ease 0.8s;
}
.logo a:hover {
  color: rgba(0, 0, 0, 0.75);
}
.logo a:hover .logo-subtitle {
  border-bottom: 1px solid #2ca58e;
}

.logo-title {
  font-size: 2.5rem;
  font-weight: 400;
  margin: 0;
}
@media (min-width: 600px) {
  .logo-title {
    font-size: 3.5rem;
  }
}

.logo-subtitle {
  margin: 0;
  font-size: 2rem;
  font-weight: 100;
  padding-bottom: 10px;
  border-bottom: 1px solid #F789C3;
  transition: border-bottom ease 1s;
}
@media (min-width: 600px) {
  .logo-subtitle {
    font-size: 2.5rem;
  }
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  grid-template-areas: "web3 web3" "web2 web2";
}
@media (min-width: 830px) {
  .projects-container {
    grid-template-areas: "web2 web3";
  }
}

.projects__icon {
  margin-right: 4px;
}

.web-3 {
  grid-area: web3;
}

.web-2 {
  grid-area: web2;
}

.project__wrapper {
  list-style: none;
}

.projects {
  list-style: none;
  padding: 0;
}

.project {
  margin-bottom: 1.5rem;
}

.projects__header {
  font-size: 1.76rem;
}

.project-items__list {
  list-style-type: circle;
}

.story__text {
  display: inline;
  margin-top: 2rem;
}

.story__paragraph, .story__paragraph--animated {
  margin-top: 1rem;
}

.story__header {
  font-size: 4.4rem;
  font-weight: 100;
  margin: 0 0 10px;
  position: relative;
}
@media (min-width: 520px) {
  .story__header {
    font-size: 4.4rem;
  }
}

.story__header--big {
  display: none;
}
@media (min-width: 600px) {
  .story__header--big {
    display: inline;
  }
}

.story__header--small {
  text-align: center;
}
@media (min-width: 600px) {
  .story__header--small {
    display: none;
  }
}

.story__shape {
  margin-left: 0;
  background-color: #f6f6f6;
  background: linear-gradient(110deg, rgba(207, 207, 207, 0.3), #f6f6f6, rgba(207, 207, 207, 0.3), #f6f6f6, rgba(227, 227, 227, 0.3));
  border-radius: 50%;
  float: left;
  height: 17rem;
  overflow: hidden;
  position: relative;
  width: 17rem;
}
@media (min-width: 600px) {
  .story__shape {
    height: 20rem;
    width: 20rem;
  }
}
@media (min-width: 600px) {
  .story__shape {
    height: 25rem;
    width: 25rem;
  }
}
@supports ((-webkit-clip-path: polygon(0 0)) or (clip-path: polygon(0 0))) {
  .story__shape {
    border-radius: 0;
    -webkit-clip-path: circle(50% at 50% 50%);
            clip-path: circle(50% at 50% 50%);
    height: 17rem;
    shape-outside: circle(45% at 45% 50%);
    width: 17rem;
  }
  @media (min-width: 600px) {
    .story__shape {
      shape-outside: circle(49% at 49% 50%);
      height: 20rem;
      width: 20rem;
    }
  }
  @media (min-width: 600px) {
    .story__shape {
      height: 25rem;
      width: 25rem;
    }
  }
}

.story__img {
  color: white;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  height: 100%;
}

.headshot {
  width: 200px;
}
@media (min-width: 520px) {
  .headshot {
    width: 200px;
  }
}
@media (min-width: 830px) {
  .headshot {
    width: 350px;
  }
}