:root{
    --mainColor: #007bff;
    --secondaryColor: #282828;
    --thirdColor: rgb(195,224,255);
    --main-duration: 0.3s;
}
@font-face{
    font-family: 'tajawal';
    src: url('../webfonts/Tajawal-Bold.ttf');
}

body{
    font-family: Arial, Helvetica, sans-serif;
}
html{
    scroll-behavior: smooth;
}

*{
    box-sizing: border-box;
}
ul{
    list-style: none;
}
.container{
    padding-left: 25px;
    padding-right: 25px;
    margin-left: auto;
    margin-right: auto;
}
/*My Frame Work*/
.section-padding{
    padding-top: 50px;
    padding-bottom: 50px;
}
.heading{
    color: var(--mainColor);
    text-align: center;
    margin: 0 0 50px;
    font-size: 30px;
}
/* small */
@media (min-width:768px){
    .container{
        width:750px
    }
}
/* medium */
@media (min-width:992px){
    .container{
        width:970px
    }
}
/* large */
@media (min-width:1200px){
    .container{
        width:1170px
    }
}
/* Start Header */
.header{
    height: 50px;
}
.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
.header .container > h2{
    color: var(--mainColor);
    font-size: 20px;
    margin: 0;
}
.header .links{
    position: relative;
    padding-top: 9px;
}
.header .links:hover .icon span:nth-child(2){
    width:100%
}
.header .links .icon {
    width:30px;
    display:flex;
    flex-wrap:wrap;
    justify-content: flex-end;
}
.header .links .icon span{
    background-color: #333;
    margin-bottom:5px;
    height:2px;
}
.header .links .icon span:first-child{
    width:100%
}
.header .links .icon span:nth-child(2){
    width:60%;
    transition: var(--main-duration);
}
.header .links .icon span:last-child{
    width:100%
}
.header .links ul{
    list-style: none;
    margin:0;
    padding: 0;
    background-color: #f3f3f3 ;
    position:absolute;
    right:0;
    min-width: 200px;
    top:calc(100% + 15px);
    display: none;
    z-index: 1;
}
.header .links ul::before{
    content:"";
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #f3f3f3 transparent;
    position: absolute;
    right: 5px;
    top: -19px;
}

.header .links ul li a{
    display:block;
    padding:15px;
    text-decoration: none;
    color:#333;
    transition: var(--main-duration);
}
.header .links ul li a:hover{
    padding-left:25px;
}
.header .links ul li:not(:last-child){
    border-bottom:1px solid #ddd
}

/*Start Landing*/
.landing{
    height: calc(100vh - 50px);
    background-color: var(--secondaryColor);
    text-align: center;
}

.landing .info{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px

}
.landing .info h1{
    margin: 0;
    color: #fff;
}
.landing .info h1 span{
    color: var(--mainColor);
}
.landing .info h4{
    color: #fff;
    line-height: 1.5
}
.landing .info a{
    text-transform: uppercase;
    background-color: var(--mainColor);
    border-radius: 20px;
    padding: 10px;
    text-decoration: none;
    color: var(--secondaryColor);
    font-weight: 600;
    font-size: 14px;
}
/* End Landing */
/* Start AboutMe */
.aboutMe .info{
    margin: auto;
    width: 100%;
    max-width: 700px
}
.aboutMe .info p{
    line-height: 1.6;
    color: #434343;
    margin: 0;
    position: relative;
}
.aboutMe .info p::before{
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    background-color: var(--secondaryColor);
    left: -13px;
    top: 10px;
    border-radius: 50%;
}
/* End AboutMe */
/*Start Skills*/
.skills{
    background-color: #F1F5F9;
}
.skills .box{
    background-color: #FFF;
    padding: 30px;
    border-radius: 15px;
    max-width: 700px;
    margin: auto;
}
.skills .box .skill{
    margin-bottom: 40px;
}
.skills .box .prog{
    background-color: #F1F5F9;
    height: 15px;
    width: 100%;
    border-radius: 10px
}
.skills .box .prog span{
    background-color: var(--thirdColor);
    display: inline-block;
    height: 100%;
    z-index: 99;
    border-radius: 10px
}
/*End Skills*/
/*Start Showcase*/
.showcase .content{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 20px;
    max-width: 700px;
    margin: auto;
}
.showcase .content .cont{
    background-color: #F1F5F9;
    border-radius: 15px;
    padding: 20px;
}
.showcase .content .cont:hover{
    background-color: #e9f4ff;
}
.showcase .content .cont .info{
    height: 250px;
    position: relative;
}
.showcase .content .cont .info h3{
    font-size: 22px;
}
.showcase .content .cont .info p {
    color: #434343;
    line-height: 1.6;
    font-size: 17px;
}
.showcase .content .cont .info a{
    color: var(--mainColor);
    padding: 10px;
    border: 2px solid var(--mainColor);
    border-radius: 6px;
    position: absolute;
    bottom: 20px;
    transition: var(--main-duration);
    text-decoration: none;
}
.showcase .content .cont .info a::after{
    content: "";
    background-color: var(--mainColor);
}
.showcase .content .cont .info a:hover{
    background-color: var(--mainColor);
    color: #fff;
}
.showcase .content .cont button:active{
    margin-bottom: 5px;
}
.showcase .content .cont img{
    max-width: 100%;
    border: 1px solid #b6b6b6;
    border-radius: 5px;

}
/*End Showcase*/
/* Start Footer */
.footer{
    background-color: var(--secondaryColor);
}
.footer h3 {
    color: #fff;
}
.footer a {
    color: var(--thirdColor);
    text-decoration: none;
}
.footer .social .link{
    width:fit-content;
    transition: var(--main-duration);
}
.footer .social .link:hover{
    margin-left: 5px;
}
.footer .social span{
    display: block;
    color : #fff;
    margin-bottom: 10px;
    margin-left: 8px;
}
.footer .social span i{
    margin-right: 7px;
}
.footer h3:last-child span {
    color: var(--thirdColor);
}
/* End Footer */
