:root{
    --primaryColor: rgb(0, 247, 255);
--secondaryColor:#88ddec;
--lightColor:#ffffff;
--bgColor-1:#171a1c;
--bgColor-2:#22282a;
--padding:8%;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-family: "Josefin Sans";
    font-size: 16px;
    color: var(--lightColor);
}

h1{
    font-size: 4.65rem;
    margin: 1.7rem 0;
    }
    
    h2{
        font-size: 2.2rem;
        letter-spacing: 0.12rem;
    cursor: pointer;
    }

    
    h3{
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    
    }
    
    h4{
        font-size: 1.25rem;
        letter-spacing: 0.12rem;
        color: var(--secondaryColor);
 
    }

    h5{
        font-size: 1.37rem;
        margin-bottom: 1.5rem;
        letter-spacing: 2px;
    }

   
 span{
    color: var(--primaryColor );
}

 p{
        color: var(--secondaryColor);
        letter-spacing: 1px;
        line-height: 1.8rem;
        font-size: 1rem;
    }  
    
    

/*------------------------------------------------------------------------
*----------------------------------------- HOME SECTION
------------------------------------------------------------------------*/

.home{
    width: 100%;
    height: 100vh;
    background-color: var(--bgColor-1);
    display: flex;
    flex-direction: column;
   
}

.logo{
    width: 100px;
}
nav{
    padding-top: 2.8rem;
    padding-left: var(--padding);
    padding-right: var(--padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
   
}

nav ul li {
    list-style-type: none;
    display: inline-block;
    margin: 0.8rem 1.5rem;
}

nav ul li a {
color: var(--lightColor);
text-decoration: none;
text-transform: capitalize;
transition: 0.4s;
}


nav ul li a:hover{
    color: var(--primaryColor);
}

.btn{
    background-color: var(--primaryColor);
    columns: var(--lightColor);
     text-decoration: none;
     font-weight: bold;
     padding: 0.81rem 1.87rem;
     border-radius: 30px;
     border: 2px solid transparent;
     transition: 0.4s;
     color: #000000;
     
}

.btn:hover {
    background-color: transparent;
    border: 2px solid var(--primaryColor);
}

.content{
    flex-grow: 1;
    padding: 0 var(--padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container-text{
    position: relative;
    bottom: 10px;
}

.social{
    margin-top: 2rem;

}

.social a {
text-decoration: none;
}

.social img{
    margin-right: 2rem;
    width: 3rem;
    transition: 0.4s;
}

.social img:hover{
    transform: scale(1.2);
}

/*------------------------------------------------------------------------
*----------------------------------------- ABUT SECTION
------------------------------------------------------------------------*/



.abut{
    background-color: var(--bgColor-2);
    padding: 2rem var(--padding);
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.abut .container-imgs{
 width: 150%;   

}

.abut .container-imgs img{
    width: 95%;
}

.abut .container-texts{
    width: 35%;
}

.servises{
    background-color: var(--bgColor-1);
    padding: 2rem var(--padding);
}

.text-centr{
    text-align: center;
}

.box {
    display: flex;
    justify-content: space-between;
}

.card{
    width: 250px;
    background-color: var(--bgColor-2);
    border-radius: 20px;
    padding: 1.3rem;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card:hover {
    /* تكبير البطاقة بنسبة 5% */
    transform: scale(1.05); 
    /* رفع الظل لإعطاء إحساس بالارتفاع */
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.card em{
    font-size: 3.12rem;
    text-align: center;
    color: var(--primaryColor);
}


/*------------------------------------------------------------------------
*----------------------------------------- SKILLS SECTION
------------------------------------------------------------------------*/



.skills{
    background-color: var(--bgColor-2);
    padding: 2rem var(--padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.skills .container-imgs{
    width: 45%;   
   
   }
   
   .skills .container-imgs img{
       width: 95%;
   }

.skill .content-skills{
width: 50%;    
}

   .content-skills{
    
display: flex;
flex-wrap: wrap;
margin-top: 4rem;

}

.skill{
    width: 100px;
height: 100px;
background-color: var(--lightColor);
border-radius: 50%;
margin: 0 2rem 2rem 0;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.skill:hover {
    /* تكبير البطاقة بنسبة 5% */
    transform: scale(1.05); 
    /* رفع الظل لإعطاء إحساس بالارتفاع */
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.skill img{
    width: 70%;
}

/*------------------------------------------------------------------------
*----------------------------------------- FOOTER SECTION
------------------------------------------------------------------------*/


footer{
padding: 1rem var(--padding);
background-color: var(--bgColor-1);

}

footer .cotent-footer{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

footer .cotent-footer p{
    color: var(--lightColor);
text-align: center;
width: 500px;
margin-top: 0.3rem;

}

footer .cotent-footer p a{
text-decoration: none;
color: var(--lightColor);
}


footer .cotent-footer .end{
    color: var(--primaryColor);
margin-top: 0.01rem;
}

/*------------------------------------------------------------------------
*----------------------------------------- HUMBERGER MENU
------------------------------------------------------------------------*/
 #menu{
    display: none;
    position: relative;
    appearance: none;
border: none;
outline: none;
background: none;
cursor: pointer;
user-select: none;
}

#menu span{
    
display: block;
width: 33px;
height: 4px;
background-color: var(--lightColor);
border-radius: 6px;
transform-origin: 0 0;
transition: 0.4s;
margin-bottom: 5px;
}

#menu.is-active span:nth-child(1) {
    
transform: translate(0px, -2px) rotate(45deg);
}

#menu.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(15px);
}

#menu.is-active span:nth-child(3) {
    transform: translate(-3px, 3px) rotate(-45deg);
} 

#menu.is-active span {
    background-color: var(--primaryColor);
}

/*------------------------------------------------------------------------
*----------------------------------------- MEDIA QUERIES
------------------------------------------------------------------------*/

@media screen and (max-width : 575px) {
:root {
 --padding: 1.5rem;
} 
html{
font-size: 13px;
}
.homem .container-imgs {
display: none;
}

nav{
position: fixed;
top: 0;
left: 0;
right: 0;
height: 82px;
padding-top: 0;
background-color: var(--bgColor-1);
border-bottom: 1px solid var(--bgColor-2);
z-index: 100;
}
nav > a{
display: none;
}
nav ul{
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: var(--bgColor-2);
}

nav ul.is-active{
    display: block;
    
}

nav ul li{
display: block;
text-align: center;
margin: 50px;
}

.container-text{
bottom: 0em ;
}

.social{
margin-top: 70px;
}

h3{
margin-bottom: 70px;
}

#menu{
display: block;
}

.abut .container-imgs{
    display: none;
}

.abut .container-text{
    width: 100%;
}

.box{
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.skills .container-imgs {
    display: none;
}

.skills .container-skills{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
} 

.skills .container-skills .content-skills{
    margin-top: 2rem;
    align-items: center;
    justify-content: center;
}
.skill{
    width: 80px;
    height: 80px;
}

footer .cotent-footer p{
width: 100%;
}

.social a{
text-decoration: none;
}

.social img{
margin-right: 2rem;
width: 2.5rem;
transition: 0.4s;
}

.social img:hover{
transform: scale(1.2);
}
.home .container-imgs{
width: 45%;
height: 90%;
}
}

@media screen and (min-width : 576px) and (max-width: 767px) {
    :root {
     --padding: 1.5rem;
    } 
    html{
    font-size: 13px;
    }
    .homem .container-imgs {
    display: none;
    }
    
    nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 82px;
    padding-top: 0;
    background-color: var(--bgColor-1);
    border-bottom: 1px solid var(--bgColor-2);
    z-index: 100;
    }
    nav > a{
    display: none;
    }
    nav ul{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bgColor-2);
    }
    
    nav ul.is-active{
        display: block;
        
    }
    
    nav ul li{
    display: block;
    text-align: center;
    margin: 50px;
    }
    
    .container-text{
    bottom: 0em ;
    }
    
    .social{
    margin-top: 70px;
    }
    
    h3{
    margin-bottom: 70px;
    }
    
    #menu{
    display: block;
    }
    
    .abut .container-imgs{
        display: none;
    }
    
    .abut .container-text{
        width: 100%;
    }
    
    .box{
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .skills .container-imgs {
        display: none;
    }
    
    .skills .container-skills{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    } 
    
    .skills .container-skills .content-skills{
        margin-top: 2rem;
        align-items: center;
        justify-content: center;
    }
    .skill{
        width: 80px;
        height: 80px;
    }
    
    footer .cotent-footer p{
    width: 100%;
    }
    
    .social a{
    text-decoration: none;
    }
    
    .social img{
    margin-right: 2rem;
    width: 2.5rem;
    transition: 0.4s;
    }
    
    .social img:hover{
    transform: scale(1.2);
    }
    .home .container-imgs{
    width: 45%;
    height: 90%;
    }
    }

    @media screen and (min-width : 768px) and (max-width: 991px) {
        :root {
         --padding: 1.5rem;
        } 
        html{
        font-size: 13px;
        }
        .homem .container-imgs {
        display: none;
        }
        
        nav{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 82px;
        padding-top: 0;
        background-color: var(--bgColor-1);
        border-bottom: 1px solid var(--bgColor-2);
        z-index: 100;
        }
        nav > a{
        display: none;
        }
        nav ul{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--bgColor-2);
        }
        
        nav ul.is-active{
            display: block;
            
        }
        
        nav ul li{
        display: block;
        text-align: center;
        margin: 50px;
        }
        
        .container-text{
        bottom: 0em ;
        }
        
        .social{
        margin-top: 70px;
        }
        
        h3{
        margin-bottom: 70px;
        }
        
        #menu{
        display: block;
        }
        
        .abut .container-imgs{
            display: none;
        }
        
        .abut .container-text{
            width: 100%;
        }
        
        .box{
            justify-content: center;
            flex-wrap: wrap;
            gap: 1.5rem;
        }
        
        .skills .container-imgs {
            display: none;
        }
        
        .skills .container-skills{
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        } 
        
        .skills .container-skills .content-skills{
            margin-top: 2rem;
            align-items: center;
            justify-content: center;
        }
        .skill{
            width: 80px;
            height: 80px;
        }
        
        footer .cotent-footer p{
        width: 100%;
        }
        
        .social a{
        text-decoration: none;
        }
        
        .social img{
        margin-right: 2rem;
        width: 2.5rem;
        transition: 0.4s;
        }
        
        .social img:hover{
        transform: scale(1.2);
        }
        .home .container-imgs{
        width: 45%;
        height: 90%;
        }
        }