*{
    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:305px;
    height:425px;
    margin-top:20px;
    margin-left: 1px;
    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:305px;
    height:425px;
    margin-top:20px;
    margin-left: 1px;
    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 {
        background-color: #000; /* لون أسود */
        color: #fff; /* لون نص أبيض */
        padding: 30px;
        border-top: solid 2px rgba(255, 255, 255, 0.205);
        margin-top: 300px;
    }
    
    .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; /* تعيين جميع الهوامش إلى صفر */
    }

    #main1 {
        width: 100%;
        height: auto;
        min-height: 277mm;
    }
    #hader_0,
    #formFile1,
    #formFile2,
    #but_01,
    #lab_1,
    #footer,
    #p_01 {
        display: none; /* إخفاء هذه العناصر عند الطباعة */
    }
    #img_01 {
        width: 45%;
        max-width: 330px;
        height: auto;
        max-height: 425px;
        border: none;
        animation: none;
        margin-top: 10px;
        margin-left: 10px;
        display: block;
        float: left; /* للصورة الأولى لتكون في اليسار */
    }

    #img_02 {
  
        width: 45%;
        max-width: 330px;
        height: auto;
        max-height: 425px;
        border: none;
        animation: none;
        margin-top: 300mm; /* لتبدأ من أعلى الصفحة الجديدة */
        margin-right: 10px; /* هامش لليمين إذا كانت float: right; */
        float: right; /* بما أن الأولى float: left، سنجعل الثانية float: right لتكون معاكسة */

        /* ملاحظة هامة: لا تتردد في تجربة التعديلات على خاصية transform.
           يمكنك **إزالة transform: translateY(267%);** واستبدالها بـ **margin-top** بقيمة مناسبة (يمكنك التجربة حتى تصل للوضع الذي تريده).
           خاصية 'transform' قد تتسبب في سلوك غير متوقع عند الطباعة على أجهزة مختلفة، خاصة الهواتف. */
    }
}