body { background-color: #181818; color: #ffffff; font-family: Arial, sans-serif; margin: 0; padding-top: 60px; /* تعديل لتوفير مساحة لشريط التنقل الثابت */ overflow-x: hidden; /* منع التمرير الأفقي إذا كان هناك تجاوز */ } .navbar { position: fixed; top: 0; left: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; background-color: #282828; z-index: 1000; } .navbar .logo { font-size: 1.5em; font-weight: bold; color: #ffffff; } .navbar .nav-links { list-style: none; display: flex; flex-direction: row-reverse; /* جعل العناصر تظهر من اليمين */ } .navbar .nav-links li { margin: 0 15px; } .navbar .nav-links li a { color: #ffffff; text-decoration: none; font-size: 1em; } .navbar .nav-links li a:hover { color: #1abc9c; } .main-content { text-align: center; padding-top: 100px; /* مساحة للصندوق */ max-width: 800px; /* تحديد حدا أقصى للعرض */ margin: auto; /* توسيط المحتوى */ } .main-content h1 { font-size: 2.5em; margin-bottom: 20px; } .main-content p { font-size: 1.2em; margin-bottom: 40px; } .buttons { display: flex; justify-content: center; } .buttons .btn { background-color: #1abc9c; color: #ffffff; padding: 15px 25px; margin: 10px; text-decoration: none; font-size: 1em; border-radius: 5px; transition: background-color 0.3s; } .buttons .btn:hover { background-color: #16a085; } ul { list-style: none; padding: 0; } ul li { font-size: 1.2em; margin: 15px 0; } .extra-content { padding: 20px; margin-top: 40px; /* إضافة مساحة علويّة للتمييز */ }