@font-face {
    font-family: 'iransans';
    src: url(../font/KalamehFaNum-Medium.ttf),

}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'iransans';
}
.banerOne{
    overflow: hidden;
    aspect-ratio: 3 / 1;
    background-repeat: no-repeat;
    background-size: cover;
}
.containerPizza{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin: 30px;
}
.c-pizza{
    width: 100%;
    max-width: 1070px;
}
.c-p-title{
    text-align: center;
}
.all-pizza{
    margin-top: 30px;
    display: grid;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-content: normal;
    justify-content: center;
    gap: 15px;
    transition: 1s;
}
.itemPizza{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 30px 20px;
    border: 1px solid #d0d0d0;
    border-radius: 13px;
    gap: 20px;
}

.imgproduct{
    width: 250px;
    height: 250px;
    border-radius: 50%;
}
.ditails{
    text-align: center;
}
.price-pizza{
    display: flex;
    width: 100%;
}
.namePizza{
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid #024823;
    padding-bottom: 10px;
}

.banerTwo{
    aspect-ratio: 2 / 1.5;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
}
.banerThree{
    aspect-ratio: 1.5 / 1.5;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
}
.basePrice{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e5e5;
    text-decoration: line-through;
    padding: 3px 10px;
    width: 50%;
    border-radius: 0 10px 10px 0;
    text-align: center;
    color: #747474;
    font-size: 20px;
}
.c-finalPrice{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background-color: #014924;
    width: 50%;
    border-radius: 10px 0 0 10px;
    color: white;
    padding: 3px 10px;
    font-size: 20px;
    font-weight: bold;
}
/* .finalPrice{
    background-color: green;
} */
.c-finalPrice .text{
    font-size: 12px;
    display: flex;
    align-items: end;
}
.name-price{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.containerFooter{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    color: white;
    padding: 30px 0 ;
}
.footer{
    position: relative;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1070px;
    margin: 0 30px;
}
.f-right{
    display: flex;
    align-items: center;
    gap: 20px;
}
.f-left{
    display: flex;
    align-items: center;
    gap: 5px;
}
.f-left svg{
    fill: white;
    width: 30px;
    height: 30px;
}
.address-phone{
    display: flex;
    align-items: center;
}
.address-phone .title{
    font-weight: bold;
    font-size: 15px;
}
.address-phone .t-p{
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.t-p a{
    text-decoration: none;
    color: white;
}
.linefooter{
    width: 1px;
    height: 20px;
    background-color: white;
}
.f-left a{
    text-decoration: none;
    color: white;
}


@media screen and (max-width: 1000px) {
    .all-pizza{
        grid-template-columns: repeat(2 , 1fr);
        transition: 0.5s;
    }    
}

@media screen and (max-width: 650px) {
    .all-pizza{
        grid-template-columns: repeat(1 , 1fr);
        transition: 1s;
        display: flex;
        flex-wrap: wrap;
        transition: 0.5s;
    }    
    .itemPizza{
        flex-direction: row;
        padding: 15px;
        gap: 25px;
        justify-content: start;
        flex: 1;
    }
    .imgproduct{
        width: 120px;
        height: 120px;
    }
    .name-price , .ditails{
        align-items: start;
        text-align: start;
    }
    .namePizza{
        font-size: 17px;
    }
    .ditails{
        font-size: 15px;
    }
    .basePrice , .c-finalPrice{
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
     .c-finalPrice .text{
        font-size: 10px;
    }
    .c-p-title{
        font-size: 13px;
    }
    .footer{
        flex-direction: column;
        align-items: start;
        gap: 8px;
    }
    .f-right{
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }
    .linefooter{
        display: none;
    }
    .c-imgproduct{
        padding: 10px;
    }
}

@media screen and (max-width: 400px) {
    .imgproduct{
        width: 90px;
        height: 90px;
        transition: 1s;
    }
    .namePizza{
        font-size: 14px;
    }
    .ditails{
        font-size: 13px;
    }
    .basePrice , .c-finalPrice{
        font-size: 14px;
    }   
    .c-finalPrice .text{
        font-size: 9px;
    }
    .c-p-title{
        font-size: 10px;
    }
    .itemPizza{
        gap: 10px;
    }
}
