@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
*{
    font-family:'cairo' ;
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    scroll-behavior: smooth;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center ;
    background-color: #2c3e50;
    color: white;
    padding-left: 40px;
    padding-right: 20px;
    border-top: solid crimson;
    position: fixed;
    width: 100%;
    z-index: 999;
    
}
header:hover{
    border-top: solid #1ABC9C ;
}
header a{
    color: white;
    text-decoration: none;
    margin-right: 10px;
    font-size: 16px;
    transition: ease .5s;
}
header a:hover{
    color: #1ABC9C;
    font-size: 18px;
}
header span{
    color: crimson;
}

.services {
   padding-top: 50px;
}


.services h2{
   text-align: center;
   margin: 30px 0px;
   margin-bottom: 50px;
}

.services .cont{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0px 80px;
}
.services .card{
    margin-right: 20px;
    box-shadow: 3px 3px 6px 6px #ccc;
    padding: 10px;
    width: 20em ;
    margin-bottom: 40px;
    text-align: center;

}
.protofilio{
    background-color: #2c3e50;
    text-align: center;
    padding:30px 50px;
}
.protofilio h2{
    color: white;
    margin-bottom:40px ;
    border-bottom: solid crimson;
    display: inline-block;
 }
 
 .protofilio .container{
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     padding: 0px 80px;
 }
 .protofilio .card{
     margin-right: 20px;
     padding: 10px;
     width: 16em ;
     margin-bottom: 40px;
     text-align: center;
 
 }

 
 .card h3{
     color: crimson;
     font-weight: 500 ;
 }
 .card p{
     font-size: 17px;
 }
 .card p span{
     font-size: 20px;
     font-weight: 500;
 }
 
 .protofilio .card>div{
     color: #2c3e50;
     font-size: 30px;
 }



footer{
    text-align: center;
    background-color:white;
    color: #2c3e50;
    padding: 8px;
}

.up{
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: crimson;
    padding: 10px;
    border-radius:50% ;
    width: 40px;
    height: 40px;
    justify-content: center;
    
    align-items: center;
    color: white;
   
}

.up:hover{
    background-color: #1ABC9C;
}

#btnMenu{
    display: none;
}

/* scroll */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: crimson; 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #1ABC9C; 
}





/* resoponsive */

@media(max-width:850px){
    .hh {
        padding-left: 10px;
    }
   
}

@media(max-width:770px){
    header nav .links {
        display: flex;
        padding-left:8px ;
        position: absolute;
        top: 100%;
        right: -420px;
        flex-direction: column;
        background-color: #2c3e50;
        border-top: solid #1ABC9C;
        border-left: solid #1ABC9C;
        width: 150px;
        height: 100vh;
        text-align: center;
        transition: 0.5s;
    }
    header nav .links.active {
        right: 0;
    }

    #btnMenu{
        display: block;
        color: white;
        font-size: 20px;
        transition: 0.3s;
    }
    #btnMenu:hover{
        font-size: 22px;
        color: #1ABC9C;
        
    }
}

@media(max-width:500px){
    

    .services .container{
        padding: 0px 20px;
    }
    .services .card{
        width: 18em ;
    }
    .protofilio{
        padding:30px 35px;
    }
    .protofilio .card{
        margin-right:0px ;
    }
    .protofilio .container{
        padding: 0px 10px;
    }
    .protofilio .card{

        width: 18em ;

    
    }
}
   
    
