.techstack-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.category-section {
    background-color: var(--eerie-black-2);
    border-radius: 10px;
    padding: 20px;
}

.category-title {
    color: var(--orange-yellow-crayola);
    font-size: var(--fs-4);
    margin-bottom: 15px;
}

.tech-items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-item {
    border-radius: 6px;
    padding: 8px 12px;
    transition: transform 0.3s ease, z-index 0.3s ease;
    position: relative;
    cursor: pointer;
    z-index: 1;
}

.tech-item:hover {
    transform: translateY(-5px);
    z-index: 10; /* Bring hovered item to the front */
}

.tech-item span {
    font-size: var(--fs-6);
}

.tech-description {
    font-size: var(--fs-7);
    margin-top: 8px;
}
 
/* Hide description on mobile devices */
@media (max-width: 768px) {
    .category-section {
        padding: 15px;
    }

    .category-title {
        font-size: var(--fs-5);
    }

    .tech-item {
        padding: 6px 10px;
        transform: none;
    }

    .tech-item span {
        font-size: var(--fs-7);
    }

    .tech-description {
        display: none; /* Completely hide description on mobile */
    }
}
