/* --- Container and Text Animation --- */
.container {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  .text {
    font-size: 75px;
    font-style: italic;
    position: absolute;
    top: -50px; /* يبدأ خارج الشاشة */
    color: white;
    font-weight: bold;
    opacity: 0;
    transition: top 1.5s ease-out, opacity 1.5s ease-out;
  }
  
  .text.show {
    top: 50px; /* موقع النص النهائي */
    opacity: 1;
  }
  
  /* --- Global Styles --- */
  body {
    background-color: black;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  /* --- Heading and Paragraph Styles --- */
  h1.test1 {
    color: blue;
    font-size: 30px;
    font-weight: 500; /* استخدام قيمة رقمية للوزن */
  }
  
  p.test1 {
    color: red;
  }
  
  p.test2 {
    color: darkgreen;
  }
  
  p.test3 {
    color: olivedrab;
    line-height: 30px; /* المسافة بين النصوص */
  }
  
  p.test4 {
    color: red;
    text-align: left;
    direction: rtl;
  }
  
  /* --- Box and Image --- */
  div.box {
    background: aquamarine;
    width: 200px;
    padding: 20px;
    border: 5px solid black;
    border-radius: 15px;
    color: blue;
    text-align: center;
    margin: 20px auto;
  }
  
  div.photo1 { 
    background-image: url('https://i.ibb.co/XZMH8NHC/toji1.jpg');
    background-size: contain; /* استخدم cover لتعبئة العنصر بالكامل إذا رغبت */
    background-position: center;
    background-repeat: no-repeat;
    width: 300px;
    height: 300px;
    background-color: black;
    border-radius: 10px;
    margin: 20px auto;
  }
  
  /* --- Link Styles --- */
  a.link1 {
    color: blue;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
  }
  
  a.link1:hover {
    color: red;
    text-decoration: underline;
  }
  
  /* --- Additional Improvements --- */
  /* يمكنك إضافة تأثيرات عند تمرير الماوس على العناصر أو تعديل المسافات حسب الحاجة */
  