:root{
    --green:#3289d4;
}

*{
    margin:0; padding:0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none; border:none;
    text-transform: capitalize;
    transition: all .3s cubic-bezier(.38,1.15,.7,1.12);
    font-weight: normal;
    font-family: Lemonada;
}

*::selection{
    background:var(--green);
    color:#fff;
}
@font-face {
  font-family: Lemonada;
  src: url(font/Lemonada-VariableFont_wght.ttf);
}


html{
    font-size: 62.5%;
    overflow-x: hidden;
}

html::-webkit-scrollbar{
    width:1.3rem;
}

html::-webkit-scrollbar-track{
    background:#3333;
}

html::-webkit-scrollbar-thumb{
    background:var(--green);
}

section{
    min-height: 100vh;
    padding:0 7%;
    padding-top: 7.5rem;
}

.btn{
    display: inline-block;
    border:.2rem solid var(--green);
    font-size: 1.7rem;
    color: var(--green);
    background:rgba(0,255,0,.1);
    margin-top: 1rem;
    padding:.7rem 3rem;
}

.btn:hover{
    background:var(--green);
    color:#fff;
    border-radius: 5rem;
}

.heading{
    font-size: 3.5rem;
    color:#666;
    text-align: center;
    text-transform: uppercase;
    padding:1rem;
}

header{
    position: fixed;
    top:0; left: 0;
    z-index: 1000;
    width:100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:1rem 7%;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}

header .logo{
    font-size: 2.5rem;
    color:#666;
}

header .logo span{
    color:var(--green);
}

header .navbar a{
    font-size: 1.7rem;
    margin-left: 2rem;
    color:#666;
}

header .navbar a:hover{
    color:var(--green);
}

#menu{
    font-size: 2.5rem;
    color:#666;
    border:.1rem solid rgba(0,0,0,.1);
    border-radius: .5rem;
    padding:1rem 1.5rem;
    cursor: pointer;
    display: none;
}


.project .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.project .box-container .box{
    overflow: hidden;
    border-radius: .5rem;
    width:33rem;
    height:39rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.3);
    position: relative;
    margin:2rem;
}

.project .box-container .box img{
    height: 100%;
    width:100%;
    object-fit: cover;
}

.project .box-container .box .title{
    position: absolute;
    bottom:0; left:0;
    width:100%;
    font-size: 3.5rem;
    color:#fff;
    background:linear-gradient(transparent, rgba(0,0,0,.9));
    padding:2rem;
}

.project .box-container .box:hover .title{
    bottom: -100%;
}

.project .box-container .box .info{
    background:#fff;
    border-radius: .5rem;
    padding:1.5rem;
    position: absolute;
    bottom:-100%; left:50%;
    transform:translateX(-50%);
    width:90%;
}

.project .box-container .box:hover .info{
    bottom:2rem;
    transition-delay: .3s;
    text-align: center;
}

.project .box-container .box .info h3{
    color:var(--green);
    font-size: 2.1rem;
    text-align: center;
}

.project .box-container .box .info p{
    color:#999;
    font-size: 1.7rem;
    padding:1rem 0;
    text-align: center;
}

.project .box-container .box .info a{
    color:#666;
    font-size: 1.7rem;
    text-align: center;
}

.project .box-container .box .info a:hover{
    color:var(--green);
}


.testimonial .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial .box-container .box{
    text-align: center;
    margin:1rem;
    width:27rem;
}

.testimonial .box-container .box .comment{
    border:.1rem solid var(--green);
    padding:1rem;
    margin-bottom: 3.5rem;
    position: relative;
    border-radius: .5rem;
    background:#f9f9f9;
}

.testimonial .box-container .box .comment p{
    color:var(--green);
    font-size: 1.3rem;
    padding:1rem 0;
}

.testimonial .box-container .box .comment i{
    color:var(--green);
    font-size: 3rem;
    padding:1rem;
}

.testimonial .box-container .box .comment::before{
    content:'';
    position: absolute;
    bottom:-1.5rem; left:50%;
    transform:translateX(-50%) rotate(45deg);
    height:3rem;
    width: 3em;
    background:var(--green);
    z-index: -1;
}

.testimonial .box-container .box .user {
    margin:2rem 0;
}

.testimonial .box-container .box .user img{
    height:10rem;
    width:10rem;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial .box-container .box .user h3{
    font-size: 1.5rem;
    color:#999;
    padding:1rem 0;
}

.testimonial .box-container .box .user .stars i{
    font-size: 2rem;
    color:gold;
}


.footer{
    background:url(../images/footer-bg.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.footer .box-container{
    display: flex;
    flex-wrap: wrap;
}

.footer .box-container .box{
    flex:1 1 25rem;
    margin:2rem;
}

.footer .box-container .box h3{
    font-size: 2.5rem;
    color:var(--green);
    padding:1rem 0;
}

.footer .box-container .box p{
    font-size: 1.5rem;
    color:#666;
    padding:1rem 0;
}

.footer .box-container .box p i{
    padding-right: .5rem;
    color:var(--green);
}

.footer .box-container .box a{
    font-size: 1.5rem;
    color:#000;
    padding:1rem 0;
    display: block;
}

.footer a:hover{
    text-decoration: underline;
}

.footer .credit{
    padding:2rem 1rem;
    font-size: 2rem;
    color:#666;
    border-top: .1rem solid rgba(0,0,0,.1);
    text-align: center;
}

.footer .credit a{
    color:var(--green);
}















/* media queries  */

@media (max-width:991px){

    html{
        font-size: 55%;
    }

}

@media (max-width:768px){

    #menu{
        display: block;
    }

    header .navbar{
        position: absolute;
        top:100%; left: 0;
        width:100%;
        background:#fff;
        border-top: .1rem solid rgba(0,0,0,.1);
        padding: 1rem;
        transform-origin: top;
        transform:scaleY(0);
        opacity: 0;
    }

    header .navbar.nav-toggle{
        transform:scaleY(1);
        opacity: 1;
    }

    header .navbar a{
        display: block;
        margin: 2rem 0;
        padding:0 1rem;
        font-size: 2.2rem;
        border-left: .2rem solid var(--green);
    }

    .home{
        background:linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)), url(../images/home-bg.jpg) no-repeat;
        background-size: cover;
        background-position: right;
    }

    .home .content{
        text-align: center;
        width:auto;
    }

    .home .content h3{
        font-size: 4rem;
    }

    section{
        padding:0 3%;
        padding-top: 8rem;
    }

}

@media (max-width:400px){

    html{
        font-size: 50%;
    }

    .project .box-container .box{
        width: 100%;
    }

    .team .box-container .box{
        width:100%;
    }

    .testimonial .box-container .box{
        width:100%;
    }

}
