
:root{
    --primary-clr:#10cab7;
    --secondary-clr-light:#f8f9fa;
    /* --p-line-height:;
    --p-fs:;
    --p-fw:;

    --h1-line-height:;
    --h1-fs:;
    --h1-fw:;
    --h2-line-height:;
    --h2-fs:;
    --h2-fw:; */
    --section-v-margin:5em;
    /* --section-padding:;
    --blocks-width:; */
    --blocks-v-margin:2em;
    --block-mw:350px;
    /* --blocks-padding:; */
}


*{
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;

    box-sizing: border-box;
    margin:0;
    padding:0;


}

body{
    font-family: "Work Sans",sans-serif;
}
/*************************************/
 /** general **/

 /*************************************/

.container{


    padding:0 2em;

    margin-inline:auto;
}

nav{
    display: none;
}

section{
    margin:var(--section-v-margin) auto;
    text-align: center;
    padding-top:3em ;
    padding-bottom:3em;
  
    


}

 article{
    margin:var(--blocks-v-margin) auto;
    max-width:var(--block-mw);
    padding-bottom:1em;
    border-radius: 5px;
 





}
p{
    text-align:center;
    line-height: 1.6;
    font-size: 17px;
    width:300px;
    margin-top:1em;
    margin-inline: auto;
}

.special-heading{
 

    position: relative;
    margin-bottom: 4em;
}
h2{
    color:#ebeced;
    font-size: 70px;
    font-weight: 800;
    letter-spacing:-2px;
}


h3{
    text-align: center;
}
.special-heading p{
    position: absolute;
    top:80%;
    left:50%;
    transform: translateX(-50%);
    color:#666867


}


/*************************************/
 /** header**/

 /*************************************/
header{

    display:flex;
    justify-content:space-between;
    align-items: center;

    padding:0.5em 0;
    margin:1em 0;


  

}
.logo{
    width:60px;
  

 
} 


.nav-icon{
    width:24px;
    height: 24px;
    color:#10cab7;
}
nav ul{
    width:290px;
    list-style: none;
    display: flex;
    justify-content: space-between;
  
    
    
}


header ul a:link{
    text-decoration: none;
    display: block;
   
    padding:0.5em 0.5em;
 
    text-transform: capitalize;

}

 nav a{
    color:#173A48;
    font-size: 16px;
}
header ul a:link:hover{
    background-color:var(--primary-clr);
  border-radius: 5px;
    transition: 0.3s;
}


/*************************************/
 /** landing **/

 /*************************************/
.landing{
    background-image: url("../img/daniel-leone-v7daTKlZzaw-unsplash.jpg");
    background-size: cover;
    background-position: bottom;
    width:100%;
    height:calc(100vh - 1em - 48px);
    margin:0;
}

.landing-txt{
   display: flex;
   flex-direction: column;
   align-items:center;
   justify-content: center;
   height:inherit;
   color:white;
 
}

.landing-txt h1{
    margin:0;
    line-height: 2;
    font-weight:800;
    font-size: 40px;
}
.landing-txt p{
    width:350px;
    max-width:80%;
 
    margin-inline:auto;
    text-align: center;
    font-size: 19px;
}
i, .w-icon{
    color:var(--primary-clr);
    font-size:30px;
    margin-top:1em;
    margin-bottom: 1em;
}
.w-icon{
width: 30px;
height: 24px;
}


.s1-h ,h3{
    line-height:1.5;
    font-size:18px;
    font-weight:600;
    text-transform: capitalize;
    display: block;
}

#s1 article{
    padding:1em;
}
#s1 article:hover{
/* border:3px solid #10cab7; */
box-shadow: 0 0 32px rgb(0,0,0,0.1);
border-radius: 5px;
}


/*************************************/
 /** portfolio**/

 /*************************************/
#services ul , #portfolio ul{ 

    margin-top:2em;

    list-style: none;
   
   
}
#services ul li , #portfolio ul li{
    margin-inline:auto;
}

#services , #about{
    background-color: var(--secondary-clr-light);
    padding-bottom: 2em;
}
#services article{
    background-color: white;
    padding:1em;
}

#portfolio article{
    box-shadow: 0 0 32px rgb(0,0,0,0.1);
}
.img{
    width:100%;
    height:250px;
}

.img img{
max-width: 100%;
height:100%;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

/*************************************/
 /** about**/

 /*************************************/

#about .img img{
    border-radius: 0;

}
.about-main-txt{
   
font-weight:600;
line-height: 1.3;
border-bottom:2px solid #10cab7;
padding-bottom: 1em;
margin:2em auto;

}
.about-list{
    list-style: none;
}
.about-list li{
   
    display: flex;
    align-items: center;
    gap:30px;
}
.about-list li:not(:last-child){
    margin-bottom: 15px;
}
.about-sec-txt p{
    text-align: left;
}
.about-sec-txt .number{

    font-size:20px;
    font-weight: 600;
    background-color: #10cab7;
    color:#fff;
    padding:15px;
    border-radius: 50%;
}

/*************************************/
 /** contact**/

 /*************************************/

.contact-content{
font-weight:700;
font-size:35px;
color:#173A48;
}
.contact-content span{
    color:#10cab7;
}
footer{
    background-color: #173A48;
    padding:1em 0;
    color:white;
}


@media (min-width:768px) {
  
  
  .container{
    width:85%;
    max-width: 1170px;
 
  }  

  .nav-icon{
    display: none;

  }
  nav{
    display: block;
  }


  h2{
    font-size: 100px;
  }
  .frow{
    display:flex;
    flex-direction: row;
    justify-content:space-between;
    align-items:flex-start;
    flex-wrap: wrap;
  
   
  }


  
  .about-content{

    justify-content:center;
    align-items:center;
  
    

  }

  #about{
    justify-content:center;
  }
 
  .about-content .img {
width:500px;
height:calc(100vh - 15em);
  }
  .about-text p{

    width:600px;
  }


 

 
}

@media (min-width:1200px){
    .container{

        max-width: 1270px;
     
     
      }  
}