/*****************************************************************************\
    I apologize for the messiness of this code - I was working very quickly.

    -john
\*****************************************************************************/




/*************************\
    Frawework-ish Stuff
\*************************/


/* Grid */
.flex-columns {
  display: -webkit-box;
  -webkit-box-orient: horizontal;
}
.flex-columns > .column {
  -webkit-box-flex: 1;
  margin-left: 20px;
}
.flex-columns > .column:first-child {
  margin-left: 0;
}
.columns {
  display: table;
  width: 100%;
}
.columns > .column {
  -webkit-box-sizing: border-box;
  float: left;
  width: 50%;
  padding-left: 20px;
}
.columns > .column:first-child {
  padding-left: 0;
}
.vcentered-box {
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  -webkit-box-align: center;
}
.hcentered-box {
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  -webkit-box-pack: center;
}
.inline-columns {
  font-size: 0;
}
.inline-columns > .column {
  font-size: 1rem;
  display: inline-block;
  vertical-align: middle;
  width: 49.5%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}



html, body {
  font-family: "museo-sans";
  font-size: 32px;
  background: url('../img/white-texture-bg.png');
}
h1 {
  font-size: 1.7rem;
  line-height: 2rem;
  margin-bottom: 12px;
}
h2 {
  font-size: 1.3rem;
  line-height: 1.8rem;
}
p, ul, li, code {
  font-size: 1rem;
  line-height: 1.6rem;
}
ul {
  color: #555;
  margin: 18px 0 12px 44px;
}
pre {
  margin: 0 20px;
  font-size: 0.6rem;
  line-height: 0.8rem;
}

.prettyprint .linenums li {
  font-size: 0.6rem;
  line-height: 0.8rem;
}


.serif {
  font-family: "museo-slab" !important;
}
.script {
  font-family: "bello-pro";
}

.blue {
  color: #009cff;
}

.step {
  width: 1000px;
}

.gb-bg {
  background-image: url('../img/gb-bg.png');
  background-repeat: no-repeat;
}

.blue-triangle-banner {
  background:
    url('../img/triangles-blue-up.png') top left repeat-x
  , url('../img/triangles-blue-down.png') bottom left repeat-x;
  padding: 17px 0;
}
.blue-triangle-banner > .inner-bg {
  background: -webkit-linear-gradient(top, #009CFF 0%,#38b3ff 50%,#009CFF 100%);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  padding: 10px 0;
}
.blue-triangle-banner.title-banner {
  margin-top: 14px;
}
.blue-triangle-banner.title-banner > .inner-bg {
  box-sizing: border-box;
  padding-left: 14px;
}
.blue-triangle-banner.title-banner .title {
  font-size: 1.5rem;
  font-weight: 500;
}
.page .title-wrapper {
  margin-bottom: 24px;
  padding-bottom: 4px;
}
.page .content {
  color: #444;
  text-shadow: 0 1px 0 #fff;
}
.page .content.with-topic {
  position: relative;
  padding-left: 120px;
}
.page .content .topic {
  position: absolute;
  left: -250px;
  top: 50%;
  margin-top: -120px;
  width: 600px;
  font-size: 2rem;
  opacity: 0.4;
  -webkit-transform: rotate(-90deg);
}
.page .title-wrapper .title,
.blue-triangle-banner.title-banner .title {
  margin-bottom: 0;
}

.step > .wrapper {
  width: 100%;
}
.sub-title {
  font-size: 0.8rem;
  margin-left: 8px;
  opacity: 0.9;
}

.cube {
  background: url('../img/gray-texture-bg.png');
  height: 600px;
  width: 600px;
  border: solid #aaa 1px;
  border-top: solid #ccc 1px;
  border-bottom: solid #ccc 1px;
  -webkit-transition: box-shadow linear 0.2s;
}
.cube.gb-bg {
  background:
    url('../img/gb-bg.png') no-repeat 110% 112%
  , url('../img/gray-texture-bg.png');
}
.cube.present {
  box-shadow: 0 0 35px rgba(0,0,0, 0.25);
}
.cube .page .content {
  margin: 14px;
}
.cube .title-wrapper {
  border-bottom: dotted 3px #aaa;
}
.cube .title {
  font-weight: 500;
}
.cube .blue-triangle-banner > .inner-bg {
  position: relative;
  box-sizing: border-box;
  padding: 10px 14px;
}

.cube-1 .blue-triangle-banner > .inner-bg {
  padding-left: 140px;
}
.cube-1 .title {
  border-bottom: dashed 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 23px;
}
.cube-1 .signature {
  font-weight: 300;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.cube-1 .credentials {
  margin-top: -4px;
  text-transform: uppercase;
  opacity: 0.8;
}
.cube-1 .arrow,
.cube-2 .arrow {
  position: absolute;
  bottom: 20px;
  right: 14px;
  font-size: 72px;
  color: #1992D5;
  opacity: 0.8;
  text-shadow:
    0 -1px 0 rgba(0, 0, 0, 0.4)
  , 0 1px 0 rgba(255, 255, 255, 0.4);
}
.cube-1.present .arrow {
  -webkit-animation: arrow-bounce 1.4s infinite ease-in-out 6s;
}

@-webkit-keyframes arrow-bounce {
  0% {
    -webkit-transform: translateX(0)
  }
  50% {
    -webkit-transform: translateX(-50px)
  }
  100% {
    -webkit-transform: translateX(0)
  }
}

.cube-2 .sub-text {
  line-height: 1.rem;
}
.cube-2 .sub-text > .atx {
  font-size: 1.3rem;
}

.what-are-apis {
  padding-left: 80px;
}
.what-are-apis .next-direction {
  text-align: right;
  font-size: 72px;
}

.what-are-apis-1 .title-wrapper {
  margin-bottom: 60px;
}
.what-are-apis-1 .title {
  text-align: center;
  margin-bottom: 0;
}
.what-are-apis-1 .title .what {
  font-size: 6rem;
  line-height: 6rem;
  margin: 0 0 18px -40px;
  text-align: left;
}
.what-are-apis-1 .title .question-mark {
  position: absolute;
  font-size: 13rem;
  margin-top: -20px;
  -webkit-transition: margin 1.1s ease-in;
}
.what-are-apis-1.active .title .question-mark {
  margin-top: -96px;
}
.what-are-apis-1 .title .apis {
  font-size: 4rem;
  display: inline-block;
  margin: 0 10px 10px 30px;
  opacity: 0.9;
  color: #009cff;
}
.what-are-apis-1 .beers {
  font-size: 1.3em;
}
.what-are-apis-1 .corner-dots {
  height: 1px;
  width: 1px;
  position: absolute;
  margin-top: -105px;
  border-left: dotted 10px #999;
  border-bottom: dotted 10px #999;
  margin-left: 5px;
  opacity: 0;
  -webkit-transition:
    opacity 0.8s linear 0.8s
  , height 0.3s ease-in-out 0.8s
  , width 0.5s ease-in-out 1.2s;
}
.what-are-apis-1.present .corner-dots {
  height: 80px;
  opacity: 1;
  width: 241px;
}
.what-are-apis-1.present .title .apis {
  -webkit-animation: apis-bulge 0.6s ease-in 0.1s;
}
.what-are-apis-1 .next-direction {
  margin: -52px 158px 0 0;
  opacity: 0;
  -webkit-transition: all 0.6s ease-in 1s;
}
.what-are-apis-1.present .next-direction {
  opacity: 1;
  -webkit-animation: blink 1.6s infinite ease-in-out 3s;
}
@-webkit-keyframes apis-bulge {
  0% {
    -webkit-transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 0.9;
  }
}
@-webkit-keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}


.how-to-build {
  opacity: 0;
  -webkit-transition: opacity 1s linear;
}
.how-to-build.active {
  opacity: 1;
}
.how-to-build .content.with-topic .topic {
  margin-top: -80px;
}

.why-technologies {
  opacity: 0;
  -webkit-transition: opacity 1s linear;
}
.why-technologies.active {
  opacity: 1;
}
.why-technologies .content.with-topic .topic {
  margin-top: -40px;
}
.why-technologies .logo-container {
  margin-top: 60px;
  padding: 10px;
  text-align: center;
  background-color: #46483E;
}
.why-technologies .logo-container > .logo {
  margin-left: 164px;
  opacity: 0;
  -webkit-transition: all 1s ease-in-out;
}
.why-technologies .logo-container > .logo:first-child {
  margin-left: 0;
  -webkit-transform: translateX(-300px);
}
.why-technologies .logo-container > .logo:first-child + .logo {
  -webkit-transform: translateX(300px);
}
.why-technologies.present .logo-container > .logo,
.why-technologies.present .logo-container > .logo:first-child + .logo {
  -webkit-transform: translateX(0);
  opacity: 1;
}


.twitter-thingy {
  opacity: 0;
  -webkit-transition: opacity 1s linear;
}
.twitter-thingy .title {
  width: 800px;
}
.twitter-thingy.active {
  opacity: 1;
}
.twitter-thingy .title > .platform {
  font-size: 4rem;
  line-height: 3.7rem;
  margin-top: 40px;
}
.twitter-thingy-6 code {
  font-size: 0.8rem;
}
/*.twitter-thingy .animated-border {
  width: 1px;
  height: 1px;
  padding: 10px;
  position: absolute;
  border-radius: 25px;
  border-size: 10px;
  border-style: dotted;
}
.twitter-thingy .animated-border.border-1 {
  border-color: #888;
  border-right: 0;
  border-bottom: 0;
  -webkit-transition:
    height 1s linear 1s
  , width 1s linear 1s
}
.twitter-thingy .animated-border.border-2 {
  border-color: #009cff;
  border-left: 0;
  border-top: 0;
  -webkit-transition:
    height 1s linear
  , width 1s linear
}
.twitter-thingy.present .animated-border.border-1,
.twitter-thingy.present .animated-border.border-2 {
  width: 800px;
  height: 120px;
}*/





.platforms {
  opacity: 0;
  -webkit-transition: opacity 1s linear;
}
.platforms.active {
  opacity: 1;
}
.platforms .goodybag {
  font-size: 4rem;
  margin-top: 40px;
  margin-left: -14px;
}
.platforms .gb-cards {
  text-align: right;
  padding-right: 170px;
  margin-bottom: -88px;
  opacity: 0;
  -webkit-transform: translateX(500px);
  -webkit-transition: all 0.8s ease-out;
}
.platforms.active .gb-cards {
  opacity: 1;
  -webkit-transform: translateX(0);
}