/* main rules */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    transition: all 0.2s linear;
}

body, html {
    height: 100%;
    width: 100%;
    font-family: Montserrat, Arial;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    letter-spacing: 1.1px;
}

input {
    background: transparent;
    border: none;
	border-radius: 0;
    border-bottom: 2px solid #FFF;
    color: #FFF;
    padding: 15px 10px;
    width: 100%;
    font-size: 18px;
    font-family: Montserrat, Arial;
    font-style: normal;
    font-weight: normal;
    outline: none;
}

*::-webkit-input-placeholder {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #FFFFFF;
    opacity: 0.5;
}

*::-ms-input-placeholder {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #FFFFFF;
    opacity: 0.5;
}
*::-moz-placeholder {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #FFFFFF;
    opacity: 0.5;
}

*::placeholder {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #FFFFFF;
    opacity: 0.5;
}


button {
    padding: 15px 30px;
    border: 3px solid #FFF;
    transition: all 0.2s linear;
    background-color: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
}

button:hover {
    background-color: #fff;
    color: #2E446A;
}

h1 {
    font-size: 16px;
    line-height: 20px;
    font-weight: normal;
}

h2 {
    font-size: 25px;
    line-height: 30px;
    letter-spacing: 0.05em;
    margin-bottom: 60px;
    font-weight: normal;
}

h2 span {
    font-size: 30px;
    line-height: 37px;
    font-weight: 600;
}

h3 {
    font-weight: 500;
    font-size: 22px;
    line-height: 27px;
    margin-top: 100px;
    margin-bottom: 60px;
}

@media (max-width:415px ) {
    body, html {
        font-size: 16px;
    }

    h1 {
        font-size: 16px;
    }

    h2 {
        font-size: 17px;
        line-height: 21px;
        width: 65%;
    }

    h2 span {
        font-size: 26px;
        line-height: 32px;
    }

    h3 {
        font-weight: 500;
        font-size: 17px;
        line-height: 21px;
    }

    button,
    button:hover {
        background-color: #fff;
        color: #2E446A;
    }

}

/* container rules */

.clear {
    clear: both;
}

.text-center {
    text-align: center;
}

.left-block {
    float: left;
}

.right-block {
    float: right;
}

ul li {
    list-style-type: none;
    font-size: 18px;
}

ul.horizontal-list li {
    display: inline-block;
    line-height: 40px;
    padding: 0 15px;
}

ul.horizontal-list:after {
    content: ' ';
    display: block;
    width: 100%;
    clear: both;
}

.plate-list li {
    text-align: center;
    float: left;
}

.plate-list:after {
    content: ' ';
    display: block;
    width: 100%;
    clear: both;
}

.vertical-line {
    border: none;
    border-left: 3px solid #30446B;
    padding-left: 20px;
    margin-bottom: 100px;
}

.vertical-line ul li {
    padding: 9px 0;
    font-size: 22px;
    line-height: 27px;
}

.dark-container {
    background-color: #2E446A;
    color: #fff;
}

.dark-container .vertical-line {
    border-color: #fff;
}

.page-container {
    overflow: hidden;
}

.inner-container {
    margin: auto;
    padding: 140px 0 140px 0;
    position: relative;
    max-width: 1200px;
}

@media (max-width:1440px) {
    .inner-container {
        width: 87%;
        max-width: initial;
    }
}

.text-description {
    font-size: 16px;
    line-height: 26px;
    margin-top: 100px;
}

@media (max-width: 415px ) {
    .inner-container {
        padding: 60px 0 60px 0;
    }

    .text-description {
        font-size: 13px;
        line-height: 17px;
        margin-top: 80px;
    }

    .vertical-line ul li {
        font-size: 17px;
        line-height: 16px;
    }
}


    /* header */
	
header {
    position: fixed;
    max-width: inherit;
    width: 100%;
    z-index: 1;
}

header.dark-container {
	background-color: rgba( 48, 68, 107, 0.95 );
}

/*header.dark-container:not(.top-scroll) {
	backdrop-filter: blur(5px);
}*/

header.top-scroll {
	background-color: rgba( 0, 0, 0, 0 );
}

header .inner-container {
    padding: 15px 0;
}

.logo:before {
    content: ' ';
    position: relative;
    display: inline-block;
    margin-right: 10px;
    height: 42px;
    width: 37px;
    vertical-align: middle;
    line-height: 42px;
    background: url(/public/img/logo.svg) no-repeat center;
    background-size: contain;
}

.logo h1 {
    display: inline-block;
    line-height: 42px;
}

.menu .horizontal-list li {
    padding: 0 1vw;
}

.menu .horizontal-list li:nth-child(2) {
    display: none;
}

.menu li a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    border-bottom: 2px solid transparent;
}

.menu li a:hover {
    border-color: #fff;
}

.menu li a.active {
    border-color: #fff;
    font-weight: 500;
}

.menu-button,
.menu-button:hover {
    height: 32px;
    width: 40px;
    margin: 5px 0;
    padding: 0;
    display: none;
    border: none;
    background-color: transparent;
    background-image: url(/public/img/menu.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
    overflow:hidden;
    cursor: pointer;
}

.back-button,
.back-button:hover {
    height: 32px;
    width: 40px;
    margin: 5px 0 5px -40px;
    padding: 0;
    display: none;
    transform: scaleX(0);
    border: none;
    background-color: transparent;
    background-image: url(/public/img/back.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
    cursor: pointer;
}

@media (max-width:1200px) {
    header.dark-container {
        background-color: rgba( 48, 68, 107, 0.8 );		
    }
	
    header.top-scroll {
        background-color: rgba( 0, 0, 0, 0 );		
    }

    header.active-menu {
        height: 100%;
        background: rgba(48, 68, 107, 0.7);
    }

    header.active-menu + .page-content {
        filter: blur(7px);
        -webkit-filter: blur(7px);
        -ms-filter: blur(7px);
    }


    .menu-button,
    .menu-button:hover {
        display: inline-block;
    }

    .menu ul {
        opacity: 0;
        position: fixed;
        width: 100%;
        text-align: center;
        z-index: 0;
        top: 0;
        left: 0;
        transform: translateY(-100vh);
    }

    header.active-menu .menu ul {
        opacity: 1;
        transform: translateY(-50%);
        top: 50%;
    }

    .menu .horizontal-list li:nth-child(2),
    .menu .horizontal-list li:nth-child(5),
    .menu .horizontal-list li {
        display: block;
        margin-top: 10px;
    }

    .menu .horizontal-list li a {
        font-weight: 500;
        font-size: 20px;
        line-height: 24px;
        padding: 10px;
        display: inline-block;
    }


    header .back-button,
    header .back-button:hover {
        display: inline-block;
        margin-left: -40px;
    }

    header  .back-button.active,
    header  .back-button.active:hover {
        transform: scaleX(1);
        margin-left: 0;
    }

    header  .back-button.active + .menu-button {
        margin-left: -40px;
        transform:scaleX(0);
    }

    header .left-block {
        float: right;
    }

    header .right-block {
        float: left;
    }

    header .logo:before{ display: none;}
    header .logo:after{
        content: ' ';
        position: relative;
        display: inline-block;
        margin-left: 10px;
        height: 42px;
        width: 37px;
        vertical-align: middle;
        line-height: 42px;
        background: url(/public/img/logo.svg) no-repeat center;
        background-size: contain;
    }

    @media (max-width: 415px) {
        header .logo:after {
            height: 32px;
            width: 28px;
            line-height: 32px;
        }

        header .menu-button,
        header .menu-button:hover {
            height: 26px;
            width: 38px;
            margin: 8px 0;
        }

        header .back-button,
        header .back-button:hover {
            height: 26px;
            width: 38px;
            margin: 8px 0 8px -38px;
        }

        header .back-button.active + .menu-button {
            margin-left: -38px;
        }
    }

}


/* main */

/* web develop container */

.web-develop-container {
    padding-top: 60px;
    position: relative;
}

.web-develop-container h2 {
    line-height: 37px;
}

.web-develop-container h2 span {
    font-weight: 500;
    font-size: 35px;
    line-height: 43px;
}

.web-develop-container h2 span.little-words {
    display: none;
}

.web-develop-container .back-image {
    background-image: url(/public/img/backimg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: soft-light;
    filter: opacity(0.2);
    -webkit-filter: opacity(0.2);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.web-develop-container .vertical-line {
    margin-top: 40px;
    margin-bottom: 60px;
}

@media (max-width: 415px) {
    .web-develop-container h2 {
        width: initial;
    }

    .web-develop-container h2 span {
        font-weight: 500;
        font-size: 35px;
        line-height: 43px;
    }

    .web-develop-container h2 span.big-words {
        display: none;
    }

    .web-develop-container h2 span.little-words {
        display: inline;
    }

    .web-develop-container .text-description {
        margin-top: 60px;
    }
}



/* our skills container */

.our-skills-container {
    position: relative;
}

.our-skills-container h2 {
    width: initial;
}
.our-skills-container h2 span {
    font-size: 30px;
    line-height: 37px;
    font-weight: 600;
}

.our-skills-container .back-image.industry {
    top: 150px;
    left: 0;
    width: 242px;
    height: 336px;
    position: absolute;
    background: url(/public/img/industry.svg) no-repeat left center;
    background-size: contain;
}

.our-skills-container .back-image.test {
    bottom: 90px;
    right: 0;
    width: 250px;
    height: 353px;
    position: absolute;
    background: url(/public/img/test.svg) no-repeat right center;
    background-size: contain;
}

.our-skills-container .plate-list {
    margin: -40px;
    display: inline-block;
    max-width: 800px;
}

.our-skills-container .plate-list li {
    margin: 40px;
    width: 305px;
}

.our-skills-container .plate-list li h3 {
    margin: 30px 0;
    font-weight: 500;
    font-size: 22px;
    line-height: 27px;
}

.our-skills-container .plate-list li:before {
    content: ' ';
    position: relative;
    display: inline-block;
    height: 82px;
    width: 82px;
}

/* Проектирование систем */
.our-skills-container .plate-list li.system-design:before {
	background: url(/public/img/system-design.svg) no-repeat center;
	background-size: 82px;
}

/* Проектирование интерфейсов */
.our-skills-container .plate-list li.ui-design:before {
	background: url(/public/img/ui-design.svg) no-repeat center;
	background-size: 82px;
}

/* Разработка web-сервисов и ПО */
.our-skills-container .plate-list li.web-dev:before {
	background: url(/public/img/web-services.svg) no-repeat center;
	background-size: 82px;
}

/* Сопровождение и поддержка */
.our-skills-container .plate-list li.support:before {
	background: url(/public/img/support.svg) no-repeat center;
	background-size: 82px;
}

@media (max-width: 1200px) {

    .our-skills-container .back-image.industry {
        height: 20vw;
    }

    .our-skills-container .back-image.test {
        height: 13vw;
    }


    @media ( max-width: 850px )
    {
        .our-skills-container .back-image.industry {
        }

        .our-skills-container .back-image.test {
        }


        .our-skills-container .plate-list {
            max-width: initial;
        }

        .our-skills-container .plate-list li {
            max-width: 305px;
            width: 80%;
            float: none;
            margin-left: auto;
            margin-right: auto;
        }
    }

    @media ( max-width: 415px) {
        .our-skills-container .back-image.industry {
            top: 70px;
            height: 125px;
        }

        .our-skills-container .back-image.test {
            height: 130px;
            width: 85px;
			bottom: 120px;
        }

        .our-skills-container h2 span {
            font-size: 20px;
        }

        .our-skills-container .plate-list {
            margin: -35px auto;
        }

        .our-skills-container .plate-list li {
            margin: 35px auto;
        }

        .our-skills-container .plate-list li h3 {
            font-weight: 500;
            font-size: 17px;
            line-height: 21px;
        }

        .our-skills-container .plate-list li p {
            font-size: 14px;
            line-height: 17px;
        }
    }
}



/* mobile app container */

.mobile-container .vertical-line {
    margin-top: 120px;
    margin-bottom: 100px;
}

.mobile-container .inner-container {
    background: url(/public/img/mobile-app.svg) no-repeat right 200px;
    background-size: 300px;
}

@media (max-width: 1200px) {
    .mobile-container .inner-container {
        background-position: right 140px;
        background-size: 115px;
    }

}

@media (max-width: 415px) {
    .mobile-container .inner-container {
        background-position: right 115px;
    }
}





/* seo container */

.seo-container .vertical-line {
    margin-top: 40px;
    margin-bottom: 100px;
}

.seo-container .inner-container {
    background: url( /public/img/target.svg ) no-repeat right 220px;
    background-size: 300px;
}

.seo-container p {
    font-size: 18px;
    line-height: 22px;
    color: #000;
    margin: 10px 0;
}

.seo-container p:nth-child(4) {
    margin-top: 100px;
    font-weight: 500;
    font-size: 25px;
    line-height: 30px;
}

@media (max-width: 1250px) {
    .seo-container .inner-container {
        background-position: right 140px;
        background-size: 120px;
    }
}

@media ( max-width: 415px ) {
    .seo-container .inner-container {
        background-position: right 75px;
    }

    .seo-container h2 {
        margin-bottom: 110px;
    }

    .seo-container p {
        font-size: 15px;
        line-height: 18px;
    }

    .seo-container p:nth-child(4) {
        font-size: 20px;
        line-height: 24px;
    }

}







/* competences container */

.competences-container h2 {
    width: initial;
}

.competences-container .horizontal-list {
    margin: -5px;
}

.competences-container .horizontal-list li {
    margin: 5px;
    float: left;
    padding: 0;
}

.competences-container .horizontal-list li img {
    width: 18vw;
    max-width: 100px;
    min-width: 70px;
    display: block;
}

@media (max-width: 415px) {
    .competences-container h2 {
        margin-bottom: 60px;
    }

    .competences-container h3 {
        margin: 60px 0 40px 0;
    }
}





/* clients container */

.client-container h2 {
    width: initial;
}

.client-container ul {
    display: flex;
    flex-flow: row;
    width: 100%;
    overflow: hidden;
    flex-wrap: nowrap;
}

.client-container ul li {
    width: 45%;
    margin-left: -45%;
    margin-right: 0;
    overflow: hidden;
    transform: scaleX(0);
    transform-origin: left;
}

.client-container ul li.visible {
    margin-left: 0;
    margin-right: 10%;
    transform: scaleX(1);
}

.client-container ul li.visible + li {
    margin-left: 0;
    transform: scaleX(1);
}

.client-container ul li h3 {
    margin: 0;
}

.client-container ul li .text-description {
    font-size: 18px;
    line-height: 22px;
    margin: 40px 0;
}

.client-container ul li img {
    display: block;
    width: 100%;
    margin: auto;
}

.client-container .horizontal-slider {
    position: relative;
    padding: 0 80px;
}

.client-container .horizontal-slider .slide-left {
    background: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='50'%3E%3Cpath d='M8,1 l-6,24 l6,24' stroke-width='3' stroke='%2330446B' fill='none' /%3E%3C/svg%3E" ) no-repeat left center;
    background-size: 10px 50px;
    border: none;
    position: absolute;
    height: 100%;
    width: 80px;
    padding: 0;
    top: 0;
    left: 0;
    outline: 0;
}

.client-container .horizontal-slider .slide-right {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='50'%3E%3Cpath d='M2,1 l6,24 l-6,24' stroke-width='3' stroke='%2330446B' fill='none' /%3E%3C/svg%3E") no-repeat right center;
    background-size: 10px 50px;
    border: none;
    position: absolute;
    height: 100%;
    width: 80px;
    padding: 0;
    top: 0;
    right: 0;
    outline: 0;
}

.client-container .horizontal-slider .slide-left:hover,
.client-container .horizontal-slider .slide-right:hover {
    fill: darkgreen;
}

@media ( max-width: 850px ) {
    .client-container ul li {
        width: 100%;
        margin-left: -100%;
    }

    .client-container ul li.visible {
        margin: 0;
        transform: scaleX(1);
    }

    .client-container ul li.visible + li {
        margin-left: -100%;
        transform: scaleX(0);
    }

    @media (max-width: 415px) {
        .client-container .horizontal-slider {
            padding: 0 40px;
        }

        .client-container .horizontal-slider .slide-right,
        .client-container .horizontal-slider .slide-left {
            width: 20px;
            background-size: 10px 20px;
        }

        .client-container ul li .text-description {
            font-size: 14px;
            line-height: 17px;
        }
    }
}





/* feedback container */

.feedback-container h2 {
    width: initial;
    margin-bottom: 30px;
}

.feedback-container p {
    font-size: 18px;
    line-height: 22px;
}

.feedback-container .feedback-button {
    margin-top: 50px;
}

@media (max-width: 415px) {
    .feedback-container p {
        font-size: 12px;
        line-height: 15px;
    }

    .feedback-container .feedback-button,
    .feedback-container .feedback-button:hover {
        margin-top: 25px;
        background: #FFF;
        border: 1px solid #FFF;
        color: #30446B;
    }
}



/* contacts container */

.contacts-container #map-block {
    height: 300px;
    width: 600px;
}

.contacts-container .left-block {
    width: 40%;
}

.contacts-container .phone a[href^="tel:"],
.contacts-container .email a[href^="mailto:"] {
    font-size: 22px;
    line-height: 27px;
    margin: 5px;
    color: #000;
    text-decoration: none;
}

.contacts-container .address {
    margin: 80px 0;
    font-style: normal;
}

.contacts-container address,
.contacts-container .work-period {
    font-size: 18px;
    line-height: 26px;
    color: #000;
}



@media (max-width:1200px) {
    .contacts-container #map-block {
        display: none;
    }

    .contacts-container .left-block {
        width: 100%;
    }
}

@media (max-width: 415px) {
    .contacts-container h2 {
        margin-bottom: 50px;
    }

    .contacts-container .phone a[href="tel"],
    .contacts-container .email a[href="email"] {
        font-size: 18px;
        line-height: 22px;
    }

    .contacts-container address
    {
        font-size: 12px;
        line-height: 15px;
        margin: 40px 0;
    }

    .contacts-container .work-period {
        font-size: 15px;
        line-height: 18px;
    }


}





/* footer */

footer .inner-container {
    padding: 20px 0;
    font-size: 12px;
}



@media (max-width: 500px) {
    footer .left-block,
    footer .right-block {
        float: none;
    }
}







/* modal windows */

.modal-window {
    width: 100%;
    background: #2E446A;
    max-width: 750px;
    padding: 50px 100px;
    opacity: 0;
    transition: opacity 0.2s;
}

.modal-window.active-window {
    opacity: 1;
}

.modal-container {
    position: fixed;
    transform: translateX(-100vw) translateY(-50%);
    top: 50%;
    left: 0;
}

.modal-container.active {
    transform: translateX(-50%) translateY(-50%);
    left: 50%;
}

.modal-header {
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: 22px;
    line-height: 27px;
    margin-bottom: 35px;
}

.modal-content input {
    margin: 10px 0;
}

.modal-content button {
    margin-top: 40px;
    background: #fff;
    color: #2E446A;
}

.message-box {
    padding: 30px;
    background: white;
    position: fixed;
    opacity: 0;
    transform: translateX(-50%) translateY(-100vh);
}

.message-box.active {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%);
}

.message-box .modal-header {
    font-size: 18px;
    color: #000;
}

.message-content {
    font-size: 15px;
    color: #000;
}

@media (max-width: 1200px) {
	.modal-container {
		top: 0;
        left: 0;
		background-color: #2E446A;
        height: 100%;
        width: 100%;
		transform: translateX(-1000vh);
	}
	
    .modal-container.active {
        transform: translateX(0);
		left: 0;
    }

    .modal-window.active-window {
        padding: 50px;
        position: absolute;
        transform: translateX(-50%) translateY(-50%);
        top: 50%;
        left: 50%;
    }

    .modal-content .modal-header {
        font-size: 18px;
        line-height: 22px;
    }
}
@media (max-width: 415px) {
    .modal-container .modal-header {
        text-align: left;
    }
	.modal-header {
		margin-bottom: 2vh;
	}
	
	.modal-content input {
		margin: 2vh 0;
	}
}


