@font-face {
    font-family: "iy";
    src: url("font2.ttf");
}
body{
    width: 70%;
    margin: 0 auto;
}
*{
    font-family: "iy";
    direction: rtl;
}
header{
    text-align: center;
    margin: 0 auto;
    margin-top: 50px;
    border-radius: 10px;
    border-bottom: 1px solid black;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.212);
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: beige;
    margin-bottom: 30px;
    transform: scale(1);
    transition: transform 1s;
}
header h1{
    font-size: 25px;
}
header nav{
    background-color: rgb(238, 238, 238);
    width: 90%;
    margin: 10px;
    display: inline-block;
    border-radius: 10px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.212);
    text-align: center;
    transition: background-color linear 0.5s;
    background-color: rgb(238, 238, 238);
}
header nav:hover{
    transition: background-color linear 0.5s;
    background-color: rgb(39, 39, 39);
}
header nav li{
    display: inline-block;
    list-style: none;
    color: white;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    border-bottom: 2px solid black;
    text-align: center;
    cursor: pointer;
    transition: background-color 1s ,box-shadow 1s;
    background-color: gray;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.212);
}
header nav li:hover{
    transition: background-color 1s ,box-shadow 1s;
    background-color: black;
    box-shadow: 5px 5px 5px rgba(255, 255, 255, 0.212);
}


footer{
    text-align: center;
    margin: 0 auto;
    margin-top: 30px;
    border-radius: 10px;
    border-bottom: 1px solid black;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.212);
    padding-top: 5px;
    padding-bottom: 5px;
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
    padding: 20px;
    margin-bottom: 50px;
    transition: transform 1s;
    transform: scale(1);
}


footer:hover{
    transition: transform 1s;
    transform: scale(1.1);
}
header:hover{
    transition: transform 1s ease-in-out;
    transform: scale(0.95);
}



section{
}

.art1{
    text-align: center;
    display: inline-block;
    padding: 20px;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.212);
    height: 100%;
    transition: transform 1s;
    transform: scale(1);
}

.art1 li{
    list-style: decimal;
    background-color: aliceblue;
    text-align: center;
    margin: 20px;
    margin-right: 20px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.212);
}

.art2{
    margin-top: 50px;
    display: inline-block;
    margin-bottom: 10px;
}
.art11{
    display: block;
    /* text-align: center;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.212); */
    height: 100%;
}
.art1:hover{
    transition: transform 1s;
    transform: scale(0.95);
}