.notes { display: none; }
.stroke {
  -webkit-text-stroke-color: red;
  -webkit-text-stroke-width: 1px;
  -moz-text-stroke-color: red;
  -moz-text-stroke-width: 1px;
}

body {
  font-family: AppleGothic, Malgun Gothic;
  font-size: 14px;
  background: #666;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

div.presentation {
  position: absolute;
  width: 100%;
  display: table-cell;
  vertical-align: middle;
  height: 100%;
  background: inherit;
}

.smaller  {
  zoom: 70%;
}
.smaller * {
  -moz-transform: scale(0.95);
}

div.slides {
  width: 100%;
  height: 100%;
  overflow: hidden;
  left: 0;
  top: 0;
  position: absolute;
  display: block;
  /*
  -webkit-transition: -webkit-transform 1s ease-in-out;
  -moz-transition: -moz-transform 1s ease-in-out;
  -o-transition: -o-transform 1s ease-in-out;
  */
}

div.slide {
  display: none;
  position: absolute;
  overflow: hidden;
  width: 900px;
  height: 700px;
  left: 50%;
  top: 50%;
  margin-top: -350px;
  /*
  -webkit-transition: margin 0.25s ease-in-out;
  -moz-transition: margin 0.25s ease-in-out;
  -o-transition: margin 0.25s ease-in-out;
  */
  background-color: #eee;
  background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));
  background: -moz-linear-gradient(top, #fff, #ddd);
  -webkit-box-shadow: 5px 5px 15px #000;
  -moz-box-shadow: 5px 5px 15px #000;
}

div.slide:nth-child(even) {
  /*
  border-top-right: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  */
}

div.slide:nth-child(odd) {
  /*
  border-top-right: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  */
}

div.slide p {
  font-size: 20px;
}

div.slide footer {
  position: absolute;
  bottom: 30px; right: 30px;
  font-size: 12px;
}


section.intro p {
  font-size: 35px;
}

button {
  font-size: 20px;
}

.summary {
 font-size: 30px;
}

.bullets {
 font-size: 40px;
}

.slide.far-past {
  display: block;
  margin-left: -2400px;
}

.slide.past {
  display: block;
  margin-left: -1400px;
}

.slide.current {
  display: block;
  margin-left: -450px;
}

.slide.future {
  display: block;
  margin-left: 500px;
}

.slide.far-future {
  display: block;
  margin-left: 1500px;
}

body.three-d div.presentation {
  /*background: -webkit-gradient(radial, 50% 50%, 10, 50% 50%, 1000, from(#333), to(#000));        */
}

body.three-d div.slides {
  -webkit-transform: translateX(50px) scale(0.8) rotateY(10deg);
  -moz-transform: translateX(50px) scale(0.8) rotateY(10deg);
  -o-transform: translateX(50px) scale(0.8) rotateY(10deg);
}


/* Content */
@font-face { font-family: 'Junction'; src: url(../src/Junction02.otf); }
@font-face { font-family: 'LeagueGothic'; src: url(../src/Junction02.otf)); }

header {
  font-family: 'Junction';
  font-weight: normal;
  font-size: 50px;
  /*letter-spacing: -.05em;*/
  color: white;
  color: black;
  text-shadow: rgba(0, 0, 0, 0.2) 0 2px 5px;
  position: absolute;
  left: 30px;
  top: 25px;
  margin: 0;
  padding: 0;
}

header h2 {
  font-family: 'LeagueGothic';
}

.intro h1 {
  color: black;
  padding: 0;
  margin: 0;
  letter-spacing: -2px;
  font-size: 48px;
  font-weight: bold;
}

.intro h2 {
  color: black;
  /*font-family: 'LeagueGothic';*/
  padding: 0;
  margin: 0;
  margin-top: -5px;
  font-size: 32px;
  letter-spacing: -1px;
}

h1 {
  display: inline;
  font-size: 100%;
  font-weight: normal;
  padding: 0;
  margin: 0;
}

h2 {
  /*font-family: 'Junction';*/
  color: black;
  font-size: 20px;
  margin-left: 20px;
  margin-top: 50px;
}

h2:first-child {
  margin-top: 0;
}

section {
  /*font-family: 'Junction';*/
  font-size: 50px;
  color: #3f3f3f;
  text-shadow: rgba(0, 0, 0, 0.2) 0 2px 5px;
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 100px;
  display: block;
  overflow: hidden;
}

a {
  color: inherit;
  display: inline-block;
  text-decoration: none;
  line-height: 110%;
  border-bottom: 2px solid #3f3f3f;
}

#wmap a {
  line-height: 100%;
  border-bottom: none;
}

section.left {
  float: left;
  width: 390px;
}

section.small {
  font-size: 24px;
}

section.small ul {
  margin: 0 0 0 15px;
  padding: 0;
}

section.small li {
  padding-bottom: 0;
}

h2 {
  padding: 0;
  margin: 15px 0 5px 0;
/*        font-family: GG240;*/
}

section.center {
  line-height: 180%;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  height: 700px;
  width: 900px;
}

pre {
  text-align: left;
  font-size: 16px;
  font-family: Monaco, Courier;
  padding-bottom: 10px;

  padding: 10px 20px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #aaa;
}
.two-column {
  -webkit-column-count: 2;
  -moz-column-count: 2;
}

pre select {
  font-size: 16px;
  font-family: Monaco, Courier;
  border: 1px solid #c61800;
}

input {
  font-size: 16px;
  font-family: Helvetica;
  padding: 3px;
}
input[type="range"] {
  width: 100%;
}

button {
  font-family: Verdana;
}

button.large {
  font-size: 32px;
}

pre b {
  font-weight: normal;
  color: #c61800;
  text-shadow: #c61800 0 0 1px;
  /*letter-spacing: -1px;*/
}
pre em {
  font-weight: normal;
  font-style: normal;
  color: #18a600;
  text-shadow: #18a600 0 0 1px;
}
pre input[type="range"] {
  height: 6px;
  cursor: pointer;
  width: auto;
}
example {
  font-size: 16px;
  display: block;
  padding: 10px 20px;
  color: black;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
video {
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.css,
.js,
.html,
.key {
  font-family: 'Junction';
  color: black;
  display: inline-block;
  padding: 6px 10px 3px 10px;
  font-size: 25px;
  line-height: 30px;
  text-shadow: none;
  letter-spacing: 0;
  bottom: 10px;
  position: relative;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 5px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 5px;
  -moz-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 5px;
}

.key { font-family: Arial; }

:not(header) > .css,
:not(header) > .js,
:not(header) > .html,
:not(header) > .key {
  margin: 0 5px;
  bottom: 4px;
}

.css {
  background: -webkit-gradient(linear, left top, left bottom, from(#ff4), to(#ffa));
  background-color: #ff4;
  background: -moz-linear-gradient(left top, #ff4, #ffa);
}
.js {
  background: -webkit-gradient(linear, left top, left bottom, from(#4f4), to(#afa));
  background-color: #4f4;
  background: -moz-linear-gradient(left top, #4f4, #afa);
}
.html {
  background: -webkit-gradient(linear, left top, left bottom, from(#e88), to(#fee));
  background-color: #e88;
  background: -moz-linear-gradient(left top, #e88, #fee);
}

li {
  list-style: none;
  padding: 10px 0;
}

.summary li::before, .bullets li::before {
  content: '· ';
}

info {
  display: block;
  font-size: 50%;
  text-align: center;
}

h2 { font-size: 24px; }
.intro h1 {
  letter-spacing: 0;
}
.grayscale {
  -webkit-filter: grayscale(80%);
  -moz-filter: grayscale(80%);
  -ms-filter: grayscale(80%);
  -o-filter: grayscale(80%);
  filter: grayscale(80%);
  filter: gray; /* IE 6-9 */
}
.grayscale:hover {
  -webkit-filter: grayscale(40%);
  -moz-filter: grayscale(40%);
  -ms-filter: grayscale(40%);
  -o-filter: grayscale(40%);
  filter: grayscale(40%);
  filter: gray; /* IE 6-9 */
}

@font-face {
  font-family: Zoinks;
  src: url('font/Zoinks.woff');
}
@font-face {
  font-family: GrimshawHand;
  src: url('font/GrimshawHand.woff');
}
@font-face {
  font-family: Whimsy;
  src: url('font/Whimsy.woff');
}
a.polaroid {
  width: 150px;
  padding: 10px 10px 20px 10px;
  border: 1px solid #BFBFBF;
  background-color: white;
  z-index: 2;
  -webkit-box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3);
  -moz-box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3);
  box-shadow: 2px 2px 4px rgba(0,0, 0, 0.3);
}

a.transform.polaroid {
  -webkit-transform: rotate(10deg);
  -moz-transform: rotate(10deg);
  transform: rotate(10deg);
  -webkit-transition: all 0.5s ease-in;
}
a.transform.polaroid:hover,
a.transform.polaroid:focus,
a.transform.polaroid:active {
  z-index: 999;
  border-color: #6A6A6A;
  -webkit-box-shadow: 15px 15px 20px rgba(0,0, 0, 0.4);
  -moz-box-shadow: 15px 15px 20px rgba(0,0, 0, 0.4);
  box-shadow: 15px 15px 20px rgba(0,0, 0, 0.4);
  -webkit-transform: rotate(0deg) scale(1.05);
  -moz-transform: rotate(0deg) scale(1.05);
  transform: rotate(0deg) scale(1.05);
}

@-webkit-keyframes pulse {
 0% {
   background-color: red;
   opacity: 1.0;
   -webkit-transform: scale(1.0) rotate(0deg);
 }
 33% {
   background-color: blue;
   opacity: 0.75;
   -webkit-transform: scale(1.1) rotate(-5deg);
 }
 67% {
   background-color: green;
   opacity: 0.5;
   -webkit-transform: scale(1.1) rotate(5deg);
 }
 100% {
   background-color: red;
   opacity: 1.0;
   -webkit-transform: scale(1.0) rotate(0deg);
 }
}
.pulsedbox {
 -webkit-animation-name: pulse;
 -webkit-animation-duration: 4s;
 -webkit-animation-iteration-count: infinite;
 -webkit-animation-timing-function: ease-in-out;
}

.gist-data{
  height: 460px;
  overflow-y: visible;
  /*
  -webkit-overflow-scrolling: touch;
  -webkit-perspective: 0;
  display: block;
  */
}
