body {
    position: relative;
    margin: 0;
    font-family: "Raleway",Arial,san-serif;
}

    body::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.2;
        z-index: -1;
        background: url('../img/body_bg1.jpg') repeat;
        background-size: 200px;
    }

header {
    position: relative;
    /*  height: calc(100vh - 150px);*/
    height: 100vh;
    width: 100%;
    overflow: hidden;
    text-align: center;
/*    background: url('../img/bg.jpg');
    background-size: cover;
    background-position: bottom;*/
}

header video{
    width: 100%;
}

    header .logo {
        font-size: 120px;
        font-weight: 600;
        position: absolute;
        width: 100%;
        text-align: center;
        top: calc(50% - 60px);
        font-family: "Playwrite HR", cursive;
        color: #333;
    }

    header img {
        position: absolute;
        top: calc(50% - 100px);
        width: 500px;
        left: calc(50% - 250px);
    }

    header .sub_logo {
        font-family: "Playwrite HR", cursive;
        font-size: 35px;
        color: #222;
        position: absolute;
        width: 100%;
        text-align: center;
        top: calc(50% + 120px);
        opacity: 0;
        color: #999;
        text-underline-offset: 10px;
        text-decoration: underline;
    }

.services_menu {
    display: flex;
    position: sticky;
    top: 0;
    padding: 40px 0;
    padding-top: 20px;
    background: #fff;
    padding-bottom: 60px;
    padding-bottom: 60px;
    z-index: 10;
}

    .services_menu::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.2;
        z-index: -1;
        background: url('../img/body_bg1.jpg') repeat;
        background-size: 200px;
    }

.category {
    flex: 1 0 0;
    align-items: baseline;
    display: flex;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

    .category:hover > a {
        color: #000;
        font-weight: 500; /*not working with the current font*/
    }

    .category .btn_wrapper {
        position: relative;
        overflow: hidden;
        border: 1px solid #ececec;
        border-radius: 50%;
        padding: 30px;
        /* background: url('../img/services_menu/bg5.svg') center no-repeat;
  background-size: contain;
  background-blend-mode: lighten; */
        box-shadow: 0px 1px 1px;
        background: #fff;
        margin-top: 10px;
    }

    .category:hover > .btn_wrapper, .category.active > .btn_wrapper {
        box-shadow: 0px 4px 19px -6px;
        transition: all 0.5s;
        padding: 40px;
        margin-top: 0;
    }

    .category img {
        height: 50px;
    }

        .category img.reflection {
            display: none;
            position: absolute;
            opacity: 0.2;
            transform: translate(80%, 55px) rotateX(180deg);
            left: 0;
        }

    .category a {
        text-decoration: none;
        color: #3b3a3a;
    }

    .category.active a, .category:hover a {
        font-weight: 600;
    }

.wayWorkingParagraph {
    position: absolute;
    bottom: -40px;
    font-size: 18px;
}

.services {
    display: flex;
    overflow: hidden;
    flex-wrap: wrap;
    display: none;
    animation-duration: 1s;
    animation-name: slidein;
    overflow: hidden;
}

    .services.coding {
        display: flex;
    }

    .services .service {
        position: relative;
        width: 25%;
        padding: 40px;
        border-right: 1px solid #ccc;
        float: left;
        box-sizing: border-box;
        border-bottom: 1px solid #ccc;
        overflow: hidden;
        cursor: initial !important;
    }

    .services .service:hover > .overlay{
        bottom: 0;
    }

    .services .service .overlay {
        display: flex;
        position: absolute;
        height: 100px;
        width: 100%;
        background-color: rgba(255,255,255,0.9);
        justify-content: center;
        align-items: center;
        bottom: -100PX;
        left: 0;
        transition: all 1s;
        cursor: auto;
    }

    
    .services .service .overlay button{
        border: 2px solid #06b000;
        border-radius: 10px;
        padding: 7px 30px;
        font-size: 21px;
        font-weight: 600;
        font-family: 'Tektur', cursive;
        background-color: #0ecd07;
        color: #fff;
        cursor: pointer;
        box-shadow: 1px 10px 19px;
        transition: all 0.5s;
    }

    .services .service .overlay button:hover{
        background-color: #06b000;
    }
        .services .service:hover {
            background-color: #fff;
            cursor: pointer;
            transition: background 0.2s linear;
        }

        .services .service p {
            padding-right: 20px;
        }

        .services .service h2 {
            display: flex;
            align-items: center;
            font-size: 21px;
        }

            .services .service h2 img, .services .service h2 video {
                width: 60px;
                margin-right: 40px;
            }

            .services .service h2 video{
                filter: grayscale(1);
            }

            .services .service:hover h2 video{
                filter: none;
            }

.aboutWrapper {
    display: flex;
    position: relative;
    overflow: hidden;
    background: #0d0a10;
    color: #fff;
    align-items: center;
    border-top: 1px solid #fff;
}

    .aboutWrapper img {
        height: 100%;
        min-width: 50%;
        position: absolute;
        top: 0;
        right: 50%;
    }

.about_img {
    width: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.about {
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px 60px;
}

    .about h2 {
        text-align: center;
        text-transform: uppercase;
        font-size: 30px;
        margin: 40px 0;
    }

    .about p {
        margin-bottom: 40px;
    }

.reviews {
    display: flex;
    overflow: hidden;
    flex-wrap: wrap;
    animation-duration: 1s;
    animation-name: slidein;
    overflow: hidden;
    margin-top: 50px;
}

.review {
    position: relative;
    width: 25%;
    padding: 40px;
    border-right: 1px solid #ccc;
    float: left;
    box-sizing: border-box;
    border-bottom: 1px solid #ccc;
    padding-bottom: 60px;
}

    .review:hover {
        background-color: #fff;
        transition: background 0.2s linear;
    }

    .review h3{
        font-size: 25px;
    }

    .review .text {
        padding-bottom: 80px;
    }

        .review .text::before {
            content: "";
            display: inline-flex;
            height: 20px;
            margin-right: 10px;
            width: 30px;
            transform: rotateY(180deg);
            background: url('../img/quote.svg');
            background-size: 30px 20px;
        }

        .review .text::after {
            position: absolute;
            content: "";
            display: flex;
            height: 20px;
            display: inline-flex;
            width: 30px;
            margin-left: 10px;
            background: url('../img/quote.svg');
            background-size: 30px 20px;
        }

    .review .rating {
        position: absolute;
        bottom: 20px;
        right: 40px;
    }

.rating p {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 600;
    text-align: right;
}

.review img {
    width: 30px;
}

.getAQuote {
    position: relative;
    height: 200px;
    overflow: hidden;
    font-family: 'Tektur', cursive;
    background: #0e1215;
    cursor: pointer;
    border-top: 1px solid #fff;
}

.getAQuote:hover {
    opacity: 0.9;
}

.getAQuote img {
    width: 50%;
}

.getAQuote p {
    position: absolute;
    font-size: 40px;
    top: 90px;
    text-align: center;
    width: 100%;
    color: #fff;
    margin: 0;
}

.services_menu .mobile_background {
    display: none;
}

.portfolio{
    padding: 40px 0;
    display: flex;
    position: relative;
    background: #000;
}

h2.sectionTitle{
    display: block;
    margin-bottom: 0;
    margin-top: 50px;
    text-align: center;
    text-transform: uppercase;
    font-size: 30px;
    color: #000;
}


h2.sectionTitle.portfolio{
    margin-top: 0;
    padding-top: 50px;
    background: #000;
    color: #fff;
}

.portfolio .project {
    display: flex;
    width: 100%;
    padding-left: 80px;
}

.portfolio .project.hidden{
    display: none;
}

.portfolio .arrow {
    background: url('../img/right_arrow.svg') center no-repeat;
    background-position-x: center;
    background-size: auto;
    background-size: 50px;
    justify-content: center;
    display: flex;
    align-items: center;
    width: 75px;
    padding-right: 40px;
    background-position-x: right;
    position: absolute;
    right: 20px;
    height: 100%;
    cursor: pointer;
    top: 0;
    z-index: 10;
}

    .portfolio .arrow.prev {
        left: 20px;
        right: auto;
        padding-left: 40px;
        padding-right: 0;
        background: url('../img/left_arrow.svg') center no-repeat;
        background-size: 50px;
        background-position-x: left;
    }

.portfolio .arrow.hidden{
    display: none;
}
.portfolio .description{
    width: 30%;
    padding: 0 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.portfolio .description h2{
    text-align: center;
    margin-top: 0;
    font-size: 25px;
}
.portfolio .description p{
    max-height: 100%;
    overflow-y: scroll;
}

.monitor {
    display: flex;
    justify-content: center;
    position: relative;
    align-items: end;
    width: 60%;
}

.monitor_wrapper, .smartphone_wrapper{
    position: relative;
}

.smartphone_wrapper {
    height: 200px;
    margin-left: 50px;
}

    .monitor_wrapper img {
        position: relative;
        height: 400px;
        z-index: 10;
    }

    .monitor_wrapper .webpage {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 100%;
        height: calc(100% - 133px);
        width: calc(100% - 20px);
        overflow: scroll;
        overflow-x: hidden;
    }

        .monitor_wrapper .webpage img {
            width: 100%;
            height: auto;
            min-height: 100%;
        }

    .smartphone_wrapper .webpage {
        top: 3px;
        left: 2px;
        width: calc(100% - 5px);
        height: calc(100% - 6px);
        border-radius: 12px;
        box-sizing: border-box;
    }


        .smartphone_wrapper img{
            height: 200px;
        }

    .loader {
        width: 48px;
        height: 48px;
        border: 5px solid #FFF;
        border-bottom-color: transparent;
        border-radius: 50%;
        display: inline-block;
        box-sizing: border-box;
        animation: rotation 1s linear infinite;
        position: absolute;
        left: calc(50% - 24px);
        top: calc(50% - 24px);
        z-index: 20;
    }

    .loader.hidden{
        display: none;
    }

    .quoteForm{
        display: flex;
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.9);
        color: #fff;
        justify-content: center;
        align-items: center;
        top: 0;
        left: 0;
        z-index: 40;
        overflow-y: auto;
    }

    .quoteForm .close_button{
        position: absolute;
        right: 40px;
        top: 40px;
        width: 40px;
        cursor: pointer;
    }

    .quoteForm form{
        position: absolute;
        top: 50px;
        width: 800px;
    }

    .quoteForm form.hidden{
        display: none;
    }

    .quoteForm form input, .quoteForm form label {
        display: inline-block;
        width: calc(50% - 20px);
        margin-right: 10px;
        margin-bottom: 20px;
    }

    .quoteForm form input{
        height: 60px;
        box-sizing: border-box;
    }

    .quoteForm form label{
        display: none;
    }

    .quoteForm form h2{
        font-size: 40px;
        margin: 10px auto;
        text-align: center;
    }
    .quoteForm form h3{
        font-size: 20px;
        margin: 20px auto;
        margin-bottom: 30px;
        text-align: center;
    }
    .quoteForm form textarea{
        width: calc(100% - 25px);
        height: 300px;
        box-sizing: border-box;
     }

    .quoteForm button{
        width: calc(100% - 25px);
        border-radius: 10px;
        padding: 15px 20px;
        font-size: 20px;
        float: right;
        margin: 20px;
        margin-right: 25px;
        cursor: pointer;
        background-color: #0ecd07;
        color: #fff;
        border: 2px solid #4f4f4f;
        font-family: 'Tektur', cursive;
        font-size: 25px;
        font-weight: 600;
    }

    .quoteForm button:hover{
        background-color: #06b000;
    }

    .quoteForm.hidden{
        display: none;
    }

    .quoteForm .success.hidden{
        display: none;
    }

footer{
    padding: 50px;
    text-align: center;
    background: #000;
    color: #fff;
    width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
}

footer .contact a{
    text-decoration: none;
    color: #fff;
}

footer .contacts{
    display: inline-flex;
}

footer .contact{
    display: flex;
    margin-right: 50px;
}

footer .contact img{
    height: 50px;
    margin-right: 20px;
}

    @keyframes rotation {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    } 
@media (max-width: 1200px) {
    .category img {
            height: 45px;
        }

        .services .service {
            width: 50%;
            padding: 20px 40px;
        }

        .review {
            width: 50%;
            padding: 20px 40px;
        }

        .services_menu {
            padding: 40px 0;
            padding-top: 20px;
            padding-bottom: 50px;
        }

        header {
            display: flex;
            justify-content: center;
            align-items: center;
        }

            header video {
                width: auto;
            }

            header img {
                position: absolute;
                top: calc(50vh - 57px);
                width: 70%;
                left: 15%;
            }

        .monitor {
            align-items: center;
            flex-direction: column;
        }

        .monitor_wrapper {
            display: flex;
            justify-content: center;
            margin-top: 50px;
        }

        .monitor_wrapper img {
            position: relative;
            width: 80%;
            height: auto;
        }

        .monitor_wrapper .webpage {
            position: absolute;
            top: 5px;
            left: calc(10% + 5px);
            height: 70%;
            width: calc(80% - 10px);
            overflow: scroll;
        }

        .smartphone_wrapper{
            margin-left: 0;
            width: 200px;
            height: auto;
        }

        .smartphone_wrapper img{
            width: 200px;
            height: auto;
        }
        .smartphone_wrapper .webpage {
            top: 6px;
            left: 5px;
            width: calc(100% - 13px);
            height: calc(100% - 12px);
            border-radius: 21px;
        }

        .portfolio{
            padding: 50px 0;
            padding-bottom: 100px;
        }

        .portfolio .arrow {
            z-index: 30;
            height: 50px;
            bottom: 500px;
            background-size: 50px 50px;
            top: auto;
            right: 35px;
        }
        
        .portfolio .arrow.prev {
            left: 35px;
            right: auto;
            background-size: 50px 50px;
        }
        
        .portfolio .project{
            flex-direction: column;
            padding-left: 0;
        }

        .portfolio .description {
            width: 100%;
            box-sizing: border-box;
        }

        .monitor{
            width: 100%;
        }

        footer{
            padding: 0px 50px;
            padding-bottom: 20px;
            box-sizing: border-box;
        }

        footer .contacts{
            flex-direction: column;
        }

        footer .contact{
            margin-top: 40px;
        }
    }

    @media (max-width: 800px) {
        header .logo {
            font-size: 80px;
        }

        .services_wrapper {
            position: relative;
            padding-top: 280px;
        }

        .services_menu {
            flex-wrap: wrap;
            flex-direction: column;
            height: 210px;
            overflow-x: scroll;
            position: absolute;
            width: 100%;
            background: transparent;
        }

            .services_menu::after {
                background: none;
            }

        .category {
            padding: 40px;
        }

            .category img {
                height: 40px;
            }

        .wayWorkingParagraph {
            bottom: -10px;
        }

        .services .service {
            width: 100%;
        }

        .review {
            width: 100%;
        }

        .getAQuote img {
            height: 100%;
            width: 100%;
            object-fit: cover;
            opacity: 0.7;
        }

        .getAQuote p{
            top: 86px;
            font-size: 25px;
        }

        .about_img {
            width: 100%;
            overflow: hidden;
            position: absolute;
        }

        .about {
            z-index: 20;
        }

        .aboutWrapper img {
            height: 100%;
            width: 100%;
            position: absolute;
            top: 0;
            right: 0;
            opacity: 0.2;
        }

        .quoteForm form{
            width: 100%;
            top: 60px;
            padding-left: 20px;
        }

        .quoteForm .close_button{
            right: 20px;
            top: 20px;
        }

        .quoteForm form h2, .quoteForm form h3{
            margin-right: 20px;
        }
    }

    @keyframes slidein {
        from {
            margin-left: 100%;
            width: 100%;
        }

        to {
            margin-left: 0%;
            width: 100%;
        }
    }
