body{
    text-align: right;
    background: #E8E1D9;
    direction: rtl;
    font-family: "Tajawal", sans-serif;
    font-weight: 300;
    font-style: normal;
    background-image: linear-gradient(to bottom right, #000000 ,  #ffffff , #ff0000  );
    background-attachment: fixed;
}
input {
  border-color: #CEBDAB;
}
h2 {
    font-weight: 800;
    text-align: center;
}
a {
    font-size: 20px;
    color: #000000;
    text-decoration: none;
}
p {
    font-weight: 300;
    color: #4A4037;
}
h1 {
    font-weight: 900;
    color: #3E342C;
}
h3  {
    font-weight: 700;
    color: #6B5E52;
}
img {
    border: #B7A38F;
}
video {
    border: #B7A38F;
}
.Projects-button{
    width: 200px;
    border-left: 6px solid #CEBDAB;
    background: #C4B19C;
    border-radius: 15px;
    border: 1px solid #B7A38F
    
}

.Projects-button:hover{
     border-color: #CEBDAB;
    background: #CBB8A5;
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

table {
  margin-left: auto;
  margin-right: 0;
}

.tthmin button{
    background-color: #C4B19C;
    border: 1px solid #ffffff;
    border-radius: 15px;
    width: 200px;
    height: 50px;
    margin: 0px 100px;
    color: #FFFFFF;
}

.tthmin button:hover{
    background-color: #68b9b1;
    border-radius: 20px;
}

/* the Descendant Selector */
    /* apply */
        /* --- */
    /* /apply */

    /* Explanation */
        .Explanation-the-Descendant-Selector {
        box-sizing: border-box;
        }

        .Explanation-the-Descendant-Selector * {
        margin: 0;
        font-family: 'Tajawal', sans-serif;
        background-color: #E8E1D9;
        color: #5C5045;
        line-height: 1.8;
        }

        .container1 {
        width: 90%;
        max-width: 900px;
        margin: 50px auto;
        }

        h1 {
        color: #3E342C;
        border-bottom: 3px solid #CEBDAB;
        padding-bottom: 10px;
        }

        h2, h3 {
        color: #6B5E52;
        }

        .card {
        background-color: #C4B19C;
        padding: 20px;
        margin-bottom: 25px;
        border-radius: 10px;
        }

        .card p {
        background-color: #D8C9B8;
        padding: 15px;
        border-radius: 8px;
        color: #3E342C;
        }

        .code-box {
        border: 2px solid #B7A38F;
        padding: 10px;
        margin: 15px 0;
        }

        .cta {
        background-color: #CEBDAB;
        padding: 25px;
        border-radius: 12px;
        }

        .btn-primary {
        display: inline-block;
        margin-top: 10px;
        padding: 10px 20px;
        background-color: #CEBDAB;
        color: #3E342C;
        text-decoration: none;
        border-radius: 6px;
        transition: 0.3s;
        }

        .btn-primary:hover {
        opacity: 0.8;
        }
    /* /Explanation */
/* /the Descendant Selector */

/* margin-auto */
    /* apply */
        .margin-auto{
            width: 300px;
            margin: 50px auto;
            background-color: #E8E1D9;
            color: #5C5045;
            border-style: inset;
            border-color: #968371;
            padding: 10px 20px;
        }
    /* /apply */

    /* Explanation */
    /* /Explanation */
/* /margin-auto */

/* the Descendant Selector */
    /* apply */
    /* /apply */

    /* Explanation */
    /* /Explanation */
/* /the Descendant Selector */

/* the Descendant Selector */
    /* apply */
    /* /apply */

    /* Explanation */
    /* /Explanation */
/* /the Descendant Selector */

/* the Descendant Selector */
    /* apply */
    /* /apply */

    /* Explanation */
    /* /Explanation */
/* /the Descendant Selector */

/* the Descendant Selector */
    /* apply */
    /* /apply */

    /* Explanation */
    /* /Explanation */
/* /the Descendant Selector */

.mthal1{
    background: #3E342C;
    width: 100px;
    height: 100px;
    box-shadow: 1px 1px 10px 10px blue inset
}
.mthal1:hover{
    background: blue;
    box-shadow: 1px 1px 10px 10px #3E342C inset 
}

ol li svg{
    width: 50px;
    height: 50px;
}
.mthal2{
    background: #3E342C;
    margin: 15px;
    width: 100px;
    height: 100px;
    box-shadow: 1px 1px 10px 10px blue 
}
.mthal2:hover{
    background: blue;
    box-shadow: 1px 1px 10px 10px #3E342C 
}

.tb62{
    background-image: linear-gradient(to right, black, #fff, red);
}

.tfoh{
    direction: ltr;
    text-align: left;
}
.tfo{
    width: 70px;
    height:  70px; 
    border: #000000 4px dotted;
    margin: 10px;
}

.tfo1{
    overflow: hidden;
}
.tfo1:hover{
    overflow: visible;
}
.tfo2{
    overflow: hidden;
}
.tfo2:hover{
    overflow: visible;
}
.tfo3{
    overflow: hidden;
}
.tfo3:hover{
    overflow: scroll;
}
.tfo4{
    overflow: hidden;
}
.tfo4:hover{
    overflow: auto;
}
.tfo5{
    overflow: hidden;
}
.tfo5:hover{
    overflow-x: hidden;
}
.tfo6{
    overflow: hidden;
}
.tfo6:hover{
    overflow-y: hidden;
}

table{
    border-spacing: 0;
    border: 1px solid #3A3A3A;
}
th{
   background: #8B1E2D; 
   color: #ffffff;
}
tfoot{
    background: #111111;
    color: #BDBDBD;
}

.appply-h{
    background-color: #000000;
    width: 1000px;
    height: 500px;
    z-index: 1;
}

.appply{
    background-color: #BDBDBD;
    width: 150px;
    height: 150px;
    border-radius: 50px;
    margin: 20px;
    z-index: 2;
    animation-name: app ;
    animation-duration: 3s;
    animation-direction: normal;
    
}

@keyframes app{
    0%{
        translate: 0 0px;
    }
    25%{
        translate: 0px 200px;
    }
    50%{
        translate: -400px 200px;
    }
    75%{
        translate: -300px -200px;
    }
    100%{
        translate: 0px 0px;
    }
}

.done{
    font-family: 'Aref Ruqaa', serif;
    font-size: 100px;
    border: none;
    text-align: center;
    color: #FFFFFF;
}

.line{
    border: 5px double rgb(0, 0, 0);
    border-radius: 5px;
}

.line2{
    border-radius: 5px;
    width: 50px;
    border: 3px solid #000000;
    display: block;
    margin-left: auto;
}

.pjr{
    background: #ff0000ae;
    width: 100%;
    height: 608px;
    display: grid;
    gap: 5px;
    padding: 5px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.p1 , .p2 , .p3 , .p4{
    border-radius: 50px;
    width: 95%;
    right: 95%;
    font-size: 80px;
    font-family: 'Great Vibes', cursive;
    background-color: #000000;
    color: #ffffff;
}

.p1:hover , .p2:hover , .p3:hover , .p4:hover{
    background-image: linear-gradient(to bottom right, #000000 ,  #ffffff , #ff0000  );
    color: #000000;
    
}

.prtoelement{
    border: 1px solid ;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.prtoelement a{
    border: 1px solid ;
    border-radius: 15px;
    padding: 5px;
    margin: 5px;
    width: 80%;
}

#shmtob {
    border-radius: 100%;
    border: none;
    color: #000000;
    background-image: linear-gradient(to bottom right, #000000 ,  #ffffff , #ff0000  );
    cursor: pointer;
    position: fixed; /*ثابته في موقعه*/
    bottom: 10px; /* يخليه تحت*/
    right: 10PX; /*يخليه يمين*/
    width: 40px;
    height: 40px;

}

#shmunder{
    border-radius: 100%;
    border: none;
    color: #000000;
     background-image: linear-gradient(to bottom right, #000000 ,  #ffffff , #ff0000  );
    cursor: pointer;
    position: fixed; /*ثابته في موقعه*/
    bottom: 10px; /* يخليه تحت*/
    right: 10PX; /*يخليه يمين*/
    width: 40px;
    height: 40px;

}

.hide{
    display: none;
}