@import 'https://fonts.googleapis.com/css?family=Raleway:100,300';

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}

figure img {
  display: block;
  height: auto;
  max-width: 100%;
}

.intro {
  align-items: center;
  background-color: #000;
  color: #fafafa;
  display: flex;
  height: 100vh;
  justify-content: center;
  line-height: 1.6;
  position: relative;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

.intro__canvas {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: translateZ(0);
  width: 100%;
}

.intro__content {
  max-width: 624px;
  opacity: 0;
  padding: 3rem 1rem;
  z-index: 1;
}

.intro__content.intro__content--fade-in {
  opacity: 1;
  animation: fadeIn 2.5s;
}

.intro__heading {
  font-family: Raleway,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  font-size: 60px;
  font-weight: 100;
  line-height: 1.1;
  margin: 0 0 3.25rem;
}

.intro__content p span {
  background: rgba(0, 0, 0, .6);
  text-shadow: -.02em .02em .02em rgba(0, 0, 0, .5);
}

.intro__portrait {
  border: .5em solid rgba(0, 0, 0, .6);
  border-radius: 100%;
  margin: 0 auto;
  overflow: hidden;
  width: 7em;
}

@media screen and (min-width: 31em) {
  .intro__heading {
    font-size: 100px;
  }

  .intro__portrait {
    width: 9em;
  }
}
