*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  body {
    font-family: sans-serif;
    background-color: seagreen;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  h1 {
    margin: 25px 0;
  }
  #drum-machine {
    background-color: white;
    width: 600px;
    height: 300px;
    padding: 30px;
    border: 1px solid transparent;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #drum-pad-container {
    display: grid;
    grid-template-columns: auto auto auto;
    width: 210px;
  }
  .drum-pad {
    background-color: black;
    padding: 10px;
    text-align: center;
    width: 65px;
    height: 65px;
    margin: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 10px;
    user-select: none;
  }
  .drum-pad:hover {
    cursor: pointer;
    opacity: 0.7;
  }
  .left-side {
    display:flex;
  }
  .right-side {
    width: 300px;
    color: black;
    font-weight: bold;
    font-size: large;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
  }
  #power-button-container, #bank-button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #power-button, #bank-button {
    width: 52px;
    height: 24px;
    background-color: black;  
    display: flex;
    align-items: center;
    justify-content: center;  
  }
  #power-left, #power-right, #bank-left, #bank-right{
    width: 23px;
    height: 15px;
  }
  .selected {
    background-color: yellow;
  }
  .selected:hover {
    cursor: pointer;
  }
  #display {
    width: 200px;
    height: 50px;
    border: 2px solid black;
    border-radius: 10px;  
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: black;
  }
  .slider {
    height: 38px;
    -webkit-appearance: none;
    margin: 10px 0;
    width: 80%;
  }
  .slider:focus {
    outline: none;
  }  
  .slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 1px 1px 1px #000000;
    background: black;  
    border: 1px solid #000000;
  }
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    box-shadow: 1px 1px 1px #000000;
    border: 1px solid #000000;
    height: 30px;
    width: 15px;  
    background: yellow;
    cursor: pointer;
    
    margin-top: -11px;
  }
  .slider:focus::-webkit-slider-runnable-track {
    background: black;
  }
  .slider::-moz-range-track {
    width: 100%;
    height: 10px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 1px 1px 1px #000000;
    background: #3071A9;  
    border: 1px solid #000000;
  }
  .slider::-moz-range-thumb {
    box-shadow: 1px 1px 1px #000000;
    border: 1px solid #000000;
    height: 30px;
    width: 15px;  
    background: #FFFFFF;
    cursor: pointer;
  }
  .slider::-ms-track {
    width: 100%;
    height: 10px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
  }
  .slider::-ms-fill-lower {
    background: #3071A9;
    border: 1px solid #000000;
   
    box-shadow: 1px 1px 1px #000000;
  }
  .slider::-ms-fill-upper {
    background: #3071A9;
    border: 1px solid #000000;  
    box-shadow: 1px 1px 1px #000000;
  }
  .slider::-ms-thumb {
    margin-top: 1px;
    box-shadow: 1px 1px 1px #000000;
    border: 1px solid #000000;
    height: 30px;
    width: 15px;  
    background: #FFFFFF;
    cursor: pointer;
  }
  .slider:focus::-ms-fill-lower {
    background: #3071A9;
  }
  .slider:focus::-ms-fill-upper {
    background: #3071A9;
  }
  @media screen and (max-width: 650px) {
    #drum-machine {  
      width: 550px;
      height: auto;
      padding: 20px; 
      justify-content: center;
    } 
  }
  @media screen and (max-width: 570px) {
    #drum-machine {  
      width: 470px;
      height: auto;
      padding: 20px;  
    }
    #drum-pad-container {
      width: 180px;
    }
     .drum-pad {
      width: 55px;
      margin: 1px;
    }
    #power-button-container {
      margin-bottom: 15px;
    }
  }
  @media screen and (max-width: 485px) {  
    #drum-machine {  
      width: 355px;    
      padding: 20px;      
      flex-direction: column-reverse;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;   
      height: auto;
    }
    #power-button-container {
      margin-bottom: 20px;
    }
    .left-side {
      margin-top: 25px;
    }
  }
  @media screen and (max-width: 450px) {
    #drum-machine {  
      width: 355px;
      height: auto;
      padding: 20px;  
    }
  }
  @media screen and (max-width: 375px) {
    #drum-machine { 
      width: 335px;
    }
  }