

/* ----------------------------------var-------------------------------------------- */
:root{
  
    --Color1 :#1c4565 ;
    --Color2 :#398acb ;
    --Color3 :#ffff;
    --Color4 :rgb(42, 42, 48);
    --Color5 :#cce9ff;

    
}
/* ---------------------------------------font------------------------------------- */
 @font-face {
    font-family: 'Vazir';
    src: url('../fonte/vazir/Vazir-FD-WOL.woff') format("woff");
}
html,body{

    font-family:'Vazir';
} 
/* ----------------------------------------------------------------------------------- */
*{
    padding: 0;
    margin: 0px;
}
a{
    text-decoration: none;
    color: var(--Color3);
}
@media screen and (max-width:576px){
    h1{
     font-size: 2.5rem;
    }
}

@media screen and (min-width:576px){
    h1{
     font-size: 2rem;
    }
}
span{
    color: var(--Color1);
}
li :hover{
    background-color: var(--Color1);
    border-radius: 4px;
    box-shadow: 0 0 9px var(--Color2);
    transition: all 0.3s ease-in;
}
 /* -------------------------------hero------------------------ */
 
 #hero{
    background:linear-gradient(rgb(34,33,33,0.274),rgb(31,32,31,0.185)),url("../img/header.jpg") no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.animation{
    animation-name:top;
    animation-duration: 10s;
    animation-iteration-count: 1;

}
.animation{
    animation: top 2s ;
}
@keyframes top{
0%{
    transform: translateY(-80px);
    opacity: 0;
}
100%{
    transform: translateY(0px);
    opacity: 1;
   
}
}
.animation2{
    animation-name:move;
    animation-duration: 10s;
    animation-iteration-count: 1;

}
.animation2{
    animation: move 2s ;
}
@keyframes move{
0%{
    transform: translateY(100%);
}
100%{
    transform: translateY(20);
}

}

.inp{

    padding: 15px 24px;
    background-color: var(--Color1);
    border-radius: 29px ;
    outline:  solid 2px  var(--Color1);
    outline-offset: 3px;
    margin-top: 18px;
    transition: all 0.3s ease-in;

}
.inp:hover{
        cursor: pointer;
            background-color: var(--Color2);
            color: var(--Color1);
            box-shadow: 0PX 0px 20px 8px rgb(85, 126, 231);
            transition: all 0.3s ease-in;
}
.inp{
    animation-name:move;
    animation-duration: 10s;
    animation-iteration-count: 1;

}
.inp{
    animation: move 2s ;
}
@keyframes move{
0%{
    transform: translateY(100%);
    opacity: 0;
}
100%{
    transform: translateY(20);
    opacity: 1;
   
}
}
/* -------------------------------box-------------------------------------- */
.feature{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 100px;
}
.box{
    padding-top: 80px;
    flex-basis: 25%;
    height: 260px;
    text-align: center;
    background-color: rgb(216, 243, 255);
    transition: all 0.3s ease;
}
.box i {
    color: #398acb;
    font-size:xx-large;
    transition: all 0.7 ease-in;
}

@keyframes icon {
    0%{
        transform: translateY(0px);
    }
    
    100%{
        transform: translateY(-7px);
    }
 }   
.box:hover {
    cursor: pointer;
    border-bottom: 5px solid #398acb;
    transition: all 0.2s ;
}

.box:hover a i{
    transition : all 0.7 ease-in;
    animation: icon 1s ;
   
}

@media screen and (min-width:500px) and (max-width:800px){

     .box{
        flex-basis: 50%;
     }
}
@media screen and (max-width:500px){

    .box{
       flex-basis: 100%;
    }
}
/* -----------------------------------------about-------------------------------------------- */

#about{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.about_img , .about_text{
    padding: 1%;
    flex-basis: 42%;
}
.about_img_container{
     background-color: var(--Color1);
     border: 0.3rem solid  var(--Color1);
     width: 100%;
     border-radius: 15px;
     overflow: hidden;
     margin-left: -33%;
        
}
.about_pic{
    
    width: 100%;
    display: block; 
    transition: all 0.5s linear;
}
.about_text{
   margin-right: -10%;
  text-align: right;
  padding-bottom: 5px;
  margin-top: 30px;
}

.about_img_container:hover .about_pic{
    opacity: 0.5;
    transform: scale(1.2);
}
.about_text h3{
    color: var(--Color1);
}
.about_text a{
    padding-top: 20px;
    background-color: var(--Color1);
    border-radius: 16px;
    padding: 9px;
}
.about_text a:hover{
        cursor: pointer;
        background-color: var(--Color2);
        color: var(--Color1);
        box-shadow: 0PX 0px 15px 5px rgb(114, 180, 250);
        transition: all 0.3s ease-in;
}


@media screen and (min-width:500px) and (max-width:767px){

    .about{
        flex-basis: 50%;
     }
}
@media screen and (max-width:575px){

    .about{
       flex-basis: 90%;
    }
    .about_img, .about_text{
        flex-basis: 90%;
    }
}

/* ---------------------------------------------box end------------------------ */
#all-box{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 90px;
    margin-bottom: 150px;
    width: 100%;
}
.box-img{
    flex-basis: 70%;
    
}
.pdbox3-img{
    display: flex;   
}
.img-box{
    flex-basis: 70%;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    cursor: pointer;
    border-radius: 12px 12px 0 0;
    margin: 0.7%;
}
.box-img h4 {
    color: rgb(114, 114, 114);
}
.text-product{
    flex-basis: 30%;
}
.text-product h3{
    color: var(--Color1);
}

.text-product a{
    background-color: var(--Color1);
    border-radius: 16px;
    padding: 9px;
    transition: all 0.3s ease-in;
}
.text-product a:hover{
    cursor: pointer;
    background-color: var(--Color2);
    color: var(--Color1);
    box-shadow: 0PX 0px 15px 5px rgb(114, 220, 250);
    transition: all 0.3s ease-in;

}
@media screen and (max-width:575px){
    .box-img{
        flex-basis: 100%;
    }
    .text-product{
        flex-basis: 100%;
        margin-top: 30%;
    }
}
/***************************

        Service

***************************/
#services{
    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 5%;
}
.service{
   
    background-color: rgb(224, 221, 221);
    margin: 1% 2%;
    border-radius: 20px;
    width: 25%;
    text-align: center;
    padding-bottom: 2%;

}
@media screen and (min-width:500px) and (max-width:767px){
    .service{
       
        width: 46%;
    }
}
@media screen and (max-width:575px){
    .service{
       
        width: 100%;
    }
}
.service-img{
    border-top-right-radius:20px ;
    border-top-left-radius: 20px;
    height: 17rem;
    width: 100%;
}
.service-img-container{
    display: flex;
    position: relative;
    justify-content: center;
}
.service-icon{
    position: absolute;
    color: #a9d1f3;
    font-size: 2rem;
    bottom: -30px;
    background-color: #398acb;
    border-radius: 50%;
    padding: 0.5rem 0.7rem;
    border: 5px solid rgb(224, 221, 221);
}
.service-info a{
    padding: 2%;
    background-color: var(--Color1);
    color: var(--Color3);
    border-radius: 10px;
    text-align: center;
}
.service-info a:hover{
    cursor: pointer;
        background-color: var(--Color2);
        color: var(--Color1);
        box-shadow: 0PX 0px 15px 5px rgb(114, 198, 250);
        transition: all 0.3s ease-in;
}
/******************login*****************/
.prop{
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    background-color: rgb(224, 221, 221);
    justify-content: center;
    align-items: center;
    font-size:large;
    padding-top: 2%;
    padding-bottom: 2%;
}
#login_form{
    text-align: center;
    width: 40%;
    height: 60%;
    background-color: white;
    border-radius: 5px;
}
#login_form p{
    padding-top: 14px;
}
#login_form form{
    align-self: flex-end;
}
#login_form input[ type = "text" ],input[ type = "email"]{
    width: 90%;
    height: 40px;
    border-radius: 5px;
    background-color: rgb(224, 221, 221);
    margin-bottom: 2%;
    border: none;
    direction: rtl;
}
#login_form textarea{
    width: 90%;
    border-radius: 5px;
    background-color:rgb(224, 221, 221);
    margin-bottom: 2%;
    border: none;
}
#login_form input[type = "submit"]{
    height: 55px;
    width: 100%;
    color: white;
    border-radius:5px;
    background-color: var(--Color1);
    border: none;
}
#address{
    direction: rtl;
    width: 40%;
    padding-bottom: 5%;
}
.text{
    padding-bottom:4%;
}
@media screen and (min-width:500px) and (max-width:767px){
    #login_form{
        flex-basis: 70%;
    }
    #address{
        flex-basis: 70%;
    }
}
@media screen and (max-width:575px){
    #login_form{
       
        flex-basis: 90%;
    }
    #address{
        flex-basis: 90%;
        padding-top:5% ;
    }
}
/**********************

        footer
    
***********************/
footer{
    display: flex;
    width: 100%;
    height: 150px;
    background-color: var(--Color1);
    text-align: center;
    justify-content: center;
    align-items: center;
}
footer span{
    color: var(--Color3);
}
