.navigation-card {
    width: fit-content;
    margin-left: 24%;
    height: auto;
    display: flex;
    align-items: center;
    position: fixed;
    justify-content: center;
    gap: 30px;
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent background */
    padding: 15px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px); /* Apply blur */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Light border for glassy effect */
    overflow: hidden; /* Clip the contents inside the border */
}

.tab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    overflow: hidden;
    background-color: rgba(252, 252, 252, 0.7); /* Semi-transparent background */
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(5px); /* Optional: Add blur to tab if needed */
}

.tab:hover {
    background-color: rgba(227, 223, 223, 0.7); /* Slightly darker on hover */
}


@media only screen and (max-width: 400px) {
    .navigation-card {
        margin-top: -20%;
        width: 90%; /* Full width on very small screens */
    }
   

   
}

/* // profile btn start */
#btn-message {
    --text-color: rgb(255, 255, 255);
    --bg-color-sup: #5e5e5e;
    --bg-color: #2b2b2b;
    --bg-hover-color: #161616;
    --online-status: #00da00;
    --font-size: 16px;
    --btn-transition: all 0.2s ease-out;
  }
  
  .button-message {
    display: flex;
    justify-content: center;
    align-items: center;
    font: 400 var(--font-size) Helvetica Neue, sans-serif;
    box-shadow: 0 0 2.17382px rgba(0,0,0,.049),0 1.75px 6.01034px rgba(0,0,0,.07),0 3.63px 14.4706px rgba(0,0,0,.091),0 22px 48px rgba(0,0,0,.14);
    background-color: var(--bg-color);
    border-radius: 68px;
    cursor: pointer;
    padding: 6px 10px 6px 6px;
    width: fit-content;
    height: 40px;
    border: 0;
    overflow: hidden;
    position: relative;
    transition: var(--btn-transition);
  }
  
  .button-message:hover {
    height: 56px;
    padding: 8px 20px 8px 8px;
    background-color: var(--bg-hover-color);
    transition: var(--btn-transition);
  }
  
  .button-message:active {
    transform: scale(0.99);
  }
  
  .content-avatar {
    width: 30px;
    height: 30px;
    margin: 0;
    transition: var(--btn-transition);
    position: relative;
  }
  
  .button-message:hover .content-avatar {
    width: 40px;
    height: 40px;
  }
  
  .avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--bg-color-sup);
  }
  
  .user-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .status-user {
    position: absolute;
    width: 6px;
    height: 6px;
    right: 1px;
    bottom: 1px;
    border-radius: 50%;
    outline: solid 2px var(--bg-color);
    background-color: var(--online-status);
    transition: var(--btn-transition);
    animation: active-status 2s ease-in-out infinite;
  }
  
  .button-message:hover .status-user {
    width: 10px;
    height: 10px;
    right: 1px;
    bottom: 1px;
    outline: solid 3px var(--bg-hover-color);
  }
  
  .notice-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 8px;
    text-align: initial;
    color: var(--text-color);
  }
  
  .username {
    letter-spacing: -6px;
    height: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: var(--btn-transition);
  }
  
  .user-id {
    font-size: 12px;
    letter-spacing: -6px;
    height: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--btn-transition);
  }
  
  .lable-message {
    display: flex;
    align-items: center;
    opacity: 1;
    transform: scaleY(1);
    transition: var(--btn-transition);
  }
  
  .button-message:hover .username {
    height: auto;
    letter-spacing: normal;
    opacity: 1;
    transform: translateY(0);
    transition: var(--btn-transition);
  }
  
  .button-message:hover .user-id {
    height: auto;
    letter-spacing: normal;
    opacity: 1;
    transform: translateY(0);
    transition: var(--btn-transition);
  }
  
  .button-message:hover .lable-message {
    height: 0;
    transform: scaleY(0);
    transition: var(--btn-transition);
  }
  
  .lable-message, .username {
    font-weight: 600;
  }
  
  .number-message {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: 8px;
    font-size: 30px;
    width: 30px;
    height: 30px;
    background-color: var(--bg-color-sup);
    border-radius: 20px;
  }
  
  /*==============================================*/
  @keyframes active-status {
    0% {
      background-color: var(--online-status);
    }
  
    33.33% {
      background-color: #93e200;
    }
  
    66.33% {
      background-color: #93e200;
    }
  
    100% {
      background-color: var(--online-status);
    }
  }

  /* profile btn end */


  /* counter start */
  .card {
    padding: 0.5rem;
    background-color: #fff;
    box-shadow: 0 6px 10px -3px rgba(0, 0, 0, 0.1), 0 3px 4px -2px rgba(0, 0, 0, 0.05);
    max-width: 290px; /* Reduced width */
    border-radius: 12px;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 290px;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: row;
}

.cardtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem; /* Space between image and number */
}

.data {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px; /* Adds a small gap between number and "Solved" */
}

.number-container {
    min-width: 80px; /* To prevent the number from shrinking */
    display: flex;
    align-items: center;
    justify-content: center;
}

.number {
    font-weight: 700;
    font-size: 1.5rem; /* Smaller size for compactness */
    color: #15cf91;
    transition: color 0.5s ease-in-out;
}



.solved-text {
    font-size: 0.9rem; /* Smaller "Solved" text */
    color: #555;
}

.number-container:hover .number {
    color: rgb(0, 134, 0);
}

/* Mobile view adjustments */
@media (max-width: 1000px) {
    .card {
        width: 100%;
        max-width: 300px;
        height: 50px; /* Ensure card height adjusts based on content */
        padding: 0.5rem;
        top: 25px;
        left: 5px;
    }
    
    .number {
        font-size: 1.2rem; /* Smaller font size for mobile */
    }

    .solved-text {
        font-size: 0.8rem; /* Smaller font size for mobile */
    }
}

  /* counter end */