body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-family: 'Macondo', cursive;
    background-color: #97e4f7;
    background-image: url('images/background3.png');
    background-size: cover; 
    background-position: center; 
    cursor: url(images/cursor2.png), auto; 
  }
  
  #game-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    max-width: 475px;
    margin: 20px auto;
    margin-bottom: 0px;
  }

  #buttons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }
  
  .button {
    width: 100%;
    height: auto;
    cursor: url(images/cursorHover2.png), auto;
    font-family: 'Macondo', cursive;
    padding: 0; 
    margin: 0; 
  }
  
  .button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px; 
    margin: 0; 
  }
  
  h1, p {
    text-align: center;
    color: #84d1d1; 
    margin-top: 0; 
  }

#start-btn,
#restart-btn, 
#audio-btn, 
#info-btn {
  width: 60px; 
  height: auto; 
  padding: 15px 10px;
  cursor: url(images/cursorHover2.png), auto;
  margin-top: 20px;
  font-family: 'Macondo', cursive;
  margin-top: 0px;
  z-index: 2;
}

#start-btn:hover,
#restart-btn:hover, 
#audio-btn:hover, 
#info-btn:hover {
    transform: scale(1.1);
}



.button.pressed img {
    background-color: #00aedb; 
  }
  




  #overlay {
    visibility: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255, 0.05); /* Adjust the transparency as needed */
    z-index: 1; /* Ensure it's above other elements */
  }
  
  #panel {
    visibility: hidden;
    position: inherit;
    background-image: url('images/panel.png');
    background-size: cover;
    background-position: center; 
    z-index: 2; /* Ensure it's above the overlay */
  }

  #panel-content {
    visibility: hidden;
    text-align: center;
    display: none; 
    z-index: 2; 
  }
  
  #panel button {
    cursor: url(images/cursorHover2.png), auto;
  }
  
  #close-btn {
    padding: 10px 20px;
    cursor: url(images/cursorHover2.png), auto;
    border: none;
  }