/*  Start varibales */
:root{
    --main-color: #10cab7;
    --secondary-color: #2c4755;
    --section-padding:60px;
    --section-backgroung:#f6f6f6;
    --pragraph-color:#777;
}
/*  End varibales */

/* Start components */
.special-heading{
    text-align: center;
    color: #ebeced;    
    font-size: 100px;
    font-weight: 800;
    letter-spacing: -3px;
    margin: 0;
}
/* End components */

/* start global rules */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body{
    font-family: "work sans" , sans serif;
}


.container{
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }


@media (min-width:768px){
    .container{
        width: 750px;
    }
}

@media (min-width:992px){
    .container{
        width: 970px;
    }
}

@media (min-width:1200px){
    .container{
        width: 1170px;
    }
}
/* End global rules */ 

/* start header */
.header {
    padding: 20px;
}
.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header .logo{
    width: 60px;
}
.header .links {
    position: relative;
}
.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: 0.3s;
}
.header .links .icon span:last-child {
    width: 100% ;
}
.header .links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #a9a8a8;
    position: absolute;
    right: 0;
    min-width: 200px;
    top: calc(100% + 15px);
    display: none;
    z-index: 1;
}
.header .links:hover ul {
    display: block;
}
.header .links ul::before {
    content: "";
    border-style: solid;
    border-color: transparent transparent #a9a8a8 transparent;
    border-width: 10px;
    position: absolute;
    right: 5px;
    top: -20px;
}
.header .links ul li a{
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}
.header .links ul li a:hover{
    padding-left: 25px;
}
.header .links ul li:not(:last-child) a{
    border-bottom: 1px solid #ddd;
}
/* end header */

/* start lading */
.landing{
    background-image: url(../images/gabel.jpg);
    background-size: cover;
    height: calc(100vh - 64px);
    position: relative;
}
.landing .intro-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50% , -50%);
    text-align: center;
    width: 320px;
    max-width: 100%;
}
.landing .intro-text  h1{
    margin: 0;
    font-size: 50px;
    font-weight: bold;
    color: var(--main-color);
 
}
.landing .intro-text  p {
    text-align: center;
    font-size: 19px;
}
/* end lading */

/* start features */
.features{
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #f6f6f6;
}
.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fill , minmax(300px,1fr));
    gap: 20px;
}
.features .feat{
    text-align: center;
    padding: 20px;
    background-color: #ddd;
}
.features .feat i {
    color: var(--main-color);
}
.features .feat h3 {
    font-weight: 800;
    margin: 30px 0;
}
.features .feat p {
    line-height: 1.8;
    color: var(--pragraph-color);
    font-size: 18px;
}
/* end features */

/* start services */
.special-heading + p {
    text-align: center;
    margin: 0;
    font-size: 20px;
    color: #797979;
    margin-top: -30px;
}
@media (max-width:767px){
    .special-heading{
       font-size: 60px; 
    }
    .special-heading + p{
        margin-top: -20px ;
    }

}

.services .services-list {
    display: grid;
    grid-template-columns: repeat(auto-fill , minmax(300px,1fr));
    gap: 30px;
    margin-top: 20px;
}
.services .services-list .serv{
    display: flex;
    margin-bottom: 40px;
}
@media (max-width:767px){
    .services .services-list .serv {
        flex-direction: column;
        text-align: center;
    }
    .services .services-list .serv .text{
        margin-top: 10px;
    }
}
.services .services-list .serv i {
    color: var(--main-color);
    flex-basis: 60px;
}
.services .services-list .serv .text{
    margin-left: 10px;
}
.services .services-list .serv .text h3{
    margin: 0 0 20px;
}
.services .services-list .serv .text p{
    margin: 0 ;
    color: var(--pragraph-color);
}
.col .img{
    text-align: center;
    position: relative;
}
.col .img img{
    width: 260px;
}
.col .img::before{
    content: "";
    position: absolute;
    background-color: var(--secondary-color);
    width: 80px;
    height: calc(100% + 100px);
    top: -50px;
    right: 0;
    z-index: -1;

}
@media (max-width: 1200px){
   .col .img-none{
    display: none;
   } 
}
/* end services

/* Start portoflio */
.portfolio{
    width: 100%;
    background-color: var(--section-backgroung);
    padding-bottom: var(--section-padding);
    padding-top: var(--section-padding);
}

.projects{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 10px ;
    margin-top: 40px;
}
.projects .project{
    background-color: white;
}
.projects img{
    max-width: 100%;
}
.projects .project .text{
    padding: 20px;
}
.projects .project .text h3{
    margin: 0;
}
.projects .project .text p {
    color: var(--pragraph-color);
    margin-bottom: 0;
}

@media (max-width:767px){
    .projects {
        text-align: center;
    }
    .projects .project{
        margin-top: 20px;
    }
}
/* End portfolio */

.about{
    padding-top: var(--section-padding);
    padding-bottom: calc(var(--section-padding) + 60px);
}
.about .about-content{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 100px;
}
@media (max-width:767px){
   .about .about-content{
    justify-content: center;
    flex-direction: column;
    text-align: center;
   }
}
.about-content .img {
    width: 300px;
    height: 320px;
    position: relative;
}
.about-content .img::before{
    content: "";
    position: absolute;
    width: 70px;
    height: calc(100% + 80px);
    background-color: #ebeced;
    left: -20px;
    top: -40px;
    z-index: -1;
}
.about-content .img::after{
    content: "";
    position: absolute;
    width: 70px;
    height: 246px;
    border-left: 80px solid var(--main-color);
    border-bottom: 80px solid var(--main-color);
    top: -27px;
    right: -100px;
    z-index: -1;
}
.about-content .img img{
    width: 100%;
    height: 100%;
}
@media (max-width:767px){
   .about-content .img{
    display: none;
    
   } 
}
.about .about-content .text{
    flex-basis: calc(100% - 500px);
}
.about-content .text h3 {
    margin-bottom: 35px;
    font-weight: bold;
    line-height: 2;
}
.about-content .text hr {
    border-color:var(--main-color);
    display: inline-block;
    width: 50%;
}
.about-content .text p{
    margin-top: 20px;
    color: var(--pragraph-color);
}
/* Start Contact */
.contact{
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    background-color: var(--section-backgroung);
}
.info h1 {
    font-weight: 800;
    font-size: 40px;
    color: var(--secondary-color);
}
.info a {
    display: block;
    margin-left: 20px;
    color: var(--main-color);
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;

}
@media (max-width:767px){
    .info h1 {
        font-size: 20px;
    }
    .info a {
        font-size: 15px;
    }
}

.social i{
    color: var(--secondary-color);
}
/* End Contact */

.footer{
    background-color: var(--secondary-color);
    text-align: center;
    color: white;
    font-size: 18px;
    padding: 30px 10px;
}
.footer span{
    font-weight: bold;
    color: var(--main-color);
}