html {
    box-sizing: border-box;
  }
  body{
    background-color: bisque;
  }
  
 *, *::before, *::after {
    box-sizing: inherit;
}
#piano {
    background-color: #130047;
    width: 992px;
    height: 290px;
    margin: 80px auto;
    padding: 90px 20px 0 20px;
    position: relative;
    border-radius: 10px;
}
h1{
  text-align: center;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
p{
  text-align: center;
  margin: 0 80px 0 80px;
  letter-spacing: 1px;
  word-spacing: normal;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  
}

.keys {
    background-color: #040404;
    width: 949px;
    height: 180px;
    padding-left: 2px;
    overflow: hidden;
}
  
.key {
    background-color: #ffffff;
    position: relative;
    width: 41px;
    height: 175px;
    margin: 2px;
    float: left;
    border-radius: 0 0 3px 3px;
}
  
.key.black--key::after {
    background-color: #1d1e22;
    content: "";
    position: absolute;
    left: -18px;
    width: 32px;
    height: 100px;
    border-radius: 0 0 3px 3px;
}
.key:active {
  transform: scale(0.95); 
  transition: transform 0.1s ease; 
}

.key.black--key:active::after {
  transform: scale(0.95);
  transition: transform 0.1s ease; 
}
.logo {
    width: 200px;
    position: absolute;
    top: 23px;
}
@media (max-width: 768px) {
    #piano {
      width: 358px;
    }
  
    .keys {
      width: 318px;
    }
  
    .logo {
      width: 150px;
    }
}
@media (max-width: 1199px) and (min-width: 769px) {
    #piano {
      width: 675px;
    }
  
    .keys {
      width: 633px;
    }
  
}