*{
    margin:0;
    padding:0;
    }
    /*تصميم جسم body*/
    #bo22{
    background-color: #000000;
    }
    /*قسم العنوان*/
    #hader_0{
    border-bottom: solid 2px #ffffff34;
    }
    #main1{
    text-align: center;
    }
    #main2{
    text-align: center;
    margin-top: 20px;
    }
    #img_01{
    width:375px;
    height:230px;
    margin-top:20px;
    border: solid 5px #005834;
    border-radius: 5px;
    margin-right: 10px;
    animation-name: bored;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-delay: 1s;
    animation-direction: alternate;
    
    }
    #img_02{
    width:375px;
    height:230px;
    margin-right: 10px;
    margin-top:20px;
    border: solid 5px #005834;
    border-radius: 5px;
    animation-name: bored;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-delay: 1s;
    animation-direction: alternate;
    }
    @keyframes bored{
    from{border: solid 5px #005834;}
    to{border: solid 5px #00ce78;}
    }
    #lab_1:hover{
    background-color: #212529;
    transition:0.8s;
    border: none;
    }
    #but_01:hover{
        background-color: #212529;
    transition:0.8s;
    border: none;
    }
    #btnGroupDrop1:hover{
        background-color: #212529;
    transition:0.8s;
    }
    #a_01:hover{
    background-color: #212529;
     transition:0.5s;
     border-radius: 10px;
    }
    #i_01:hover{
    color: #212529;
    transition:0.5s;
    }
    #a_02{
    color: white;
    text-decoration: none;
    }
    #a_02:hover{
    color: #212529;
    transition:0.5s;
    }
    #p_01{
    margin-left: 30%;
    width: 40%;
    margin-top: 10px;
    }
    #a_03:hover{
    background-color:  #212529;
    transition:0.5s;
    }
    #footer{
        height: 300px;
        color: #fff; /* لون نص أبيض */
        padding: 30px;
        border-top: solid 2px rgba(255, 255, 255, 0.205);
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .row {
        display: flex;
        justify-content: space-between;
    }
    
    .col {
        flex: 1;
    }
    
    .col h3 {
        color: #fff;
        margin-bottom: 20px;
    }
    
    .social-icons li {
        display: inline-block;
        margin-right: 10px;
    }
    
    .social-icons a {
        color: #fff;
        font-size: 24px;
    }
    
    .copyright {
        text-align: center;
        margin-top: 20px;
    }
    @media print {
    /* إعدادات هوامش الصفحة بالكامل */
    @page {
        margin: 0; /* تعيين جميع هوامش الصفحة إلى صفر لإزالة الهوامش البيضاء */
    }

    /* إخفاء العناصر غير المرغوب فيها عند الطباعة */
    #bored,
    #hader_0,
    #formFile1,
    #formFile2,
    #but_01,
    #lab_1,
    #footer,
    #p_01 {
        display: none;
    }

    /* إعدادات العنصر الرئيسي */
    #main1 {
        width: 100%;
        height: auto; /* يجعل الارتفاع يتكيف تلقائيًا مع المحتوى */
        min-height: 277mm; /* يحافظ على ارتفاع أدنى لضمان عدم تقلص المحتوى كثيرًا */
    }

    /* إعدادات الصورة الأولى */
    #img_01 {
        border: none;
        animation: none;
        margin-top: 10px;
        margin-left: 10px;
        float: left; /* تطفو لليسار لتكون في الجانب الأيسر من الصفحة الأولى */
        /* تمت إزالة خصائص الحجم للحفاظ على الحجم الأصلي للصورة */
        /* width: 45%; */
        /* max-width: 330px; */
        /* height: auto; */
        /* max-height: 425px; */
        display: block; /* لضمان سلوك الكتلة */
    }

    /* إعدادات الصورة الثانية */
    #img_02 {
        border: none;
        animation: none;
        margin-top: 300mm; /* لتبدأ من أعلى الصفحة الجديدة تمامًا */
        margin-right: 10px; /* هامش من اليمين لتحديد الموضع */
        float: right; /* تطفو لليمين لتكون في الجانب الأيمن من الصفحة الجديدة */
        /* تمت إزالة خصائص الحجم للحفاظ على الحجم الأصلي للصورة */
        /* width: 45%; */
        /* max-width: 330px; */
        /* height: auto; */
        /* max-height: 425px; */

        /* ملاحظة: خاصية `transform: translateY(493%);` قد تتسبب في مشاكل
           عند الطباعة أو على أجهزة مختلفة. إذا كان هدفك هو تحديد موضع الصورة عموديًا،
           فكر في **إزالتها** واستخدام **`margin-top`** بقيمة مناسبة (بالبكسل أو المليمتر)
           حسب المسافة التي تريدها من أعلى الصفحة الجديدة. */
        /* transform: translateY(493%); */
    }
}
  