/*----------------------------------
 category select
----------------------------------*/
.category-select {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-select p {
    font-size: 17px;
}

.category-select p span {
    font-family: javan;
    font-size: 20px;
    font-weight: 100;
}

.category-select p span:nth-child(1) {
    color: var(--G);
}

.category-select i {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--C);
    animation-name: animation-i;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-play-state: running;
}

/*----------------------------------
  animation
----------------------------------*/
@keyframes animation-i {
    0% {
        opacity: 100%;
    }

    50.0% {
        opacity: 0;
    }

    100% {
        opacity: 100%;
    }
}

/*----------------------------------
  category ul
----------------------------------*/
.category ul {
    max-width: 1080px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 25px;
    align-items: stretch;
}

/*----------------------------------
   ریسپانسیو 
  ----------------------------------*/
@media screen and (max-width: 1199px) {
    .category ul {
        max-width: 630px;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .category ul {
        max-width: 410px;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .category ul {
        grid-template-columns: 1fr;
    }
}

/*----------------------------------
   home-category-box 
  ----------------------------------*/
.category ul li {
    background-color: var(--BG-A);
    padding: 30px 10px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.category ul li:hover {
    transform: translateY(-15px);
}

.category ul li img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.category ul li p {
    font-size: 14px;
    color: var(-I);
}

.category ul li a {
    justify-content: space-around;
    margin-top: 6px;
    gap: 10px;
    transition: all 0.3s ease;
}

.category ul li:hover a {
    background: var(--C);
    border: 1px solid var(--C-border);
}

/*----------------------------------
   ریسپانسیو 
  ----------------------------------*/
@media screen and (max-width: 480px) {
    .category ul li {
        flex-direction: row;
        justify-content: space-around;
    }

    .category ul li section {
        width: 160px;
    }

    .category ul li img {
        width: 130px;
    }

    .category ul li h2 {
        font-size: 40px;
    }

    .category ul li a {
        height: 55px;
    }
}

@media screen and (max-width: 380px) {
    .category ul li img {
        width: 100px;
    }

    .category ul li h2 {
        font-size: 40px;
    }
}