.navP {
    background-color: #9575cd;
    padding: 10px 0;
    text-align: center;
    animation: slideUp 1s ease;
  }

  .navP a {
    display: inline-block;
    margin: 10px;
  }

  .navP a button {
    border: none;
    border-radius: 10px;
    background-color: #7e57c2; 
    background-size: cover;
    color: #fff;
    font-size: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 250px; 
    width: 250px; 
  }

  .navP a button .text-background {
    background-color: rgba(255, 255, 255, 0.8); 
    color: #673ab7; 
    padding: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 1;
  }

  .navP a button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  }