.b-arrow {
  -webkit-transition: background .1s ease;
  -moz-transition: background .1s ease;
  -ms-transition: background .1s ease;
  -o-transition: background .1s ease;
  transition: background .1s ease;
  cursor: pointer;
  color: white;
  background: #808080;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
  line-height: 19px;
  overflow: hidden;
  position: absolute;
  top: 24px;
}

.arrow.up {
  left: -42px;
}

.arrow.down {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
  left: -24px;
}


#main {
 position: absolute;
 top: 0;
 bottom: 0;
 left: 0;
 right: 0;
 overflow: hidden;
}

h1.bespoke-h1 {
  color: white;
  font-family: Raleway Dots;

  /* Fix thin font rendering on Windows */
  font-size: 156px;
  -webkit-transform: scale(0.5);
  -moz-transform: scale(0.5);
  -ms-transform: scale(0.5);
  -o-transform: scale(0.5);
  transform: scale(0.5);

  font-weight: normal;
  text-align: center;
  text-shadow: 0 0 1px white, 0 0 1px white, 0 0 1px white;
  position: absolute;
  z-index: 20;
  top: 50%;
  right: 0;
  height: 82px;
  margin-top: -110px;

  width: 776px;
  left: 50%;
  margin-left: -388px;
}

h2.bespoke-h2 {
  -webkit-transition: opacity 2s ease;
  -moz-transition: opacity 2s ease;
  -ms-transition: opacity 2s ease;
  -o-transition: opacity 2s ease;
  transition: opacity 2s ease;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 30;
  margin-top: 14px;
  text-align: center;
  font-family: Gill Sans, Segoe UI Light, Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 200;
  color: white;
  opacity: 0.9;
}

header p {
  -webkit-transition: opacity .5s ease;
  -moz-transition: opacity .5s ease;
  -ms-transition: opacity .5s ease;
  -o-transition: opacity .5s ease;
  transition: opacity .5s ease;
  position: absolute;
  left: 50%;
  bottom: 50px;
  margin-left: -91px;
  text-align: center;
  padding: 10px 15px;
  width: 182px;
  z-index: 40;
  border-radius: 6px;
  color: white;
  background: #808080;
  font-size: 12px;
  opacity: 0;
}

header p.visible {
  opacity: 1;
}

@media 
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  h1 {
    text-shadow: none;
  }
}

article {
  -webkit-perspective: 600px;
  -moz-perspective: 600px;
  -ms-perspective: 600px;
  -o-perspective: 600px;
  perspective: 600px;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

section {
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
  /*background: #c0c0c0;*/
  border-radius: 30px;
  width: 512px;
  height: 380px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -256px;
  margin-top: -220px;
  opacity: 0;
}

body,
section.bespoke-slide {
  -webkit-transition: -webkit-transform .7s ease, opacity .7s ease, background-color .7s ease;
  -moz-transition: -moz-transform .7s ease, opacity .7s ease, background-color .7s ease;
  -ms-transition: -ms-transform .7s ease, opacity .7s ease, background-color .7s ease;
  -o-transition: -o-transform .7s ease, opacity .7s ease, background-color .7s ease;
  transition: transform .7s ease, opacity .7s ease, background-color .7s ease;
}
section.bespoke-active {
  opacity: 1;
  z-index: 1;
}

@media only screen and (max-width: 768px) {
  body {
    font-size: 10px;
  }

  h1 {
    margin-top: -95px;
  }

  h2 {
    font-size: 14px;
    margin-top: 22px;
  }

  header p {
    font-size: 10px;
    bottom: 40px;
    padding: 6px 12px;
  }

  footer {
    height: 50px;
  }

  footer img {
    height: 30px;
    width: 30px;
    margin: 10px;
  }

  footer p {
    padding-top: 19px;
  }

  .arrow {
    top: 18px;
  }



  section {
    margin-top: -216px;
  }

  a,
  .arrow {
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
  }

  body,
  section.bespoke-slide {
    -webkit-transition: -webkit-transform .7s ease, opacity .7s ease;
    -moz-transition: -moz-transform .7s ease, opacity .7s ease;
    -ms-transition: -ms-transform .7s ease, opacity .7s ease;
    -o-transition: -o-transform .7s ease, opacity .7s ease;
    transition: transform .7s ease, opacity .7s ease;
  }
}


@media only screen and (max-width: 640px) {

  footer .credits p {
    position: relative;
    top: -6px;
    width: 160px;
  }

}

@media only screen and (max-width: 570px) {

  #forkme {
    right: -78px;
    top: 32px;
  }

  #forkme a {
    font-size: 9px;
  }

  h1 {
    -webkit-transform: scale(0.27);
    -moz-transform: scale(0.27);
    -ms-transform: scale(0.27);
    -o-transform: scale(0.27);
    transform: scale(0.27);
    margin-top: -94px;
  }

  h2 {
    font-size: 12px;
    margin-top: -7px;
  }

  article {
    -webkit-transform: scale(0.5) translateY(-27px);
    -moz-transform: scale(0.5) translateY(-27px);
    -ms-transform: scale(0.5) translateY(-27px);
    -o-transform: scale(0.5) translateY(-27px);
    transform: scale(0.5) translateY(-27px);
  }

  .themes {
    left: auto;
    right: -88px;
  }

  .themes strong {
    display: block;
  }

  .themes .colon {
    display: none;
  }

  footer p {
    position: relative;
    top: -8px;
  }

  footer .credits p {
    width: 160px;
  }

  footer .themes p {
    width: 110px;
  }

}



/*!
 * Bespoke.js Demo Themes
 *
 * These styles are hard-coded to be pre-processor agnostic.
 * In reality, you should probably use -prefix-free or LESS / SCSS / Stylus.
 *
 * This is only scratching the surfact of what can be done.
 * Be creative and make something that surprises people! ;)
 *
 */

/* Cube Theme */
.cube {
  background: rgba(86, 174, 231, 0.3);
}
.cube section,
.cube .arrow:hover {
  /*background: rgb(86, 174, 231);*/
}
.cube a {
  color: rgb(86, 174, 231);
}
.cube section.bespoke-before {
  -webkit-transform: translateX(-332px) rotateY(-70deg) translateX(-652px) rotateY(-110deg) translateX(-530px);
  -moz-transform: translateX(-332px) rotateY(-70deg) translateX(-652px) rotateY(-110deg) translateX(-530px);
  -ms-transform: translateX(-332px) rotateY(-70deg) translateX(-652px) rotateY(-110deg) translateX(-530px);
  -o-transform: translateX(-332px) rotateY(-70deg) translateX(-652px) rotateY(-110deg) translateX(-530px);
  transform: translateX(-332px) rotateY(-70deg) translateX(-652px) rotateY(-110deg) translateX(-530px);
}
.cube section.bespoke-before-1 {
  -webkit-transform: translateX(-332px) rotateY(-70deg) translateX(-512px);
  -moz-transform: translateX(-332px) rotateY(-70deg) translateX(-512px);
  -ms-transform: translateX(-332px) rotateY(-70deg) translateX(-512px);
  -o-transform: translateX(-332px) rotateY(-70deg) translateX(-512px);
  transform: translateX(-332px) rotateY(-70deg) translateX(-512px);
  opacity: 0.5;
}
.cube section.bespoke-after {
  -webkit-transform: translateX(332px) rotateY(70deg) translateX(652px) rotateY(110deg) translateX(530px);
  -moz-transform: translateX(332px) rotateY(70deg) translateX(652px) rotateY(110deg) translateX(530px);
  -ms-transform: translateX(332px) rotateY(70deg) translateX(652px) rotateY(110deg) translateX(530px);
  -o-transform: translateX(332px) rotateY(70deg) translateX(652px) rotateY(110deg) translateX(530px);
  transform: translateX(332px) rotateY(70deg) translateX(652px) rotateY(110deg) translateX(530px);
}
.cube section.bespoke-after-1 {
  -webkit-transform: translateX(332px) rotateY(70deg) translateX(512px);
  -moz-transform: translateX(332px) rotateY(70deg) translateX(512px);
  -ms-transform: translateX(332px) rotateY(70deg) translateX(512px);
  -o-transform: translateX(332px) rotateY(70deg) translateX(512px);
  transform: translateX(332px) rotateY(70deg) translateX(512px);
  opacity: 0.5;
}

/* Concave Theme */
.concave {
  background: rgba(235, 156, 184, 0.3);
}
.concave section,
.concave .arrow:hover {
  /*background: rgb(235, 156, 184);*/
}
.concave a {
  color: rgb(235, 156, 184);
}
.concave section.bespoke-before {
  -webkit-transform: translateX(-800px) rotateY(90deg) translateX(-800px);
  -moz-transform: translateX(-800px) rotateY(90deg) translateX(-800px);
  -ms-transform: translateX(-800px) rotateY(90deg) translateX(-800px);
  -o-transform: translateX(-800px) rotateY(90deg) translateX(-800px);
  transform: translateX(-800px) rotateY(90deg) translateX(-800px);
}
.concave section.bespoke-before-1 {
  -webkit-transform: translateX(-310px) rotateY(58deg) translateX(-240px);
  -moz-transform: translateX(-310px) rotateY(58deg) translateX(-240px);
  -ms-transform: translateX(-310px) rotateY(58deg) translateX(-240px);
  -o-transform: translateX(-310px) rotateY(58deg) translateX(-240px);
  transform: translateX(-310px) rotateY(58deg) translateX(-240px);
  opacity: 0.4
}
.concave section.bespoke-after {
  -webkit-transform: translateX(800px) rotateY(-90deg) translateX(800px);
  -moz-transform: translateX(800px) rotateY(-90deg) translateX(800px);
  -ms-transform: translateX(800px) rotateY(-90deg) translateX(800px);
  -o-transform: translateX(800px) rotateY(-90deg) translateX(800px);
  transform: translateX(800px) rotateY(-90deg) translateX(800px);
}
.concave section.bespoke-after-1 {
  -webkit-transform: translateX(310px) rotateY(-58deg) translateX(240px);
  -moz-transform: translateX(310px) rotateY(-58deg) translateX(240px);
  -ms-transform: translateX(310px) rotateY(-58deg) translateX(240px);
  -o-transform: translateX(310px) rotateY(-58deg) translateX(240px);
  transform: translateX(310px) rotateY(-58deg) translateX(240px);
  opacity: 0.4
}

/* Coverflow Theme */
.coverflow {
  background: rgba(42, 206, 185, 0.2);
}
.coverflow section,
.coverflow .arrow:hover {
  /*background: rgb(42, 206, 185);*/
}
.coverflow a {
  color: rgb(42, 206, 185);
}
.coverflow section.bespoke-before {
  -webkit-transform: translateX(-270px) rotateY(45deg) scale(0.6);
  -moz-transform: translateX(-270px) rotateY(45deg) scale(0.6);
  -ms-transform: translateX(-270px) rotateY(45deg) scale(0.6);
  -o-transform: translateX(-270px) rotateY(45deg) scale(0.6);
  transform: translateX(-270px) rotateY(45deg) scale(0.6);
  z-index: 6;
}
.coverflow section.bespoke-before-3 {
  -webkit-transform: translateX(-230px) rotateY(45deg) scale(0.6);
  -moz-transform: translateX(-230px) rotateY(45deg) scale(0.6);
  -ms-transform: translateX(-230px) rotateY(45deg) scale(0.6);
  -o-transform: translateX(-230px) rotateY(45deg) scale(0.6);
  transform: translateX(-230px) rotateY(45deg) scale(0.6);
  opacity: 0.1;
  z-index: 7;
}
.coverflow section.bespoke-before-2 {
  -webkit-transform: translateX(-190px) rotateY(45deg) scale(0.6);
  -moz-transform: translateX(-190px) rotateY(45deg) scale(0.6);
  -ms-transform: translateX(-190px) rotateY(45deg) scale(0.6);
  -o-transform: translateX(-190px) rotateY(45deg) scale(0.6);
  transform: translateX(-190px) rotateY(45deg) scale(0.6);
  opacity: 0.2;
  z-index: 8;
}
.coverflow section.bespoke-before-1 {
  -webkit-transform: translateX(-150px) rotateY(45deg) scale(0.6);
  -moz-transform: translateX(-150px) rotateY(45deg) scale(0.6);
  -ms-transform: translateX(-150px) rotateY(45deg) scale(0.6);
  -o-transform: translateX(-150px) rotateY(45deg) scale(0.6);
  transform: translateX(-150px) rotateY(45deg) scale(0.6);
  opacity: 0.3;
  z-index: 9;
}
.coverflow section.bespoke-active {
  z-index: 10;
}
.coverflow section.bespoke-after {
  -webkit-transform: translateX(270px) rotateY(-45deg) scale(0.6);
  -moz-transform: translateX(270px) rotateY(-45deg) scale(0.6);
  -ms-transform: translateX(270px) rotateY(-45deg) scale(0.6);
  -o-transform: translateX(270px) rotateY(-45deg) scale(0.6);
  transform: translateX(270px) rotateY(-45deg) scale(0.6);
  z-index: 6;
}
.coverflow section.bespoke-after-1 {
  -webkit-transform: translateX(150px) rotateY(-45deg) scale(0.6);
  -moz-transform: translateX(150px) rotateY(-45deg) scale(0.6);
  -ms-transform: translateX(150px) rotateY(-45deg) scale(0.6);
  -o-transform: translateX(150px) rotateY(-45deg) scale(0.6);
  transform: translateX(150px) rotateY(-45deg) scale(0.6);
  opacity: 0.3;
  z-index: 9;
}
.coverflow section.bespoke-after-2 {
  -webkit-transform: translateX(190px) rotateY(-45deg) scale(0.6);
  -moz-transform: translateX(190px) rotateY(-45deg) scale(0.6);
  -ms-transform: translateX(190px) rotateY(-45deg) scale(0.6);
  -o-transform: translateX(190px) rotateY(-45deg) scale(0.6);
  transform: translateX(190px) rotateY(-45deg) scale(0.6);
  opacity: 0.2;
  z-index: 8;
}
.coverflow section.bespoke-after-3 {
  -webkit-transform: translateX(230px) rotateY(-45deg) scale(0.6);
  -moz-transform: translateX(230px) rotateY(-45deg) scale(0.6);
  -ms-transform: translateX(230px) rotateY(-45deg) scale(0.6);
  -o-transform: translateX(230px) rotateY(-45deg) scale(0.6);
  transform: translateX(230px) rotateY(-45deg) scale(0.6);
  opacity: 0.1;
  z-index: 7;
}

/* Classic Theme */
.classic {
  background: rgba(243, 111, 86, 0.2);
}
.classic section,
.classic .arrow:hover {
  /*background: rgb(243, 111, 86);*/
}
.classic a {
  color: rgb(243, 111, 86);
}
.classic section.bespoke-before {
  -webkit-transform: translate3d(-1920px, 0, 0);
  -moz-transform: translate3d(-1920px, 0, 0);
  -ms-transform: translate3d(-1920px, 0, 0);
  -o-transform: translate3d(-1920px, 0, 0);
  transform: translate3d(-1920px, 0, 0);
}
.classic section.bespoke-before-2 {
  -webkit-transform: translate3d(-1280px, 0, 0);
  -moz-transform: translate3d(-1280px, 0, 0);
  -ms-transform: translate3d(-1280px, 0, 0);
  -o-transform: translate3d(-1280px, 0, 0);
  transform: translate3d(-1280px, 0, 0);
  opacity: 0.1;
}
.classic section.bespoke-before-1 {
  -webkit-transform: translate3d(-640px, 0, 0);
  -moz-transform: translate3d(-640px, 0, 0);
  -ms-transform: translate3d(-640px, 0, 0);
  -o-transform: translate3d(-640px, 0, 0);
  transform: translate3d(-640px, 0, 0);
  opacity: 0.3;
}
.classic section.bespoke-after {
  -webkit-transform: translate3d(1920px, 0, 0);
  -moz-transform: translate3d(1920px, 0, 0);
  -ms-transform: translate3d(1920px, 0, 0);
  -o-transform: translate3d(1920px, 0, 0);
  transform: translate3d(1920px, 0, 0);
}
.classic section.bespoke-after-2 {
  -webkit-transform: translate3d(1280px, 0, 0);
  -moz-transform: translate3d(1280px, 0, 0);
  -ms-transform: translate3d(1280px, 0, 0);
  -o-transform: translate3d(1280px, 0, 0);
  transform: translate3d(1280px, 0, 0);
  opacity: 0.1;
}
.classic section.bespoke-after-1 {
  -webkit-transform: translate3d(640px, 0, 0);
  -moz-transform: translate3d(640px, 0, 0);
  -ms-transform: translate3d(640px, 0, 0);
  -o-transform: translate3d(640px, 0, 0);
  transform: translate3d(640px, 0, 0);
  opacity: 0.3;
}

/* Carousel Theme */
.xcarousel {
  background: rgba(121, 255, 0, 0.2);
}
.xcarousel section,
.xcarousel .arrow:hover {
  /*background: rgb(131, 199, 69);*/
}
.xcarousel a {
  color: rgb(131, 199, 69);
}
.xcarousel section.bespoke-before {
  -webkit-transform: translateX(-980px) rotateY(-72deg) translateX(-1290px);
  -moz-transform: translateX(-980px) rotateY(-72deg) translateX(-1290px);
  -ms-transform: translateX(-980px) rotateY(-72deg) translateX(-1290px);
  -o-transform: translateX(-980px) rotateY(-72deg) translateX(-1290px);
  transform: translateX(-980px) rotateY(-72deg) translateX(-1290px);
  opacity: 0;
}
.xcarousel section.bespoke-before-2 {
  -webkit-transform: translateX(-590px) rotateY(-52deg) translateX(-780px);
  -moz-transform: translateX(-590px) rotateY(-52deg) translateX(-780px);
  -ms-transform: translateX(-590px) rotateY(-52deg) translateX(-780px);
  -o-transform: translateX(-590px) rotateY(-52deg) translateX(-780px);
  transform: translateX(-590px) rotateY(-52deg) translateX(-780px);
  opacity: 0.3;
}
.xcarousel section.bespoke-before-1 {
  -webkit-transform: translateX(-270px) rotateY(-30deg) translateX(-290px);
  -moz-transform: translateX(-270px) rotateY(-30deg) translateX(-290px);
  -ms-transform: translateX(-270px) rotateY(-30deg) translateX(-290px);
  -o-transform: translateX(-270px) rotateY(-30deg) translateX(-290px);
  transform: translateX(-270px) rotateY(-30deg) translateX(-290px);
  opacity: 0.5;
}
.xcarousel section.bespoke-after {
  -webkit-transform: translateX(980px) rotateY(72deg) translateX(1290px);
  -moz-transform: translateX(980px) rotateY(72deg) translateX(1290px);
  -ms-transform: translateX(980px) rotateY(72deg) translateX(1290px);
  -o-transform: translateX(980px) rotateY(72deg) translateX(1290px);
  transform: translateX(980px) rotateY(72deg) translateX(1290px);
  opacity: 0;
}
.xcarousel section.bespoke-after-1 {
  -webkit-transform: translateX(270px) rotateY(30deg) translateX(290px);
  -moz-transform: translateX(270px) rotateY(30deg) translateX(290px);
  -ms-transform: translateX(270px) rotateY(30deg) translateX(290px);
  -o-transform: translateX(270px) rotateY(30deg) translateX(290px);
  transform: translateX(270px) rotateY(30deg) translateX(290px);
  opacity: 0.5;
}
.xcarousel section.bespoke-after-2 {
  -webkit-transform: translateX(590px) rotateY(52deg) translateX(780px);
  -moz-transform: translateX(590px) rotateY(52deg) translateX(780px);
  -ms-transform: translateX(590px) rotateY(52deg) translateX(780px);
  -o-transform: translateX(590px) rotateY(52deg) translateX(780px);
  transform: translateX(590px) rotateY(52deg) translateX(780px);
  opacity: 0.3;
}
