/* style.css */

/* تنسيق عام للصفحة */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* تنسيق الهيدر */
header {
    background-color: #009999; /* #4CAF50 05CFCF */
    color: white;
    padding: 10px 0;
    text-align: center;
}

header img {
    width: 200px;
    height: auto;
    background-color: white; /* إضافة خلفية بيضاء */
    padding: 10px; /* إضافة بعض الحشو حول الشعار لجعل الخلفية بيضاء حوله */
    border-radius: 10px; /* اختياري: إضافة حواف مستديرة */
}

/* تنسيق العناوين */
h1, h3 {
    text-align: center;
}

/* تنسيق المحتوى */
.container {
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* تنسيق الروابط داخل المحتوى */
.container a {
    color: #0000FF;  /* اللون البرتقالي الفاتحFFA500 - الان ازرق */
    font-weight: normal;  /* جعل النص عريضًا لتمييزه */
    transition: color 0.3s ease;  /* إضافة تأثير انتقال ناعم عند التغيير */
}

/* تغيير اللون عند المرور بالماوس */
.container a:hover {
    color: #000080;  /* اللون النيلي عند التمرير */
    text-decoration: underline;  /* إضافة خط تحت الرابط عند التمرير */
}


/* تنسيق قائمة الروابط */
ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: #333;
}

/* تنسيق الروابط في الشريط العلوي (Nav) بشكل أفقي */
nav {
    text-align: center;
    margin-top: 0px;
}

nav a {
    text-decoration: none;
    color: #333;
    margin: 0 10px;
    padding: 10px;
    font-size: 16px;
}

nav a:hover {
    background-color: #05CFCF;
    color: white;
    border-radius: 5px;
}
/* تنسيق عنوان المقال في صفحة المقال */

.center-green {
    text-align: center;  /* محاذاة النص في الوسط */
    color: green;        /* تعيين اللون الأخضر للنص */
}
/* تنسيق الخلاصة */

.justify-text {
      text-align: justify; /* محاذاة النص بين الجانبين */
            text-justify: inter-word; /* ضمان التوزيع المتساوي للمسافات بين الكلمات */
}

/* تنسيق الفوتر */
footer {
    background-color: #009999;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* استجابة للأجهزة المحمولة */
@media screen and (max-width: 600px) {
    header img {
        width: 150px;
    }
    .container {
        padding: 15px;
    }
    footer {
        font-size: 12px;
    }
}
