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

html {
  font-size: 62.5%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: rgba(57,59,65,1);
  overflow-x: hidden;
}

body {
  background: #f5f5f5;
  color: rgba(57,59,65,.66);
  padding-bottom: 96px;
  font-family: 'Lato', sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
}

.kicker,
.carousel a {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  font-weight: bold;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1.6em;
}

h1 {
  margin-top: 7.2em;
}

h2,
h4 {
  font-family: 'Estado Fine', serif;
  line-height: 1.333;
  text-align: center;
  color: rgba(57,59,65,1);
}

h2 {
  font-size: 2.4rem;
  max-width: calc( 28.8rem + 4.8rem );
  align-self: center;
  padding: 0 2.4rem;
}

h3 {
  font-size: 1.6rem;
  color: rgba(57,59,65,1);
}

h4 {
  font-size: 1.8rem;
}

.header {
  background: rgba(57,59,65,1);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 5.6rem;
  pointer-events: none;
}

.header.absolute {
  position: absolute;
  top: 0;
  background: transparent;
}

.brand img {
  height: 2.4rem;
  user-select: none;
}

.app {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 48rem;
  padding-right: 2.4rem;
  padding-left: 2.4rem;
}

p {
  color: rgba(57,59,65,.66);
  margin-bottom: 1.6em;
}

p.no-margin {
  margin-bottom: 0;
}

p.indent {
  padding-left: 2.4rem;
}

p.annotation {
  font-size: 1.3rem;
  font-style: italic;
}

p strong {
  color: rgba(57,59,65,1);
  font-weight: bold;
}

a {
  color: #64a4c6;
  color: rgba(57,59,65,1);
}

.carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4.8rem 0 9.6rem;
  margin: 9.6rem 0;
  width: 100%;
  background: #fff;
}

.carousel .annotation {
  padding: 4.8rem 2.4rem;
  width: 100%;
  max-width: 33.6rem;
  text-align: center;
}

.carousel figure {
  position: relative;
  padding-top: 66.666%;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 3.2rem;
  transform: scale( .9 );
  transition: all .4s;
}

@media (min-width: 960px) {
  .carousel figure {
    transform: scale( .75 );
  }
}

.carousel figure img {
  width: 100%;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: opacity .4s;
}

.carousel figure img.swiper-lazy-loaded {
  opacity: 1;
}

.carousel h4 {
  max-width: 18em;
  width: 100%;
  opacity: 0;
  transform: translateY( 1em );
  transition: all .4s;
}

.carousel a {
  text-decoration: none;
  color: #006194;
  opacity: 0;
  transform: translateY( 1em );
  transition: all .4s;
}

.carousel a::after {
  content: '→';
  margin-left: .2em;
}

.carousel .swiper-slide {
  width: 100%;
  width: calc( 100% - 9.6rem);
  max-width: 48rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  height: auto;
}

.carousel .swiper-slide-active {
  z-index: 1;
}

.carousel .swiper-slide-active h4,
.carousel .swiper-slide-active a {
  opacity: 1;
  transform: translateY( 0 );
}

.carousel .swiper-slide-active figure {
  transform: scale( 1 );
}

hr {
  border: none;
  width: 100%;
  height: 1px;
  background: rgba(57,59,65,.1);
  margin: 4.8rem auto;
}

.swiper-container {
  width: 100%;
}

@media ( min-width: 360px ) {
  h2 {
    font-size: 2.6rem;
    max-width: 42rem;
  }
}

@media ( min-width: 400px ) {
  html {
    font-size: 70%;
  }
  h2 {
    font-size: 2.6rem;
    max-width: 42rem;
  }
}

@media ( min-width: 480px ) {
  html {
    font-size: 75%;
  }
  h2 {
    font-size: 2.8rem;
    max-width: 42rem;
  }
}

@media ( min-width: 536px ) {
  html {
    font-size: 80%;
  }
  h2 {
    font-size: 3.2rem;
    max-width: 42rem;
  }
}

@media ( min-width: 800px ) {
  html {
    font-size: 80%;
  }
  h2 {
    font-size: 4.8rem;
    max-width: 62.4rem;
  }
}

.playground {
  position: relative;
  background: rgba(57,59,65,1);
  width: 100%;
  height: 300px;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}

.playground:active {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}

canvas {
  display: block;
}
