@import "normalize.css";
@import "main.css";
@import 'jquery.fancybox.css';
@font-face {
  font-family: 'codropsicons';
  font-weight: normal;
  font-style: normal;
  src: url('fonts/codropsicons/codropsicons.eot');
  src: url('fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'), url('fonts/codropsicons/codropsicons.woff') format('woff'), url('fonts/codropsicons/codropsicons.ttf') format('truetype'), url('fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
}
@font-face {
  font-family: 'cabinbold';
  src: url('fonts/cabin-bold-webfont.woff2') format('woff2'), url('fonts/cabin-bold-webfont.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: auto;
}
@font-face {
  font-family: 'cabinitalic';
  src: url('fonts/cabin-italic-webfont.woff2') format('woff2'), url('fonts/cabin-italic-webfont.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: auto;
}
@font-face {
  font-family: 'cabinregular';
  src: url('fonts/cabin-regular-webfont.woff2') format('woff2'), url('fonts/cabin-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: auto;
}
.bold {
  font-family: 'cabinbold', sans-serif;
}
body {
  width: 100%;
  height: 100%;
  font-size: 16px;
  color: #FFFFFF;
  background-color: #330CEA;
  font-weight: 200;
  background-position: 50% 70%;
  background-size: cover;
  font-family: 'cabinregular', sans-serif;
}
h1 {
  font-weight: 700;
  font-size: 2em;
  line-height: 1.2em;
  color: #FFFFFF;
  margin: 0.67em 0 0 0;
}
h2 {
  font-weight: 400;
  font-size: 1.2em;
  line-height: 1.6;
  color: #FFFFFF;
  margin: 0.5em 0 1.4em 0;
}
h3 {
  font-weight: 700;
  font-size: 2.5em;
  line-height: 1.2em;
  color: #FFFFFF;
  margin: 0.67em 0 0 0;
}
h4 {
  font-weight: 400;
  font-size: 1.2em;
  line-height: 1.6em;
  color: #FFFFFF;
  margin: 0.5em 0 0.5em 0;
}
p {
  font-size: 1.2em;
  line-height: 1.6em;
  margin: 0 0 1.5em 0;
  color: #FFFFFF;
}
a {
  text-decoration: none;
  color: #FFFFFF;
}
strong {
  font-weight: 600;
}
ul {
  margin: 10px 0;
  padding-left: 30px;
}
ul li {
  font-size: 1em;
  line-height: 1.6em;
  color: #330CEA;
  list-style-type: square;
}
header {
  position: absolute;
  left: 0;
  right: 0;
}
header h1,
header h2 {
  text-align: center;
}
header h2 {
  max-width: 600px;
  margin: 0 auto;
}
.clear {
  clear: both;
}
/*
 * --- Containers & Layout ---
 */
.container {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}
.content {
  overflow: hidden;
  height: 100vh;
}
.container-drums {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  padding: 60px 0 0 0;
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.screen-sm-hidden {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.container-drums svg {
  width: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.container-drums svg g {
  cursor: pointer;
}
footer {
  position: absolute;
  z-index: 1000;
  top: 0;
  right: 0;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 2em;
}
.container-sequencer {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 100%;
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
}
.container-sequencer.collapse {
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
}
/*
 * --- Buttons ---
 */
.btn {
  font-size: 1.65em;
  font-weight: bold;
  line-height: 1;
  width: auto;
  margin: 0 0.125em;
  padding: 0.5rem;
  vertical-align: middle;
  text-decoration: none;
  color: #242a3a;
  border: 0;
  border-radius: 0;
  background: #2BFFAF;
}
.btn:focus,
.btn:hover {
  color: #2d2e36;
  border-color: #2d2e36;
  outline: none;
}
.btn:focus {
  color: #242a3a;
}
.btn .fa {
  vertical-align: middle;
}
/*
  * --- Sequencer ---
  */
.sequencer {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}
.row {
  position: relative;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}
.row:hover {
  z-index: 100;
}
.sequencer-controls {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  padding: 10px 0 0 10px;
}
.sequencer label span {
  position: relative;
  display: block;
  width: 5vh;
  height: 5vh;
  margin: 0.5vh;
  border: 2px solid #2BFFAF;
  border-radius: 2px;
  cursor: pointer;
}
.sequencer label input[type=checkbox]:checked ~ span {
  background: #2BFFAF;
}
.sequencer label.active input[type=checkbox]:checked ~ span {
  background: #EB495D;
}
.sequencer label input {
  display: none;
}
.sequencer .active span {
  border-color: #EB495D;
}
.sequencer-controls .btn,
input[type=number] {
  font-size: 1.2rem;
  line-height: 1;
  margin: 5px;
  padding: 0;
  text-align: center;
  border: none;
  background: none;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  color: #FFFFFF;
}
input[type=number] {
  border: none;
  -moz-appearance: textfield;
  color: #FFFFFF;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
.sequencer img {
  position: relative;
  z-index: 10;
  width: 5vh;
  height: 5vh;
  margin: 0.5vh;
  border-radius: 3px;
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
}
.sequencer img:hover {
  -webkit-transform: scale(2.5);
  transform: scale(2.5);
}
/*
 * --- Keys ---
 */
#All-Keys {
  display: none;
}
.key-wrap {
  fill: #F3F8FC;
}
.key-text {
  font-size: 62px;
  font-weight: bold;
  fill: #330CEA;
}
#inline,
#inline2 {
  max-width: 800px;
  display: none;
  padding: 40px;
}
#inline p,
#inline2 p,
#inline a,
#inline2 a,
#inline h3,
#inline2 h3 {
  color: #242a3a;
}
#inline a,
#inline2 a {
  text-decoration: underline;
}
.fancybox-inner {
  padding: 0;
}
.impress {
  position: absolute;
  z-index: 1000;
  right: 0;
  left: 0;
  text-align: center;
  bottom: 0;
}
.impress p {
  text-align: center;
  font-size: 0.8em;
  margin: 0;
  margin-bottom: 10px;
}
.impress .herrlich {
  display: inline-block;
  width: 35px;
  height: 9px;
  margin-top: 7px;
  margin-left: 6px;
}
.impress .herrlich svg {
  transition: transform 0.5s ease;
}
.impress .herrlich svg path {
  fill: #2BFFAF;
}
.impress .herrlich:hover svg {
  transform: rotate(360deg);
}
.langSwitcher {
  position: absolute;
  left: 26px;
  top: 20px;
  z-index: 999;
}
.langSwitcher a:hover {
  opacity: 0.7;
}
@media (max-width: 992px) {
  #inline,
  #inline2 {
    max-width: 100%;
    display: none;
    padding: 0;
    font-size: 0.6em;
  }
}
@media (min-width: 620px) {
  .content {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .container-sequencer {
    -webkit-transition: -webkit-transform 0.6s;
    transition: transform 0.6s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  }
  .container-sequencer.collapse {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  .container-drums {
    width: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .container-drums svg {
    max-height: 65%;
    -webkit-transform: scale(1.25);
    transform: scale(1.25);
    -webkit-transition: -webkit-transform 0.6s;
    transition: transform 0.6s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  }
  .screen-sm-hidden {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  .screen-sm-hidden svg {
    -webkit-transform: scale(0.85);
    transform: scale(0.85);
  }
  .btn-tooltip {
    position: relative;
  }
  .btn-tooltip::before,
  .btn-tooltip::after {
    position: absolute;
    left: 50%;
    pointer-events: none;
    opacity: 0;
  }
  .btn-tooltip:hover::before,
  .btn-tooltip:hover::after {
    opacity: 1;
    -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
  }
  .btn-tooltip::before {
    content: '';
    z-index: 1001;
    top: 100%;
    width: 0;
    height: 0;
    margin: 0 0 0 -6px;
    pointer-events: none;
    border: solid transparent;
    border-width: 6px;
    border-color: transparent;
    border-bottom-color: #2d2e36;
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0);
  }
  .btn-tooltip:hover::before {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  .btn-tooltip::after {
    content: attr(aria-label);
    font-size: 0.41em;
    font-weight: bold;
    line-height: 1.2;
    z-index: 1000;
    top: 100%;
    margin: 12px 0 0 0;
    padding: 8px 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 3px;
    background: #2d2e36;
    -webkit-transform: translate3d(-50%, -5px, 0);
    transform: translate3d(-50%, -5px, 0);
  }
  .btn-tooltip:hover::after {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
  h1 {
    font-size: 2.4em;
  }
  h2 {
    font-size: 1.4em;
  }
}
@media (max-width: 619px) {
  .langSwitcher {
    left: 9px;
    top: 4px;
    font-size: 0.7em;
  }
  .container-sequencer,
  .container-drums {
    -webkit-align-items: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    padding-top: 0;
  }
  .container-sequencer {
    padding-top: 11em;
    transform: scale(0.75, 0.75);
  }
  .container-drums {
    margin-top: -11em;
  }
  .sequencer img {
    pointer-events: none;
  }
  .btn-keys {
    display: none;
  }
  footer {
    top: auto;
    bottom: 80px;
    padding: 1em;
  }
  .codrops-header {
    padding: 0.5em;
    font-size: 90%;
  }
  .impress,
  header {
    padding: 0 10px;
  }
  .impress p {
    font-size: 0.6em;
  }
}
