/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in IE and iOS.
 */

html {
  font-family: sans-serif; /* 1 */
  line-height: 1.15; /* 2 */
  -ms-text-size-adjust: 100%; /* 3 */
  -webkit-text-size-adjust: 100%; /* 3 */
}

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 * 2. Add the correct display in IE.
 */

article,
aside,
details, /* 1 */
figcaption,
figure,
footer,
header,
main, /* 2 */
menu,
nav,
section,
summary { /* 1 */
  display: block;
}

/**
 * Add the correct display in IE 9-.
 */

audio,
canvas,
progress,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Add the correct display in IE 10-.
 * 1. Add the correct display in IE.
 */

template, /* 1 */
[hidden] {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */

a:active,
a:hover {
  outline-width: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/* Forms
   ========================================================================== */

/**
 * 1. Change font properties to `inherit` in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font: inherit; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Restore the font weight unset by the previous rule.
 */

optgroup {
  font-weight: bold;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Correct the text style of placeholders in Chrome, Edge, and Safari.
 */

::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*! Flickity v2.0.8
http://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
          tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: white;
  background: hsla(0, 0%, 100%, 0.75);
  cursor: pointer;
  /* vertically center */
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.flickity-prev-next-button:hover { background: white; }

.flickity-prev-next-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #09F;
}

.flickity-prev-next-button:active {
  opacity: 0.6;
}

.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button:disabled {
  opacity: 0.3;
  cursor: auto;
}

.flickity-prev-next-button svg {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

.flickity-prev-next-button .arrow {
  fill: #333;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -25px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}

/*! Huebee v1.0.1
http://huebee.buzz
---------------------------------------------- */

.huebee {
  position: absolute;
  z-index: 1;
  transform: translateY(0px);
  transition: opacity 0.15s, transform 0.15s;
}

.huebee.is-hidden {
  opacity: 0;
  transform: translateY(10px);
}

.huebee.is-static-open {
  position: relative;
  z-index: auto;
}

.huebee__container {
  position: absolute;
  left: 0;
  top: 5px;
  padding: 10px;
  background: #EEE;
  border-radius: 5px;
  box-shadow: 0 5px 10px hsla(0, 0%, 0%, 0.3);
}

.huebee.is-static-open .huebee__container {
  position: relative;
  display: inline-block;
  left: auto;
  top: auto;
  box-shadow: none;
}

.huebee__canvas {
  display: block;
  cursor: pointer;
}

.huebee__cursor {
  width: 15px;
  height: 15px;
  position: absolute;
  left: 0px;
  top: 0px;
  box-sizing: content-box;
  border: 3px solid white;
  border-radius: 5px;
  pointer-events: none;
}

.huebee__cursor.is-hidden { opacity: 0; }

.huebee__close-button {
  display: block;
  position: absolute;
  width: 24px;
  height: 24px;
  top: -9px;
  right: -9px;
  border-radius: 12px;
  background: #222;
}

.huebee__close-button__x {
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
}

.huebee__close-button:hover {
  background: white;
  cursor: pointer;
}

.huebee__close-button:hover .huebee__close-button__x {
  stroke: #222;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* ---- webfonts ---- */

/*
  Just use WOFF2 and WOFF for webfonts
  https://css-tricks.com/snippets/css/using-font-face/ */

/* Texta Regular */
@font-face {
  font-family: 'Texta';
  src: url('/fonts/2D333F_2_0.woff2') format('woff2'),
    url('/fonts/2D333F_2_0.woff') format('woff');
}

/* Texta Heavy */
@font-face {
  font-family: 'Texta';
  font-weight: bold;
  font-style: normal;
  src: url('/fonts/2D333F_0_0.woff2') format('woff2'),
    url('/fonts/2D333F_0_0.woff') format('woff');
}

/* Texta Italic */
@font-face {
  font-family: 'Texta';
  font-weight: normal;
  font-style: italic;
  src: url('/fonts/2D333F_1_0.woff2') format('woff2'),
    url('/fonts/2D333F_1_0.woff') format('woff');
}

/* ---- base ---- */

/* set on html for rem */
html {
  font-family: Texta, sans-serif;
  font-size: 17px;
  line-height: 1.4;
}

body {
  background: #333;
  color: #F5F5F5;
}

/* ---- links ---- */

a {
  color: #19F;
  text-decoration: none;
}

a:hover {
  color: #D26;
}

a:active {
  color: #EA0;
}

/* ---- lists ---- */

ul, ol {
  padding-left: 1.5rem;
}

/* ----  ---- */

blockquote {
  margin-left: 20px;
  margin-right: 0;
  padding: 1px 20px;
  background: #222;
  border-radius: 5px;
}

/* ----  ---- */

pre, code {
  font-family: Consolas, Menlo, monospace;
  background: black;
  font-size: 0.775rem; /* Texta font is small */
}

pre {
  padding: 10px;
  border-radius: 5px;
  line-height: 1.5;
  white-space: pre-wrap;
}

code {
  padding: 3px 2px;
  border-radius: 3px;
}

/* ---- syntax highlight ---- */

code .hljs-string,
code .hljs-tag .hljs-value { color: #0C4; }
code .hljs-number, /* integer */
code .hljs-cp, /* doctype */
code .hljs-literal { color: #38F; } /*boolean*/
code .hljs-keyword { color: #F73; } /* keyword */
code .hljs-kd, /* storage */
code .hljs-attribute { color: #DC8; } /* markup attribute */
code .hljs-title { color: #9CF; }
code .hljs-params { color: #98D; }
code .hljs-regexp  { color: #FC8; } /* regex */
code .hljs-o  { color: #F63; }   /* operator */
code .hljs-nb { color: #AA97AC;} /* support */
code .hljs-built_in { color: #E3A; }

/* comment */
code .hljs-comment { color: #999; font-style: italic; }

code .hljs-tag { color: #6CF; } /* Markup open tag */

code .hljs-id { color: #ABC; } /* css id */
code .hljs-class { color: #A63; }  /* CSS class */
code .hljs-rules { color: #FED; }
code .hljs-m  { color: #DE8E50; } /* CSS value */
code .hljs-nd { color: #9FAD7E; } /* CSS pseudo selector */
code .hljs-hexcolor { color: #F63; }
code .hljs-at_rule { color: #088; }


@media screen and (min-width: 768px) {
  html {
    font-size: 19px;
  }
}

/* helpers
------------------------- */

.container {
  padding: 0 10px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative; /* abs positioning for sidebars */
}

.section-title {
  font-size: 2.4rem;
  margin: 0.6em 0;
}

@media screen and (min-width: 768px) {
  .section-title {
    font-size: 3.0rem;
  }
}

/* button
------------------------- */

.button {
  display: block;
  padding: 6px 20px;
  border: none;
  background-color: #EEE;
  background-image: linear-gradient( hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.1) );
  color: #333;
  line-height: 1;
}

.button:hover {
  background-color: #FFF;
  cursor: pointer;
}

.button:active {
  background-color: #EEE;
  box-shadow: inset 0 2px 10px hsla(0, 0%, 0%, 0.3);
}

.button:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
  background-color: white;
}

.button.is-selected {
  background-color: #19F;
  color: white;
}

/* button group
------------------------- */

.button-group {
  margin-bottom: 20px;
  display: -webkit-flex;
  display: flex;
}

.button-group .button {
  margin-right: 1px;
}

.button-group .button:first-child {
  border-radius: 8px 0 0 8px;
}

.button-group .button:last-child {
  border-radius: 0 8px 8px 0;
  border-right: 1px solid #BBB;
}

/* fit video
https://www.smashingmagazine.com/2014/02/27/making-embedded-content-work-in-responsive-design/
------------------------- */

.fit-video {
  position: relative;
  padding-bottom: 75%; /* default 3:4 ratio */
  height: 0;
  overflow: hidden;
}

.fit-video--3x2 {
  padding-bottom: 66.6%;
}

.fit-video--16x9 {
  padding-bottom: 56.25%; /* 16:9 */
}

.fit-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* homepage
------------------------- */

.homepage-section {
  margin-top: 60px;
  padding-top: 20px;
  position: relative;
}

.homepage-section ~ .homepage-section {
  margin-top: 80px;
  padding-top: 20px;
}

.homepage-section ~ .homepage-section:before {
  content: '';
  display: block;
  height: 6px;
  background: #222;
  border-radius: 3px;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.homepage-copy {
  font-size: 1.2rem;
  max-width: 34em;
}

/* ---- homepage-posts ---- */

.homepage-posts {
  list-style: none;
  padding: 0;
}

.homepage-posts__item {
  margin-bottom: 20px;
}

/* homepage-header
------------------------- */

.homepage-header {
  padding: 20px 0;
  background: #222;
}

.homepage-header__container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.homepage-header__side {
  width: 20%;
}

.homepage-header .mfzy-logo {
  display: block;
  width: 100%;
  height: 100%;
}

.homepage-header__content {
  width: 70%;
  position: relative;
}

.homepage-header .rainbow-wordmark {
  margin-top: 10px;
}

.homepage-header__tagline {
  position: relative;
  font-size: 1.4rem;
  line-height: 1;
  margin: 0 0 0 10px;
}

@media screen and (min-width: 768px) {
  .homepage-header__content {
    width: 60%;
  }

  .homepage-header .rainbow-wordmark {
    margin-top: 0px;
  }

  .homepage-header__tagline {
    margin: -5px 0 0 40px;
  }

}

/* newsletter
------------------------- */

.newsletter-signup__label {
  color: #AAA;
}

.newsletter-signup__email {
  width: 20rem;
  max-width: 92%;
  padding: 0 10px;
  margin: 0 10px;
  line-height: 1.8em;
  color: #333;
  border: 1px solid #DDD;
  margin-bottom: 5px;
  border-radius: 5px;
}

.newsletter-signup__email::-webkit-input-placeholder { color: #777; }
.newsletter-signup__email::-moz-placeholder { color: #777; }
.newsletter-signup__email:-ms-input-placeholder { color: #777; }

.newsletter-signup__button {
  display: inline-block;
  margin-left: 5px;
  padding: 8px 15px;
  font-size: 1.2rem;
  text-align: center;
  background-color: #C25;
  background-image: linear-gradient( hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
  color: white;
  border-radius: 5px;
}

.newsletter-signup__button:hover {
  background-color: #19F;
  color: white;
}

.newsletter-signup__button:active {
  background-color: #08E;
  box-shadow: inset 0 2px 10px hsla(0, 0%, 0%, 0.4);
}

/* pagination
------------------------- */

.pagination {
  margin-top: 60px;
  padding-top: 30px;
  position: relative;
  font-size: 1.2rem;
}

.pagination:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: #222;
  border-radius: 3px;
}

.pagination__previous,
.pagination__next {
  position: absolute;
  top: 30px;
}

.pagination__previous { left: 0; }
.pagination__next { right: 0; }

.pagination__current {
  display: block;
  text-align: center;
}

/* platformer-banner
------------------------- */

.platformer-banner {
  background: #222;
  margin-top: 60px;
}

.platformer-banner__image {
  display: block;
  width: 100%;
}

.platformer-banner__caption {
  margin-bottom: 0;
}

.platformer-banner ~ .site-footer {
  margin-top: 0;
}

/* post
------------------------- */

.post {
  display: block;
  max-width: 660px;
  padding: 20px 0;
  position: relative;
}

.post ~ .post:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: #222;
  border-radius: 3px;
}

.post__content a:hover {
  text-decoration: underline;
}

.post__content img {
  display: block;
  margin: 1.0rem 0;
  max-width: 100%;
  border-radius: 5px;
}

.post__content iframe {
  margin: 1.0rem 0;
}

.post__content hr {
  border: none;
  border-top: 4px solid #222;
  margin: 2.0rem 0;
}

.post__content h2 {
  font-size: 1.7rem;
  margin-top: 1.6em;
  line-height: 1;
}

@media screen and (min-width: 768px) {

  .post {
    padding: 50px 0;
  }

}

/* post-header
------------------------- */

.post-header {
  display: -webkit-box;
  display: flex;
  margin-bottom: 20px;
}

.post-header__thumbnail {
  width: 60px;
  height: 60px;
  background-size: cover;
  background-position: center center;
  border-radius: 5px;
  margin-right: 10px;
}

.post-header__text {
  -webkit-box-flex: 1;
          -ms-flex: 1;
              flex: 1;
}

.post-header__title {
  margin: 0 0 10px;
  line-height: 1.0;
  font-size: 1.8rem;
  font-weight: normal;
  color: #D26;
}

.post-header__details {
  color: #E62;
  margin: 0;
}

.post-header:hover .post-header__title,
.post-header:hover .post-header__details {
  color: #19F;
}

@media screen and (min-width: 768px) {
  .post-header__thumbnail {
    width: 100px;
    height: 100px;
    margin-right: 20px;
  }

  .post-header__title {
    padding-top: 10px;
    font-size: 2.2rem;
  }
}

.rainbow-wordmark {
  position: relative;
  margin: 0;
}

/* hide text for svg */
.rainbow-wordmark__text {
  display: block;
  text-indent: -9999rem;
  height: 0;
}

.rainbow-wordmark__canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 109%; /* canvas is 1220px, img is 1120 */
}

.rainbow-wordmark__image {
  display: block;
  max-width: 100%;
  position: relative;
}

.showcase {
  margin-bottom: 60px;
}

.showcase__product {
  background: #222;
  border-radius: 5px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.showcase__product__link {
  display: block;
  padding: 10px 10px 20px;
  color: white;
  border-radius: 5px 5px 0 0;
}

.showcase__product__link:hover {
  background: #C25;
  color: white;
}

.showcase__product__title {
  margin: 0;
  line-height: 1;
  font-size: 2.6rem;
  margin-bottom: 5px;
  color: #C25;
}

.showcase__product__link:hover .showcase__product__title {
  color: white;
}

.showcase__product__description {
  margin: 0;
  font-size: 1rem;
  font-style: italic;
  line-height: 1;
}

.showcase__product__demo {
  padding: 20px 10px;
}

.showcase__product__big-button {
  margin: 20px 10px 0;
  display: block;
  font-size: 1.2rem;
  text-align: center;
  background-color: #C25;
  background-image: linear-gradient( hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
  color: white;
  padding: 8px;
  border-radius: 5px;
}

.showcase__product__big-button:hover {
  background-color: #19F;
  color: white;
}

.showcase__product__big-button:active {
  background-color: #08E;
  box-shadow: inset 0 2px 10px hsla(0, 0%, 0%, 0.4);
}

.showcase__product__image {
  display: block;
  max-width: 100%;
  margin-top: 10px;
  border-radius: 5px;
}

.showcase__product__banner-link {
  display: block;
}

.showcase__product__banner-img {
  display: block;
  max-width: 100%;
  border-radius: 0 0 5px 5px;
}

@media screen and (min-width: 768px) {

  .showcase__row {
    display: -webkit-box;
    display: flex;
    margin-bottom: 40px;
  }

  .showcase__row .showcase__product {
    -webkit-box-flex: 1;
                flex: 1;
    margin-right: 40px;
  }

  .showcase__row  .showcase__product:last-child { margin-right: 0; }

  .showcase__product__demo {
    min-height: 320px;
  }

  .showcase__product--banner {
    margin-right: 0;
    margin-top: 20px;
    padding-bottom: 0;
  }

}

:root .showcase-flickity-demo {
  padding: 20px 0 30px;
}

.showcase-flickity-demo__cell {
  position: relative;
  border-radius: 5px;
  width: 65%;
  height: 270px;
  margin-right: 15px;
}

.showcase-flickity-demo__cell:nth-child(1) { background: #6A6; }
.showcase-flickity-demo__cell:nth-child(5) { background: #19F; }
.showcase-flickity-demo__cell:nth-child(2) { background: #EA0; }
.showcase-flickity-demo__cell:nth-child(3) { background: #E62; }
.showcase-flickity-demo__cell:nth-child(4) { background: #C25; }

.showcase-flickity-demo__cell__number {
  position: absolute;
  display: block;
  left: 0;
  top: 50%;
  width: 100%;
  transform: translateY(-50%); /* vertical center */
  font-size: 80px;
  text-align: center;
}

.showcase-flickity-demo .flickity-page-dots .dot {
  background: white;
}


/* showcase-huebee-demo
------------------------- */

.showcase-huebee-demo {
  padding: 0 10px;
}

.showcase-huebee-demo__input {
  margin-bottom: 10px;
  font-size: 1.2rem;
  border-radius: 4px;
  padding: 5px;
  border: 1px solid #888;
  box-shadow: inset 0 2px 10px hsla(0, 0%, 0%, 0.2);
}

.showcase-huebee-demo__huebee .huebee__cursor {
  width: 18px;
  height: 18px;
}

.showcase-infinite-scroll-demo {
  height: 320px;
  overflow-y: scroll;
}

.showcase-infinite-scroll-demo__item {
  height: 180px;
  padding: 20px;
  font-size: 2.0rem;
  color: white;
  border-radius: 5px;
  margin-bottom: 10px;
}

.showcase-infinite-scroll-demo__item:nth-child(5n+1) {
  height: 140px;
  background: #19F;
}
.showcase-infinite-scroll-demo__item:nth-child(5n+2) {
  height: 100px;
  background: #C25;
}
.showcase-infinite-scroll-demo__item:nth-child(5n+3) {
  height: 200px;
  background: #E62;
}
.showcase-infinite-scroll-demo__item:nth-child(5n+4) {
  height: 160px;
  background: #EA0;
}
.showcase-infinite-scroll-demo__item:nth-child(5n+0) {
  height: 240px;
  background: #6C6;
}

.showcase-isotope-demo .button {
  padding: 8px 12px;
  font-size: 0.9rem;
}

.showcase-isotope-demo__grid__item {
  position: relative;
  float: left;
  width: 70px;
  height: 70px;
  border-radius: 5px;
  color: white;
  font-size: 1.4rem;
  line-height: 1;
  margin: 0 5px 5px 0;
}

.showcase-isotope-demo__grid__item--red { background: #C25; }
.showcase-isotope-demo__grid__item--gold { background: #EA0; }
.showcase-isotope-demo__grid__item--blue { background: #19F; }

.showcase-isotope-demo__grid__item__letter {
  position: absolute;
  top: 10px;
  left: 10px;
}

.showcase-isotope-demo__grid__item__number {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

@media screen and (min-width: 768px) {
  .showcase-isotope-demo__grid__item {
    width: 22%;
    width: calc((100% - 20px) / 4);
  }
}

/* homepage packery demo
------------------------- */

.showcase-packery-demo__grid__item,
.showcase-packery-demo__grid__sizer {
  width: 22%;
  width: calc((100% - 15px) / 4);
  height: 65px;
}

.showcase-packery-demo__grid__item {
  float: left;
  background: #EA0;
  margin-bottom: 5px;
  border-radius: 5px;
}

.showcase-packery-demo__grid__item--width2 {
  width: 44%;
  width: calc((100% - 15px) / 2 + 5px);
}

.showcase-packery-demo__grid__item--height2 {
  height: 135px;
}

.showcase-packery-demo__grid__item--draggable {
  position: relative; /* for label */
  background: #19F;
  z-index: 1; /* above other items */
  user-select: none;
  text-align: center;
  transition: opacity 0.2s, box-shadow 0.2s;
  cursor: -webkit-grab;
  cursor: grab;
}

.showcase-packery-demo__grid__item--draggable.is-dragging {
  opacity: 0.85;
  box-shadow: 0 5px 10px hsla(0, 0%, 0%, 0.25);
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.showcase-packery-demo__grid__item__draggable-label {
  display: block;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%); /* vertical center */
}

/* side-promo
------------------------- */

.side-promo {
  max-width: 400px;
  margin-top: 40px;
}

.side-promo__link {
  display: block;
  padding: 10px;
  background: #222;
  border-radius: 5px;
}

.side-promo__link:hover {
  background: #19F;
  color: white;
}

.side-promo__title {
  line-height: 1;
  margin: 0 0 10px;
}

.side-promo__image {
  display: block;
  max-width: 100%;
  border-radius: 5px;
}

.side-promo__description {
  font-size: 0.9rem;
  margin-bottom: 0;
}

@media screen and ( min-width: 1020px ) {
  .side-promo {
    max-width: 260px;
    position: absolute;
    top: 0;
    right: 10px;
  }
}

/* site-footer
------------------------- */

.site-footer {
  background: #222;
  padding: 40px 0 60px;
  margin-top: 60px;
}

.site-footer__fizzy-makes {
  font-size: 1.6rem;
}

.site-footer .showcase__product {
  background: #333;
}

.site-footer__newsletter {
  margin: 40px 0;
  font-size: 1.2rem;
}

/* site-footer-links
------------------------- */

.site-footer-links {
  list-style: none;
  padding: 0;
  font-size: 1.2rem;
  line-height: 2;
}

.site-footer-links__item {
  display: inline-block;
  margin-right: 30px;
}

.site-footer-links__symbol {
  width: 1.3em;
  height: 1.3em;
  fill: #19F;
  vertical-align: middle;
}

.site-footer-links__link:hover .site-footer-links__symbol {
  fill: #D26;
}

@media screen and (min-width: 768px) {

  .site-footer-links {
    font-size: 1.4rem;
  }

}

/* site-header
------------------------- */

.site-header {
  padding: 10px 0;
  background: #222;
}

.site-header .container {
  position: relative;
}

.site-header .mfzy-logo {
  width: 60px;
  height: 60px;
  vertical-align: bottom;
  margin-right: 5px;
}

.site-header .rainbow-wordmark {
  width: 160px;
  padding-bottom: 13px;
}

.site-header__title-link {
  display: inline-block;
  text-shadow: 1px 1px #222, 2px 2px #222;
}

.site-header__title-blog-text {
  display: block;
  position: absolute;
  bottom: 0;
  padding-left: 15px;
  font-size: 1.2rem;
  line-height: 1;
  color: white;
}

.site-header__extras {
  position: absolute;
  right: 10px;
  bottom: 0;
}

.site-header__extras__link {
  margin-left: 15px;
}

@media screen and (min-width: 768px) {

  .site-header .mfzy-logo {
    width: 80px;
    height: 80px;
  }

  .site-header .rainbow-wordmark {
    width: 220px;
    margin-bottom: 5px;
  }

  .site-header__title-blog-text {
     font-size: 1.4rem;
  }

  .site-header__extras {
    bottom: 10px;
  }

}
