*{
    margin: 0;
    padding: 0;
}

header{
    width: 100%;
    height: 107px;
    
}
.logo {
    height: 100px;
     margin: 5px ;
     line-height: 100px;
     margin-left: 0px;
     background:linear-gradient(270deg,#C6810A,#19A2F7,#0831A2);
     width:30%;
    float: right;
 }
 .logo p {
     float: left;
     padding-left: 10px;
     font-family: 'Times New Roman', Times, serif;
     font-size: 28px;
     font-weight: 900;
     font-style:oblique;
     letter-spacing: 1px;
     color:#ff9700;
 }

 .logo p a{
     display: inline-block;
     text-decoration: none;
     color: white;
     stroke: #f12323;
     stroke-width: 1px;
 }
 .logo p a:hover {
    color: #f3ef0a;
    font-size:29px;
    letter-spacing: 0px;
    transform: rotate(20deg);
    -webkit-transform: rotate(10deg);
    -moz-transform: rotate(20deg);
    -ms-transform: rotate(20deg);
    -o-transform: rotate(20deg);
}
 .logo img {
     float: right;
     max-width: 100px;
     height: 100px;
     border-radius: 150%;
     -webkit-border-radius: 150%;
     -moz-border-radius: 150%;
     -ms-border-radius: 150%;
     -o-border-radius: 150%;
}
nav{
    margin: 5px 0px  5px 4px;
    height: 100px;
    width:69%;
    float: left; 
    background: linear-gradient(180deg,#FF009C,#5B146F,#FF009C);
}
nav ul {
    width:100%;
    display: flex;
    flex-direction: row;
    
}
nav ul li a{
    text-decoration: none;
    list-style: none;
    color: white;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: inline-block;
    width: 100%;
}

 nav ul li{
     margin: 0px 4px;
     /*display: inline-block;*/
     flex: content;
     list-style: none;
     text-decoration: none;
     line-height: 100px;
     font-weight: 900;
     font-size: 24px;
     width:27%;
     text-align: center;
     color: white;
     font-family:'Noto Sans Arabic', sans-serif;
 }
 nav ul li:hover {
    background-color: rgb(255, 255, 255);
    color:black;
 }
 nav ul li a:hover {
    background-color: rgb(255, 255, 255);
    color:black;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
 }
main {
    height: 450px;
    margin:5px;
}
aside {
    width: 30%;
    background:linear-gradient(180deg,#FBC2EB,#78A3EB,#FBC2EB);
    margin-top: 0px;
    height: 450px;
    float: left;
    text-align: center;
}
aside img {
    margin: 0px 20px;
    width: 300px;
    height: 250px;
   
}
aside p {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    padding: 20px;
    border-bottom:  2px solid red ;
}
#php {
    margin: auto;
    width: 90%;
    height: 200px;
    left:20px;
    border-radius: 40px 10px 40px 10px;
    -webkit-border-radius: 40px 10px 40px 10px;
    -moz-border-radius: 40px 10px 40px 10px;
    -ms-border-radius: 40px 10px 40px 10px;
    -o-border-radius: 40px 10px 40px 10px;
}
#social{
    width: 100%;
    display: flex;
    justify-content: center;
}
.social{
    list-style: none;
    text-decoration: none;
    align-content: center;
   
}
.social img{
    width: 40px;
    height: 40px;
    margin: 10px 0px;
    padding: 10px;
    border-bottom: 2px solid red;
}

.social img:hover{
    border-bottom: 2px solid black;
    width:50px ;
    height: 50px;
}
article {
    width: 70%;
    height: 450px;  
    float: right;
    background-color: #ff0707;
    animation-name: change;
    animation-duration: 10s;
    animation-iteration-count:infinite;
}
@keyframes change{
    0%{
        background:linear-gradient(50deg,#B16718,#FBC2EB,#CCC3D6,#4C747B);
    }
    25%{
        background:linear-gradient(60deg,#CB3A28,#AFCBE8,#75788A);
    }
    50%{
        background:linear-gradient(70deg,#015B80,#1A488E,#97B2DE);
    }
    75%{
        background:linear-gradient(50deg,#152301,#CD7672,#FF8900);
    }
    100%{
        background:linear-gradient(50deg,#561D4A,#904A80,#C4A0BA);
    }
}
#center-div{
    width: 400px;
    height: 200px;
    max-width: 100%;
    text-align: center;
    position: absolute;

    background-color: white;
    margin: auto;
    top:40%;
    left:50%;
}
#center-div h4 {
    margin: 10px;
    padding: 10px;
    border-bottom: 2px solid red;
}
#content{
    margin-top: 40px !important;
    margin: auto;
    text-align: center;
    width: 200px;
}
#content p a{
font-size: 12px;
text-decoration: none;
}
#content p{
    margin-bottom: 8px;
}

#content span{
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    display: inline-block;
    padding: 3px 0px ;
    font-size: 15px;
}
#center-div img{
    width:55px;
    height: 55px;
    float: left;
}
button{
    margin: 3px 0px ;
    padding: 5px;
    width: 110px;
    height: 25px;
    border: none;
    background-color: red;
    color: white;
}
button a{
    display: inline-block;
    text-decoration: none;
    color: black;
}
.project{
    width: 380px;
    height: 200px;
    margin:10px ;
    padding: 0px;
}
#projects a{
    display: inline-block;
    margin: auto;
    
}
#projects img:hover{
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    opacity: 1.5;
}
#projects img{
    width: 100%;
    height: 100%;
}
footer{
    width: 98%;
    height: 80px;
    background: linear-gradient(100deg,TEAL,PLUM);
    float: left;
}
footer h2{
    text-align: center;
    line-height: 80px;
    font-family: 'Times New Roman', Times, serif;
     font-size: 28px;
     font-weight: 900;
     font-style:oblique;
     letter-spacing: 1px;
}
@media only screen and (min-width:300px) {
    .logo{
        width:98%;
        text-align: center;
        margin-left: 4px;
        float: left;
    }
    .logo img{
        margin-right: 20px;
        width: 90%;
}
    .logo p {
        font-size: 22px;
        font-weight: 400;
    }
    nav{
        width: 98%;
    }
    header nav ul {
        width: 100%;
         float: left;
         height: 100px;
    }

   header nav ul li{
       width: 20%;
       font-size: 13px; 
       height: 100px;
   }
   aside{
    width: 80%;
    padding: 10px;
    margin-left: 5%;
    margin-bottom: 10px;
}
article{
    width: 100%;
position: relative;
display: block;
}
   #center-div{
    width: 70%;
    height: 168px;
    position: absolute;
    left: 10%;
    top:30%
   }
   .project {
    width: 90%;
    height: 300px;
    float: left;
    display:block;
    margin-left: 5%;
   }
   footer h2 {
    font-size: 14px;
}
footer{
    width: 98%;
    margin: 0px 4px;
    padding: 0px;
}
}
@media only screen and (min-width:800px) {
    .logo{
        width:29%;
        text-align: center;
        float: right;
        margin:5px 4px  0px 0px;
    }
    .logo img{
        max-width: 88px;
        margin-right: 0px;
    }
    .logo p {
        font-size: 17px;
        font-weight: 400;
    }
    nav{
        width: 69%;
    }
   header nav ul {
       width: 100%;
        float: left;
   }
   header nav ul li{
       justify-content: space-around;
       font-size: 16px; 
   }
   aside{
    width: 35%;
    margin: 0px;
    padding: 0px;
}
article{
    width: 65%;
    position: relative;
}
   #center-div{
    width: 298px;
    height: 168px;
    position: absolute;
    left: 120px;
    top:120px
   }
    .project{
        width: 360px;
        height: 200px;
        margin:10px ;
        margin-left: 25px;
        padding: 0px;
    }
   footer h2 {
    font-size: 27px;
}
}
@media only screen and (min-width:900px) {
    .logo{
        width:29%;
        text-align: center;
        float: right;
         margin:5px 4px  0px 0px;
    }
    .logo img{
        max-width: 90px;
        margin-right: 0px;
    }
    .logo p {
        font-size: 17px;
        font-weight: 400;
    }
    nav{
        width: 69%;
    }
   header nav ul {
       width: 100%;
        float: left;
   }
   header nav ul  li{
       justify-content: space-around;
       font-size: 19px;
   }
    aside{
        width: 35%;
        margin: 0px;
        padding: 0px;
    }
    article{
        width: 65%;
        position: relative;
    }
    #center-div{
        width: 370px;
        height: 195px;
        position: absolute;
        left: 120px;
        top:120px
       }
       .project{
        width: 370px;
        height: 210px;
        margin:10px ;
        margin-left: 25px;
        padding: 0px;
    }
       footer h2 {
        font-size: 26px;
    }
}
@media only screen and (min-width:1100px) {
    .logo{
        width:29%;
        text-align: center;
        float: right;
        margin:5px 4px  0px 0px;
    }
    .logo img{
        max-width: 100px;
        margin-right: 0px;
        
    }
    .logo p {
        font-size: 25px;
        font-weight: 600;
    }
    nav{
        width: 69%;
    }
    header nav ul{
        float: left;
    }
   header nav ul li{
       width: 207px ;  
       font-size: 22px;
       text-align: center; 
  
   }
    aside{
        width: 35%;
        margin: 0px;
        padding: 0px;
    }
    article{
        width: 65%;
        position: relative;
    }
    #center-div{
        width: 400px;
        height: 200px;
        position: absolute;
        left: 140px;
        top:120px
       
       }
       .project {
        width: 390px;
        height: 220px;
        margin:10px ;
        margin-left: 35px;
       }
       footer h2 {
           font-size: 28px;
       }
}