@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,700,600);
@import url(//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.min.css);

body {
    background: #62A9A8;
background: linear-gradient(320deg, rgba(98, 169, 168, 1) 42%, rgba(65, 116, 224, 1) 100%);
  font-family: 'Open Sans', sans-serif; 
}

input[type="range"] {
   -webkit-appearance:none !important;
    max-height: 3px;
    position: relative;
    top: -3px;
   background: #DDD;
 }

 input[type="range"]::-webkit-slider-thumb {
   -webkit-appearance:none !important;  
   width: 15px;
   height: 15px;
   position: relative;
   top: -1px;
   background: #222;
 }

 input[type="checkbox"] {
   display: none;
 }
  input[type="checkbox"] + label {
    display: inline-block !important;
    height: 15px;
    width: 15px;
    margin: 0px 4px 0px 0px !important;
    padding: 0px;
    position: relative;
    top: 4px;
    background: #FFF;
    cursor: pointer;
  
    &:before {
      content: "";
      display: inline-block;
      width: 4px;
      height: 8px;
      background: #F38630;
      opacity: 0;
      position: relative;
      top: -5px;
      right: -1px;
      transform: skewX(0deg);
      transition: all 0.24s;
    }
    &:after {
      content: "";
      display: inline-block;
      width: 4px;
      height: 15px;
      background: #F38630;
      opacity: 0;
      position: relative;
      top: -5px;
      right: -3px;
      transform: skewX(0deg);
      transition: all 0.24s;
    }
  }
input[type="checkbox"]:checked + label {
  &:before {
    transform: skewX(30deg);
    opacity: 1;
  }
  &:after {
    transform: skewX(-30deg);
    opacity: 1;
  }
}

.container { width: 100%; }

header {
  height: 65px;
  background: #879BAD;
  color: darken(#879BAD, 40%);
  font-size: 36px;
  font-weight: 400;
  text-align: center;
  padding: 5px;
}

.metronome-container {
  width: 100%;
  height: auto;
  position: relative;
  margin: 40px auto;
  background: lighten(#222, 5%);
  
  .options-btn {
    color: #FFF;
    font-size: 22px;
    position: absolute;
    top: 20px;
    right: 15px;
    transform: rotateZ(0deg);
    cursor: pointer;
    transition: transform 0.3s;
    
    &:hover {
      transform: rotateZ(60deg);
    }
  }
  
  .options-active {
    max-height: 1000px !important;
    padding: 15px;
    overflow: visible !important;
  }
  .options {
    max-height: 0px;
    background: #FFF;
    color: #333;
    overflow: hidden;
    transition: all 0.25s;
    position: absolute;
    top: 50px;
    right: 15px;
    
    .up {
      color: #FFF;
      font-size: 22px;
      position: absolute;
      top: -14px;
      right: 3px;
      z-index: 500;
      transform: rotateZ(180deg);
    }
    
    label {
      display: block;
      margin-top: 10px;
    }
  }
  
  .counter {
    width: 100%;
    padding-bottom: 10px;
    background: lighten(#333, 5%);
    text-align: center;
    
    .dot {
      width: 15px;
      height: 15px;
      display: inline-block;
      margin: 25px 10px 10px 10px;
      background: #FFF;
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.3s;
    }
    .active { background: lighten(#44B8FF, 5%); }
  }
  
  .controls {
    color: #FFF;
    padding: 20px;
    text-align: center;
    
    label {
      display: block;
      margin-bottom: 18px;
      
      span {
        background: #FFF;
        color: #222;
        padding: 5px;
        
        i { 
          cursor: pointer; 
          transition: color 0.2s; 
        }
        i:hover { color: #FA6900; }
      }
    }
    
    input {
      width: 30px;
      border: 0px solid;
      color: #222;
      text-align: center;
      padding: 4px;
    }
    
    select {
      border: 0px;
      color: #222;
    }
    
    .play-btn {
      width: 45%;
      background: #D6E26D;
      border: 0px;
      border-radius: 5px;
      padding: 12px;
      color: darken(#D6E26D, 50%);
      transition: background 0.3s;
      
      &:hover { background: lighten(#D6E26D, 15%); }
    }
    
    .tap-btn {
    width: 200px;
    position: absolute;
    left: 25%;
    top: 200%; 

/*      color: darken(#D6E26D, 50%); */

      
/*      &:hover { background: lighten(#D6E26D, 15%); } */
    }
  }
}

footer {
  width: 50%;
  height: auto;
  background: #FFF;
  color: #444;
  padding: 10px;
  margin: 50px auto;
}

/* Split the screen in half */
.split {
  height: 100%;
  width: 50%;
  position: fixed;
  z-index: 1;
  top: 0;
  overflow-x: hidden;
  padding-top: 0px;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}
/* Split the screen in half */
.split {
  height: 100%;
  width: 50%;
  position: fixed;
  z-index: 1;
  top: 0;
  overflow: hidden;
  padding-top: 0px;
}

/* Control the left side */
.left {
    left: 0;
  border-width: 0 5px 0 0;
  border-style: solid;
  border-image: 
    linear-gradient(
	to bottom,
	rgba(90, 110, 9, 0.8), rgba(70, 100, 1, 0.6)
    ) 1 100%;    
}

/* Control the right side */
.right {
  right: 0;
}
.fillimage {
  position: absolute;
  width: 100%;
height: auto;
}

#rhythmparent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 20px;
  padding: 0px;
  height: 50%;
}

.notehead {
    position: absolute;
    width: 10%;
    bottom: 50%;
  height: auto;
  display: block;
      justify-self: middle;
}

.stem {
    position: absolute;
    height: 30%;
    bottom: 50%;
    justify-self: end;
    width: auto;
    display: block;
}

.svg-filter-1 {
    filter: brightness(0) saturate(100%) invert(24%) sepia(93%) saturate(2739%) hue-rotate(162deg) brightness(96%) contrast(97%);
}

.svg-filter-2 {
    filter: brightness(0) saturate(100%) invert(81%) sepia(48%) saturate(5407%) hue-rotate(116deg) brightness(96%) contrast(95%);
}

.svg-filter-3 {
    filter: brightness(0) saturate(100%) invert(82%) sepia(8%) saturate(7498%) hue-rotate(164deg) brightness(94%) contrast(96%);
}

.svg-filter-4 {
    filter: brightness(0) saturate(100%) invert(60%) sepia(9%) saturate(1533%) hue-rotate(202deg) brightness(93%) contrast(85%);
}

.svg-filter-5 {
    filter: brightness(0) saturate(100%) invert(37%) sepia(10%) saturate(469%) hue-rotate(332deg) brightness(94%) contrast(79%);
}

/* Mobile portrait mode optimizations */
@media screen and (orientation: portrait) {
  body {
    background: #62A9A8;
  }
  .split {
    position: absolute;
    width: 100%;
    height: 50%;

  }

  .right {
  }
  .tap-btn {
  }
}
