
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin: 75px auto;
}


.category-item img {
    width: 75%;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;    
}

.category-item p {
    font-weight: bold;
    margin-top: 8px;
    font-size: 22px;
}

.category-item img {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.category-item:hover img {
    transform: rotateY(180deg);
}


@media screen and (max-width: 768px) {
h2{
    margin-top: 50px;
    color: #2D77E6;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin: 75px auto;
}

.category-item img {
    width: 75%;
    border-radius: 8px;
}

.category-item p {
    font-weight: bold;
    margin-top: 8px;
    font-size: 18px; 
}
}

@media screen and (max-width: 426px) {
h2{
    margin-top: 50px;
    color: #2D77E6;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
    margin: 75px auto;
}

.category-item img {
    width: 75%;
    border-radius: 8px;
}

.category-item p {
    font-weight: 600;
    margin-top: 8px;
    font-size: 14px; 
}
}
