
@import url("https://fonts.googleapis.com/css?family=Baloo+Paaji|Open+Sans:300,300i,400,400i,600,600i,700,700i");

html {
  font-family: Baloo-Paaji, sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body
{
  background-color: #695aa6;
}
.container {
  height: 90%;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h1, .h1 {
  font-size: 2.5rem;
}

h2, .h2 {
  font-size: 2.2rem;
  font-weight: bolder;
}

h3, .h3 {
  font-size: 1.75rem;
}

h4, .h4 {
  font-size: 1.5rem;
}

h5, .h5 {
  font-size: 1.25rem;
}

h6, .h6 {
  font-size: 1rem;
}

.subtitle {
  font-size: 2rem;
}

.speakerCloseMed {
  position: absolute;
  width: 50px;
  height: 50px;
  background: url(../imgs/sclose.png) center center no-repeat;
  top: 20px;
  right: 20px;
  z-index: 5000000;
  cursor: pointer;
}

.noteImage
{
  position: fixed;
  width: 95%;
  height: 360px;
  background: url(../imgs/speakerBack.png) right center no-repeat;
  bottom: 5%;
  right: 5%;
  z-index: -1;
}

.pianoContainer
{
  display: block;
  width: 1080px;
  height: 360px;
  margin-left: calc(50% - 540px);
  margin-left: -webkit-calc(50% - 540px);
  margin-left: -moz-calc(50% - 540px);
  margin-top: 100px;
  border-top: 6px solid #000;
}

.key
{
  float: left;
  width: 135px;
  height: 360px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  -moz-box-shadow: inset 4px 4px 4px rgba(255, 255, 255, .4), inset -4px -4px 4px rgba(0, 0, 0, .4), 8px 8px 5px -8px rgba(0,0,0,0.75);
  -webkit-box-shadow: inset 4px 4px 4px rgba(255, 255, 255, .4), inset -4px -4px 4px rgba(0, 0, 0, .4), 8px 8px 5px -8px rgba(0,0,0,0.75);
  box-shadow: inset 4px 4px 4px rgba(255, 255, 255, .4), inset -4px -4px 4px rgba(0, 0, 0, .4), 8px 8px 5px -8px rgba(0,0,0,0.75);
  font-size: 80px;
  font-weight: bolder;
  font-family: "Baloo Paaji" ;
  text-align: center;
  line-height: 600px;
  color: #fff;
  cursor: pointer;
  background-repeat: no-repeat;
}



.key[one]
{
  background-color: #e62565;
  background-image: url(../imgs/kot1.png);
}
.key[two]
{
  background-color: #9b2fae;
  background-image: url(../imgs/kot2.png);
}
.key[three]
{
  background-color: #4d5ec4;
  background-image: url(../imgs/kot3.png);
}
.key[for]
{
  background-color: #2b98f0;
  background-image: url(../imgs/kot4.png);
}
.key[five]
{
  background-color: #1fbcd2;
  background-image: url(../imgs/kot5.png);
}
.key[six]
{
  background-color: #50ae55;
  background-image: url(../imgs/kot6.png);
}
.key[seven]
{
  background-color: #fdc02f;
  background-image: url(../imgs/kot7.png);
}
.key[eight]
{
  background-color: #fc7330;
  background-image: url(../imgs/kot8.png);
}

.musicSelectContainer
{
  display: block;
  width: 1080px;
  height: 100px;
  margin-left: calc(50% - 540px);
  margin-left: -webkit-calc(50% - 540px);
  margin-left: -moz-calc(50% - 540px);
  margin-top: 60px;
}

.piano
{
  display: inline-block;
  width: 33%;
  height: 100px;
  border: 2px dotted #b4aed2;
  box-sizing: border-box;  
  border-radius: 12px;
  background-color: #695aa6;
  background-image: url(../imgs/pianokey.png);
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
}
.piano:hover
{
  border: 2px solid #b4aed2;
  border-radius: 12px;
  box-sizing: border-box;
  background-color: #55498d;
}
.guitar
{
  display: inline-block;
  width: 33%;
  height: 100px;
  border: 2px dotted #b4aed2;
  box-sizing: border-box;  
  border-radius: 12px;
  background-color: #695aa6;
  background-image: url(../imgs/guitarkey.png);
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
}
.guitar:hover
{
  border: 2px solid #b4aed2;
  border-radius: 12px;
  box-sizing: border-box;
  background-color: #55498d;
}
.drum
{
  display: inline-block;
  width: 33%;
  height: 100px;
  border: 2px dotted #b4aed2;
  box-sizing: border-box;  
  border-radius: 12px;
  background-color: #695aa6;
  background-image: url(../imgs/drumkey.png);
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
}
.drum:hover
{
  border: 2px solid #b4aed2;
  border-radius: 12px;
  box-sizing: border-box;
  background-color: #55498d;
}


.select
{
  display: inline-block;
  width: 33%;
  height: 100px;
  border: 2px solid #b4aed2;
  border-radius: 12px;
  box-sizing: border-box;
  -moz-box-shadow: 8px 8px 5px -8px rgba(0,0,0,0.75);
  -webkit-box-shadow: 8px 8px 5px -8px rgba(0,0,0,0.75);
  box-shadow: 8px 8px 5px -8px rgba(0,0,0,0.75);
  background-color: #55498d;
}


.songContainer
{
  width: 1060px;
  height: auto;
  margin-top: 80px;
  margin-left: calc(50% - 540px);
  margin-left: -webkit-calc(50% - 540px);
  margin-left: -moz-calc(50% - 540px);
  color: #fff;
  text-align: center;
  position: revert;
  margin-bottom: -100px;
}


#wrapper{
  width: 100%;
  padding: 10px;
  height: 30px;
  margin: 30px auto;
  position: relative;
  overflow: hidden;
  background-color: #55498d;
}

.text{
  font-family: "Baloo Paaji" ;
  font-size: 46px;
  font-weight: 500;
  line-height: 30px;
  position: absolute;
  opacity: 1;
  left: 100%;
  white-space: nowrap;
  transform-origin: center 0;
  animation-timing-function: linear;
  -webkit-transform: translateX(0%); 
  animation: mobile-rebours 60s linear infinite both;
}


@-webkit-keyframes mobile-rebours {
	 	0%   { 
	 		opacity: 1;
      left: 100%;
	 	}
    97% { 
	 		opacity: 1;
      left: 0;
	 		-webkit-transform: translateX(-100%); 
	 	}
	 	98% { 
	 		opacity: 0;
      left: 0;
	 		display: none;
	 		-webkit-transform: translateX(-100%);
	 	}
	 	99%{
	 		opacity: 0;
      left: 100%;
	 		display: none;
	 		-webkit-transform: translateX(100%); 
	 	}
	 	100%{
	 		opacity: 1;
      left: 100%;
	 		display: block;
      transform-origin: center 0;
      -webkit-transform: translateX(0%); 
	 	}
	}

@media (max-width: 990px) {

  .pianoContainer
  {
    display: block;
    width: 800px;
    height: 400px;
    margin-left: calc(50% - 400px);
    margin-left: -webkit-calc(50% - 400px);
    margin-left: -moz-calc(50% - 400px);
    margin-top: 90px;
    border-top: 6px solid #000;
  }

  .songContainer
  {
    display: block;
    width: 776px;
    height: auto;
    margin-top: 80px;
    margin-left: calc(50% - 398px);
    margin-left: -webkit-calc(50% - 398px);
    margin-left: -moz-calc(50% - 398px);
    color: #fff;
    text-align: center;
    margin-bottom: -90px;
  }

  .key
  {
    float: left;
    width: 100px;
    height: 400px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    -moz-box-shadow: inset 2px 2px 2px rgba(255, 255, 255, .4), inset -2px -2px 2px rgba(0, 0, 0, .4), 8px 8px 5px -8px rgba(0,0,0,0.75);
    -webkit-box-shadow: inset 2px 2px 2px rgba(255, 255, 255, .4), inset -2px -2px 2px rgba(0, 0, 0, .4), 8px 8px 5px -8px rgba(0,0,0,0.75);
    box-shadow: inset 2px 2px 2px rgba(255, 255, 255, .4), inset -2px -2px 2px rgba(0, 0, 0, .4), 8px 8px 5px -8px rgba(0,0,0,0.75);
    font-size: 46px;
    font-weight: bolder;
    font-family: "Baloo Paaji" ;
    text-align: center;
    line-height: 700px;
    color: #fff;
    cursor: pointer;
    background: url(../imgs/kotM.png) top center no-repeat;
  }

  .musicSelectContainer
  {
    display: block;
    width: 800px;
    height: 100px;
    margin-left: calc(50% - 400px);
    margin-left: -webkit-calc(50% - 400px);
    margin-left: -moz-calc(50% - 400px);
    margin-top: 80px;
  }
  .piano
  {
    width: 32%;
  }
  .guitar
  {
    width: 32%;
  }
  .drum
  {
    width: 32%;
  }

  .select
  {
    width: 34%;
  }
  
  }

  @media (max-width: 724px) {

    .pianoContainer
    {
      display: block;
      width: 360px;
      height: 260px;
      margin-left: calc(50% - 180px);
      margin-left: -webkit-calc(50% - 180px);
      margin-left: -moz-calc(50% - 180px);
      margin-top: 90px;
      border-top: 6px solid #000;
    }
  
    .key
    {
      float: left;
      width: 45px;
      height: 260px;
      border-bottom-left-radius: 12px;
      border-bottom-right-radius: 12px;
      -moz-box-shadow: inset 2px 2px 2px rgba(255, 255, 255, .4), inset -2px -2px 2px rgba(0, 0, 0, .4), 8px 8px 5px -8px rgba(0,0,0,0.75);
      -webkit-box-shadow: inset 2px 2px 2px rgba(255, 255, 255, .4), inset -2px -2px 2px rgba(0, 0, 0, .4), 8px 8px 5px -8px rgba(0,0,0,0.75);
      box-shadow: inset 2px 2px 2px rgba(255, 255, 255, .4), inset -2px -2px 2px rgba(0, 0, 0, .4), 8px 8px 5px -8px rgba(0,0,0,0.75);
      font-size: 36px;
      font-weight: bolder;
      font-family: "Baloo Paaji" ;
      text-align: center;
      line-height: 450px;
      color: #fff;
      cursor: pointer;
      background: url(../imgs/kotM.png) top center no-repeat;
    }
 
    .songContainer
    {
      display: block;
      width: 340px;
      height: auto;
      margin-top: 80px;
      margin-left: calc(50% - 180px);
      margin-left: -webkit-calc(50% - 180px);
      margin-left: -moz-calc(50% - 180px);
      color: #fff;
      text-align: center;
      margin-bottom: -90px;
    }

    .musicSelectContainer
    {
      display: block;
      width: 360px;
      height: 100px;
      margin-left: calc(50% - 180px);
      margin-left: -webkit-calc(50% - 180px);
      margin-left: -moz-calc(50% - 180px);
      margin-top: 50px;
    }
    .piano
    {
      width: 32%;
    }
    .guitar
    {
      width: 32%;
    }
    .drum
    {
      width: 32%;
    }
  
    .select
    {
      width: 33%;
    }

    .key[one]
    {
      background-color: #e62565;
      background-image: url(../imgs/kotM1.png);
    }
    .key[two]
    {
      background-color: #9b2fae;
      background-image: url(../imgs/kotM2.png);
    }
    .key[three]
    {
      background-color: #4d5ec4;
      background-image: url(../imgs/kotM3.png);
    }
    .key[for]
    {
      background-color: #2b98f0;
      background-image: url(../imgs/kotM4.png);
    }
    .key[five]
    {
      background-color: #1fbcd2;
      background-image: url(../imgs/kotM5.png);
    }
    .key[six]
    {
      background-color: #50ae55;
      background-image: url(../imgs/kotM6.png);
    }
    .key[seven]
    {
      background-color: #fdc02f;
      background-image: url(../imgs/kotM7.png);
    }
    .key[eight]
    {
      background-color: #fc7330;
      background-image: url(../imgs/kotM8.png);
    }
    
    }
  