/* BODY */
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: #313434;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
}

html {
    height: 100%;
}

/*page*/




.page {
    margin-top: 20px;
    text-align: center;
}




/* CUSTOM ELEMENTS */

.overflow {
    overflow: hidden !important;
}

.no-margin {
    margin: 0 !important;
}


/* HTML ELEMENTS */

img {
    max-width: 100%;
}


/* CLIENTS */

.clients {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}

.clients h2 {
    font-size: 2vw;
    font-weight: 800;
}

.clients h6 {
    font-size: 18px;
}

/* WORKS */
.works {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 100px 40px;
    padding-bottom: 20px;
    position: relative;
    z-index: 2;
}

.works .works-title h2 {
    font-size: 1.3vw;
    font-weight: 800;
    line-height: 1;
}

.works .works-title p {
    display: block;
    color: #9b9b9b;
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    line-height: 2.2;
}

.works .works-grid {
    width: 100%;
    float: left;
    margin: 0;
    padding: 0;
}


.works .works-grid.two-cols li {
    width: 50%;
}

.works .works-grid li {
    width: 24.33333%;
    float: left;
    margin: 0;
    margin-bottom: 5rem;
    padding: 0 2vw;
    list-style: none;
}

.works .works-grid li figure {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    height: 305px;
}

.works .works-grid li figure * {
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -ms-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
}

.works .works-grid li figure:hover a {
    transform: scale(0.95);
    box-shadow: 5px 20px 50px 5px rgba(153, 153, 153, 0.4);
}

.works .works-grid li figure:hover a img {
    transform: scale(1);
}

.works .works-grid li figure:hover figcaption {
    padding-left: 10px;
}

.works .works-grid li figure:hover figcaption span {
    height: 0;
}

.works .works-grid li figure a {
    float: left;
    overflow: hidden;
}

.works .works-grid li figure a img {
    width: 100%;
    height: 100%;
    float: left;
}

.works .works-grid li figure figcaption {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin-top: 30px;
}

.works .works-grid li figure figcaption span {
    width: 3px;
    height: 50px;
    background: #ff6a20;
    position: absolute;
    left: 20px;
    top: -80%;
}

.works .works-grid li figure figcaption small {
    width: 100%;
    display: block;
    margin-bottom: -5px;
    color: #8f999a;
    font-size: 11px;
}

.works .works-grid li figure figcaption h3 {
    font-size: 2.0rem;
    font-weight: 800;
}


.works .works-grid :nth-child(5) figure {
    margin-top: 20px;
}

.works .works-grid :nth-child(7) figure {
    margin-top: 20px;
}

.works .works-grid :nth-child(6) figure {
    margin-top: 120px;
}

.works .works-grid :nth-child(8) figure {
    margin-top: 120px;
}


@media only screen and (max-width: 1300px), only screen and (max-device-width: 1300px) {
    .works .works-grid li {
        width: 50%;
    }

    .works .works-title p {
        font-size: 16px !important;
    }

    .works .works-grid li figure figcaption small {
        width: 100%;
        display: block;
        margin-bottom: -5px;
        color: #8f999a;
        font-size: 15px;
    }

    .works .works-grid li figure figcaption h3 {
        font-size: 3rem;
        font-weight: 800;
    }

    .works .works-grid li {
        padding: 0 2vw !important;
    }

    .works .works-grid li figure figcaption .btn-ghost {
        margin-top: -25px !important;
    }

    .works .works-grid :nth-of-type(even) {
        margin-top: 43%;
    }

    .works .works-grid :nth-of-type(2) {
        margin-top: 0%;
    }

    .works .works-grid :nth-of-type(3) {
        margin-top: 22%;
    }

    .works .works-grid :nth-of-type(4) {
        margin-top: 40%;
    }

    .works .works-grid :nth-of-type(6) {
        margin-top: 32%;
    }

    .works .works-grid :nth-of-type(8) {
        margin-top: 25%;
    }

    .works .works-grid :nth-of-type(9) {
        margin-top: 6%;
    }

    .page {
        margin-top: 25%;
        float: right;
    }


}


@media only screen and (max-width: 767px), only screen and (max-device-width: 767px) {
    .works {
        padding: 75px 10px;
    }


    .works .works-grid li figure figcaption span {
        width: 3px !important;
        height: 50px;
        background: #ff6a20;
        position: absolute;
        left: 20px;
        top: -60%;
    }

    .works .works-grid li figure figcaption small {
        width: 100%;
        display: block;
        margin-bottom: 10px;
        color: #8f999a;
        font-size: 15px;
    }

    .works .works-grid li figure figcaption h3 {
        font-size: 3rem;
        font-weight: 800;
    }

    .works .works-grid li {
        padding: 0 2vw !important;
    }

    .works .works-grid li figure figcaption .btn-ghost {
        margin-top: -25px !important;
    }

    .works .works-grid :nth-of-type(odd) {
        width: 100%;
    }

    .works .works-grid :nth-of-type(even) {
        width: 100%;
    }

    .works .works-grid :nth-of-type(1) {
        margin-top: 0%;
    }

    .works .works-grid :nth-of-type(2) {
        margin-top: 38%;
    }

    .works .works-grid :nth-of-type(3) {
        margin-top: 80%;
    }

    .works .works-grid :nth-of-type(4) {
        margin-top: 45%;
    }

    .works .works-grid :nth-of-type(5) {
        margin-top: 80%;
    }

    .works .works-grid :nth-of-type(6) {
        margin-top: 55%;
    }

    .works .works-grid :nth-of-type(7) {
        margin-top: 40%;
    }

    .works .works-grid :nth-of-type(8) {
        margin-top: 55%;
    }

    .works .works-grid :nth-of-type(9) {
        margin-top: 50%;
    }

    .works .works-grid :nth-of-type(9) {
        margin-top: 35%;
    }

    .works .works-grid :nth-of-type(10) {
        margin-top: 70%;
    }

    .works .works-grid :nth-of-type(11) {
        margin-top: 70%;
    }

    .works .works-grid :nth-of-type(12) {
        margin-top: 70%;
    }

    .page {
        margin-top: 65%;
        float: right;
    }

}




