
/* Smaller square icons for the lower bookmark row - will apply to all services when one item has one of the following ids */
ul:has(:is(
    li#bookmark
)) {
    
    @media (width <= 63rem){
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    @media (width <= 63rem){
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    li {
        aspect-ratio: 1 / 1;

        .service-title {
            height: 100%;
            width: 100%;
        }

        .service-name{
            font-size: 0.65rem;
        }
        
        .service-icon img{
            width: 50% !important;
            height: auto !important;
        }

        a:nth-of-type(2) {
            display: none;
        }

        a:nth-of-type(1) {
            align-items: center;
            position: relative;
            width: 100%;
        }

        a:nth-of-type(1):hover + a:nth-of-type(2),
        a:nth-of-type(2):hover {
            display: block;
            position: absolute;
            background-color: #00000022;
            z-index: 999;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            white-space: nowrap;
            
            font-size: 0.1em !important;
        }
    }

}