/* Star of Variables */
:root{
    --main-color:#10cab7;
    --secondary-color:#2c4755;
    --section-padding:60px;
    --section-color:#f6f6f6;

}

/* Star of global rules */
::selection{
    background-color: var(--main-color);
    color: #FFF;
}
*{
    -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;
}
p {
    text-align: justify;
}
.parent{
    background-color: #eee;
}
.container{
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    /* overflow: hidden; */
}
@media (min-width:768px){
    .container{
        width: 750px;        
    }
}
@media (min-width:992px){
    .container{
        width: 970px;        
    }
}
@media (min-width:1200px){
    .container{
        width: 1170px;        
    }
}
/* End of global rules */
/* Start components  */
.special-heading{
    color: #ebeced;
    font-size: 100px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -3px;
    margin: 0;
}
.special-heading + p{
    margin: -30px 0 0;
    font-size: 20px;
    text-align: center;
    color:#797979;
}
@media (max-width:767px){
    .special-heading{
        font-size: 60px;
    }
    .special-heading + p{
        margin-top: -20px;
    }
}
/* End components  */
/* Start of header */
.header{
    padding: 20px;
}
.header::selection{
    background-color: var(--main-color);
    color: #fff;
}
.header .container{
    /* background-color: aqua; */
    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: .3s;
} 
.header .links .icon span:last-child{
    width: 100%;
} 
.header .links ul{
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #f6f6f6;
    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-width: 10px;
    border-style: solid;
    border-color: transparent transparent #f6f6f6 transparent;
    position: absolute;
    right: 5px;
    top: -20px;
}
.header .links ul a{
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #222;
    transition: 0.3s;
}
.header .links ul a:hover{
    padding-left: 25px;
}
.header .links ul li:not(:last-child){
    border-bottom: 1px solid #DDD;
}
/* End of header */

/* Start of landing section*/
.landing{
    background-color: var(--main-color);
    background-image: url(..//Images/mountain0.jpeg);
    background-size: cover;
    background-attachment: fixed;
    height: calc((100vh - 64px));
    position: relative;
}
.landing::before{
    content: "";
    position: absolute;
    background-color: #000;
    opacity: .6;
    height: 100%;
    width: 100%;
}
.landing .intro-text{
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    width: 320px;
    max-width: 100%;
    transform: translate(-50%, -50%);
}
.landing .intro-text h1{
    margin: 0;
    font-weight: bold;
    font-size: 50px;
    color: var(--main-color);
}
.landing .intro-text p{
    font-size: 19px;
    line-height: 1.8;
    color: #fff;
}
/* End of landing section*/
/* Start featured */
.features{
    padding-top:var(--section-padding) ;
    padding-bottom:var(--section-padding); 
    background-color:var(--section-color);
}
.features .container{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    grid-gap: 20px;
}
.features .feat{
    padding: 20px;
    text-align: center;
}
.features .feat i{
    color: var(--main-color);
}
.features .feat h3{
    font-weight: 800;
    margin: 30px 0;
}
.features .feat p{
    line-height: 1.8;
    color: #777;
    font-size: 17px;
}
/* End featured */

/* Start services */
.services{
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.services .sevices-content{
display: grid;
grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
grid-gap: 30px;
margin-top: 100px;
}
.services .sevices-content .srv{
    display: flex;
    margin-bottom: 40px;
}
@media (max-width:767px){
    .services .sevices-content .srv{
        flex-direction: column;
        text-align: center;
    }
}
.services .sevices-content .srv i{
    color: var(--main-color);
    flex-basis: 60px;
}
.services .sevices-content .srv .text{
    flex: 1;
}
.services .sevices-content .srv h3{
    margin:0 0 20px;
}
.services .sevices-content .srv p{
    color: #444;
    font-weight: 300;
    line-height: 1.6;
}
.services .sevices-content .image{
    text-align: center;
    position: relative;
}
.services .sevices-content .image::before {
    content: "";
    background-color: var(--secondary-color);
    width:100px;
    height: calc(100% + 100px);
    top:-50px;
    position: absolute;
    right: 0;
    z-index: -1;
}
.services .sevices-content .image img{
    width: 260px;
}
@media(max-width:1199px){
    .image-column{
        display: none;
    }
}
/* End services */

/* Start portfolio */
.portfolio{
    padding-top:var(--section-padding) ;
    padding-bottom:var(--section-padding) ; 
    background-color:var(--section-color);
}
.portfolio-content{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    grid-gap: 30px;
    margin-top: 80px;
}

.portfolio .portfolio-content .card{
    /* border-radius: 5px; */
    margin-top: 30px;
    background-color: #FFF;
    
}
.portfolio .portfolio-content .card img{
    max-width: 100%;
    max-height: 100%;
    background-color: #FFF;
}
.portfolio .portfolio-content .card .info{
    padding:20px;
}
.portfolio .portfolio-content .card h3{
    margin: 0;
}
.portfolio .portfolio-content .card .info p{
    color:  #777;
    line-height: 1.6;
    margin-bottom: 0;
}
/* End portfolio */

/* Start about */
.about{
    padding-top:var(--section-padding) ;
    padding-bottom:calc(var(--section-padding) + 60px) ; 
}
.about .about-content{
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
@media (max-width:991px){
    .about .about-content{
            flex-direction: column;
            text-align: center;
    }
}
.about .about-content .image{
    position: relative;
    width: 384px;
    height: 384px;
}
@media (max-width:991px){
    .about .about-content .image{
        margin: 0 auto 60px;
        /* width: 100%; */
        /* display: none; */
    }
}

@media (max-width:797px){
    .about .about-content .image{
        /* display: none; */
        max-width: 100%;
        margin-bottom: 0;
    }
}
.about .about-content .image::before{
    content: "";
    position: absolute;
    background-color: #ebeced;
    width: 100px;
    height: calc(100% + 80px);
    top:-40px;
    left:-20px;
    z-index: -1;
}
.about .about-content .image::after{
    content: "";
    top: -40px;
    position: absolute;
    width: 120px;
    height: 300px;
    border-left: 60px solid var(--main-color);
    border-bottom: 80px solid var(--main-color);
    z-index: -1;
    right: -150px;
}
@media (max-width:991px){
    .about .about-content .image::before{
        margin: 0;
        padding: 0;
        position: absolute;
        background-color: var(--secondary-color);
        width: 194px;
        height: 194px;
        left: 0;
        top: -20px;
    }
    .about .about-content .image::after{
        /* position: absolute; */
        border: none;
        background-color: none;
        border: 1px solid var(--main-color);
        width: 194px;
        height: 194px;
        right: 0;
        top: 44%;
        /* z-index: 100; */

    }
}
@media (max-width:415px){
    .about .about-content .image::after{
        /* display: none; */
    }
}
.about .about-content .image img{
    max-width: 90%;
}
/* @media (max-width:797px) {
    .about .about-content .image img::before{
        position: absolute;
        display: none;
        content: "";
        height: 100%;
        width: 100%;
        background-color: red;
        right: -20px;
        top: -20px;
        z-index: 100;
    }
} */
.about .about-content .text{
    flex-basis: calc(100% - 600px);
}
.about .about-content .text :first-of-type{
    font-weight: bold;
    line-height: 2;
    margin-bottom: 50px;

}
.about .about-content .text hr{
    width: 50%;
    display: inline-block;
    border-color: var(--main-color);

}

.about .about-content .text :last-of-type{
    line-height: 2;
    color: #777;
    /* Re-view Second Lesson about about-section */
}
/* End about */

/* Start contact */
.contact{
    padding-top:var(--section-padding) ;
    padding-bottom:var(--section-padding) ; 
    background-color:var(--section-color);
}
.info{
    padding-top:var(--section-padding) ;
    padding-bottom:var(--section-padding) ;
    text-align: center;
}
.contact .info .label{
    font-size: 40px;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -2px;
    margin-bottom: 15px;
}

.contact .info .link{
    display: block;
    font-size: 35px;
    font-weight: 800;
    color:var(--main-color);
    text-decoration: none;
}

.contact .info .social{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    font-size: 16px;
}
.contact .info .social i{
    margin-left: 10px;
    color: var(--secondary-color);
    transition: .3s;
    transition-timing-function: ease-in-out;
}
.contact .info .social i.fa-youtube:hover{
    color: #f00;
}
.contact .info .social i.fa-facebook-f:hover{
    color: #00f;
}
.contact .info .social i.fa-twitter:hover{
    color: #3ea8ff;
}
@media (max-width:767px) {
    
.contact .info .label,
.contact .info .link{
    font-size: 25px;
    }
}
/* End contact */


/* Start footer */
.footer{
    background-color: var(--secondary-color);
    color:#FFF;
    padding: 30px 10px;
    font-size: 15px;
    text-align: center;
}
.footer a{
    font-weight: bold;
    color: var(--main-color);
    text-decoration: none;
    background-color: var(--section-color);
    border-radius: 3px;
    padding: 1px 5px;
    transition: .3s;
    transition-timing-function: ease-in-out;
}

.footer a:hover{
    color: var(--section-color);
    background-color: var(--main-color);
}
/* End footer */