*{
    margin:0;
    padding:0;
    }
    /*تصميم جسم body*/
    #bo22{
    height: 1000px;
    background-color: #000000;
    }
    /*قسم العنوان*/
    #hader_0{
    border-bottom: solid 2px #ffffff34;
    }
    #main1{
    text-align: center;
    }
    #main2{
    text-align: center;
    margin-top: 20px;
    }
    #haoye1{
    display: flex;
    justify-content: center;
    }
    #img_01{
    width:280px;
    height:500px;
    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;
    }
    @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 {
        background-color: #000; /* لون أسود */
        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; /* تطفو لليسار لتكون في الجانب الأيسر من الصفحة الأولى */
        /* الحفاظ على الحجم المحدد في كودك: height: 1060px; */
        /* إذا كنت تريد إبقاء الحجم المحدد، اتركه كما هو. */
        /* إذا كنت تريد الحجم الطبيعي للصورة، أزل height: 1060px; */
        height: 1105px;
        /* لا يوجد عرض محدد هنا، ستأخذ الصورة عرضها الطبيعي ما لم يتم تحديده في مكان آخر */
        /* تأكد من أن عرض الصورة الأصلي لا يتجاوز عرض الصفحة المطبوعة */
        display: block; /* لضمان سلوك الكتلة */
    }

    /*
     * إذا كنت لا تزال ترغب في وجود #img_02 في صفحة منفصلة
     * ستحتاج إلى التأكد من وجودها في HTML الخاص بك، ثم إضافة قواعدها هنا:
     */
    /*
    */
}