*{
    text-align: center; 
}
body{
    background-color: #f5fcf4;
    display: flex;     
    flex-direction: column; 
    height: 100vh;
    margin: 0;
}
.key {
    font-family: "Bagel Fat One", serif;
    font-size: 8rem ;
    display: inline-block;
    letter-spacing: -12px;
    transition: transform 0.2s;
    margin-top: 10vw;
    color: #e3c9e9;
    text-shadow:2px 2px 2px rgba(0, 0, 0, 0.486);
    -webkit-text-stroke: 1px #d382e6;
  }
  @media (max-width: 480px) {
    .key {
        font-size: 4rem; 
        letter-spacing: -12px;
    }
}
@keyframes pressDown1 {
    30%,
    40%,
    100% {
      transform: translateY(0);
    }
    35% {
      transform: translateY(10px);
    }
  }
  
  @keyframes pressDown2 {
    70%,
    80%,
    100% {
      transform: translateY(0);
    }
    75% {
      transform: translateY(10px);
    }
  }
  
  @keyframes pressDown3 {
    30%,
    40%,
    100% {
      transform: translateY(0);
    }
    35% {
      transform: translateY(10px);
    }
  }
  
  @keyframes pressDown4 {
    40%,
    50%,
    100% {
      transform: translateY(0);
    }
    45% {
      transform: translateY(10px);
    }
  }
  
  @keyframes pressDown5 {
    20%,
    30%,
    100% {
      transform: translateY(0);
    }
    25% {
      transform: translateY(10px);
    }
  }
  
  @keyframes pressDown6 {
    60%,
    70%,
    100% {
      transform: translateY(0);
    }
    65% {
      transform: translateY(10px);
    }
  }
  
  @keyframes pressDown7 {
    10%,
    20%,
    100% {
      transform: translateY(0);
    }
    15% {
      transform: translateY(10px);
    }
  }
  
  @keyframes pressDown8 {
    35%,
    45%,
    100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(10px);
    }
  }
  
  
  
  .key:nth-child(1) {
    animation: pressDown1 2s infinite;
  }
  
  .key:nth-child(2) {
    animation: pressDown2 3s infinite;
  }
  
  .key:nth-child(3) {
    animation: pressDown3 4s infinite;
  }
  
  .key:nth-child(4) {
    animation: pressDown4 2.5s infinite;
  }
  
  .key:nth-child(5) {
    animation: pressDown5 2.5s infinite;
  }
  
  .key:nth-child(6) {
    animation: pressDown6 3.5s infinite;
  }
  
  .key:nth-child(7) {
    animation: pressDown7 2.2s infinite;
  }
  
  .key:nth-child(8) {
    animation: pressDown8 3.2s infinite;
  }

#timer{
    color: white;
    font-size: 90px;
    margin-top: 1vw;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.486);
    -webkit-text-stroke: 1% rgba(0, 0, 0, 0.5);
    letter-spacing: 5px;
    font-family: "Sour Gummy", serif;
}
#timer:hover{
    cursor: pointer;
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: "Sour Gummy", serif;
}
.container button {
    background-color: #e6d0f7; /* soft lavender */
    height: 90px;
    width: 95px;
    border-radius: 12px;
    color: white;
    border: 2px solid #c2a4e4;
    box-shadow: 4px 6px 0 #bbb6cc;
    font-family: "Sour Gummy", cursive;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

/* Optional: make them dance a little on hover */
.container button:hover {
    background-color: #f0dbff;
    transform: translateY(-3px);
    box-shadow: 6px 8px 0 #aaa0c6;
}

button:hover{
    cursor: pointer;
}
footer{
    margin-top: auto;
    padding: 10px;
    color: rgb(0, 0, 0);
    font-size: 13px;
}
.control-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.control-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.control-buttons button {
    font-family: 'Sour Gummy', cursive;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    background-color: #e6d0f7; /* soft lavender */
    color: white;
    border: 2px solid #c2a4e4;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 4px 6px 0 #bbb6cc;
    transition: all 0.2s ease;
}

.control-buttons button:hover {
    background-color: #f0dbff;
    transform: translateY(-3px);
    box-shadow: 6px 8px 0 #aaa0c6;
}

