@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo/static/Cairo-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo/static/Cairo-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Saira';
    src: url('/fonts/Saira/static/Saira-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Saira';
    src: url('/fonts/Saira/static/Saira-Bold.ttf') format('truetype');
    font-weight: 700;
}

:root {
    --header: 70px;
    --padding: 8rem;

    --primary-color: #0077b6;
    --logo-color: rgb(3, 3, 135);
    --secondary-color: #6C63FF;
    --accent-color: #028c75;
    --accent-color-hover: #00C9A7;
    --dark-color: #1F1F1F;
    --light-color: #F9F9F9;
    --white-color: #fff;

    --orange-1: #FF6A00;
    --orange-2: #FF8500;
    --orange-3: #FFA94D;
    --orange-4: #FFD4A3;
    --orange-5: #FFF2E6;

    --font-family-ar: 'Cairo', sans-serif;
    --font-family-en: 'Saira', sans-serif;

    --font-xs: 12px;
    --font-sm: 14px;
    --font-md: 16px;
    --font-lg: 20px;
    --font-xl: 28px;
    --font-xxl: 36px;

    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-bold: 700;
    --font-weight-extra-bold: 900;

    --sidebar : 15rem;
    --header : 90px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--font-family-ar);
}


li {
    list-style: none;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--dark-color);
}

input, button, select {
    outline: none;
    border: none;
    font-family: var(--font-family-ar);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="checkbox"] {
    width: 15px;
    height: 15px;
}


/* 1- headerBox */
.headerBox {
    background-color: var(--light-color);
    width: 100%;
    position: relative;
    height: 7.5rem;
}

a.a-blog {
    color: var(--primary-color);
}


/* ------------------------------------------------ */
.main {
    display: flex;
    gap: 3rem;
    padding: 2rem var(--padding);
    background-color: var(--light-color);
}

.filter-box {
    min-width: 22%;
    max-width: 22%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.filter-box .inputBox input {
    height: 45px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0 20px;
}

.filter-box .inputBox input:focus {
    border: 2px solid var(--primary-color);
}


.filterOne {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filterOne .title {

}


.filterOne .box {
    display: flex;
    flex-direction: column;
}

.filterOne .one {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 35px;
    color: rgb(99, 99, 99);
    font-size: var(--font-sm);
}

.filterOne ul {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.filterOne ul li a {
   font-size: var(--font-sm);
   width: 100%;
   height: 100%;
}

.filterOne ul li a:hover {
    text-decoration: underline;
    color: var(--logo-color);
}

/* ---------------------------------------------------------- */
.posts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.posts .boxs {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    width: 100%;
}

.posts .box {
    display: flex;
    gap: 1rem;
}

.posts .box .img {
    border: 1px solid #ddd;
    min-height: 10rem;
    height: 10rem;
    width: 16rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.posts .box .img img {
    height: 100%;
    width: 100%;
}

.onteArticle {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.posts .box .date {
    font-size: var(--font-sm);
    color: gray;
}


.posts .box .title {
    font-weight: var(--font-weight-bold);
    font-size: 15px;
    color: var(--dark-color);
}

.posts .box .discription {
    font-size: var(--font-sm);
    color: gray;
}

.posts .line {
    background-color: #eee;
    height: 1px;
    width: 100%;
}

@media (min-width: 768px) and (max-width: 1024px) {

}
 
@media (max-width: 767px) {
}

@media (max-width: 600px) {

}