@font-face {
    font-family: vazir;
    src: url(Vazir.woff) format('woff');
  }

body { 
    
    direction: rtl;
    font-family: vazir;
    background-color: #299EDD;
    
}
button {
    font-family: vazir;

}
input {
    font-family: vazir;

}

p {
    margin: 5px;
}
header{
    width: 800px;
    height: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    direction: rtl;
    gap: 5px;
    
}
.main-title{
    margin-left: 8%;
    margin-right: 8%;
}

.notif {
    width: 800px;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    direction: rtl;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

button {
    padding: 10px;
    margin: 0px 2px;
    background-color:#054263;
    color:white;
    border-radius: 5px;
    border: 1px solid white;
    cursor:pointer;
}

button:hover {
    background-color:white;
    color:royalblue;

}

.unactive {
    background-color:gray;
    color:dimgray; 
    cursor:not-allowed;
    border: 1px solid dimgray;
}
.unactive:hover {
    background-color:gray;
    color:dimgray; 

}
.searchbar {
    border-radius: 3px;
    height: 25px;
    font-size: 18px;
    padding: 5px;
}
.row {
    width: 800px;
    height: 555px;
}

.articles {
    display:grid;
    grid-gap: 5px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 5px;
    height: 90%;
    direction: rtl;
}


/* .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
} */


.article {
    height: 180px;
    padding:10px;
    border-radius: 5px;
    color:black;
    background-color:aliceblue;
    border: 1px solid white;
    display: flex;
    justify-content: center;
    align-items:stretch;
    flex-direction: column;
    text-align: center;
}
h4{
    color: #4054B2;
}

.nw-btn:hover{
    background-color:#299EDD;
    color:white;
}
@media (max-width:800px) {
    header {
        width: 100%;
        height: auto;
        display: inline;
        flex-direction: row;
        align-items: center;
        direction: rtl;
        text-align: center;
  
    }
        .row {
        width: 100%;
        height: auto;
    }
    .notif {
        width: 100%;
        height: auto;
        display: inline;
        flex-direction: row;
        align-items: center;
        direction: rtl;
    }
    
    .articles {
        display:grid;
        grid-gap: 5px;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        margin-bottom: 20px;
        height: 90%;
        direction: rtl;
    }
    
    
    /* .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
    }
     */
    
    .article {
        height: auto;
        padding:10px;
        border-radius: 5px;
        color:black;
        background-color:aliceblue;
        border: 1px solid white;
    }
    .cont-us{
        align-items: center;
        flex-direction: column;
        text-align: center;
        padding-right: 0px;
        border-radius: 5px;
    }
    .logo{
        display: flex;
        margin: auto;
    }
    nav{
        margin-bottom: 20px;
    }
    h1{
        font-size: 20px !important;
    }
    }
    .cont-us{
        background-color: #4054B2;
        display: flex;
        align-items: center;
        color: aliceblue;
        padding-right: 20px;
        border-radius: 5px;
        gap: 10px;
        /*  */
         padding-left:20px;
    }
    
    a{
        color: aquamarine;
        font-size: 22px;
    }
    .tel{
        display: flex;
        gap: 5px;
        align-items: center;
        text-align: left;
    }
    
    