@import 'reset'; @import 'fonts'; // variables @mainColor1: #d29e45; @mainColor2: #121b2a; @text-size-default: 14px; @text-color-default: #121b2a; @font-family-default: 'OpenSans'; @container-width: 1000px; // mixins .transition(@prop: all, @duration: .3s) { transition: @prop, @duration; } // custom styles * { padding: 0; margin: 0; box-sizing: border-box; } body, html { font-family: @font-family-default, sans-serif; font-size: @text-size-default; color: @text-color-default; } a { text-decoration: none; color: inherit; } ul { margin: 0; padding: 0; list-style-type: none; } .container { max-width: @container-width; margin: 0 auto; } header { background-color: @mainColor2; padding: 5px 0; color: @mainColor1; border-bottom: 5px solid @mainColor1; .container { display: flex; justify-content: space-between; align-items: center; .logo { display: flex; align-items: center; font-size: 18px; img { margin-right: 10px; } p { span { font-size: 12px; } } } nav { padding-left: 120px; margin-top: -15px; margin-bottom: 10px; ul { li { display: inline-block; color: #fff; font-size: 13px; padding: 0 10px; position: relative; &::before { content: '•'; position: absolute; color: #fff; left: -3px; font-size: 13px; } &:first-child { &::before { content: ''; } } } } &.mob-nav { width: 100%; display: flex; justify-content: center; margin-top: 10px; padding-left: 0; display: none; .open-menu { display: none; } } } .phone-block { font-size: 22px; img { margin-right: 10px; } display: flex; align-items: center; color: #fff; } } } #utp { background: url('../img/utp/bg.jpg') 0 0 no-repeat; background-size: cover; color: #fff; .container { display: flex; justify-content: space-between; align-items: center; padding-top: 40px; } .content { width: 60%; h1 { font-weight: 700; font-size: 44px; // line-height: 30px; } .company { display: inline-block; font-weight: 400; font-size: 18px; line-height: 30px; color: @mainColor1; margin-bottom: 75px; } p { font-size: 18px; text-transform: uppercase; margin-bottom: 15px; } .pluses { display: flex; justify-content: space-between; .item { width: 200px; text-align: center; padding: 0 5px; img { margin-bottom: 20px; } p { text-align: left; font-size: 14px; text-transform: none; margin-bottom: 0; span { font-weight: 700; color: @mainColor1; } } } } } .man { width: 40%; text-align: right; img { width: 100%; } } } #goals { background: url('../img/2/bg.jpg') 0 0 no-repeat; background-size: cover; padding: 30px 0; .title { text-align: center; h2 { font-size: 34px; font-weight: 700; color: #d29e45; margin-bottom: 10px; } img { margin-bottom: 30px; } } .quote { display: flex; justify-content: space-between; align-items: center; padding-bottom: 25px; border-bottom: 15px solid @mainColor1; margin-bottom: 50px; .photo { img { width: 100%; } } .quote-text { text-align: center; color: @mainColor1; max-width: 650px; h2 { font-weight: 700; font-size: 34px; margin-bottom: 15px; } p { font-style: italic; font-weight: 500; margin-bottom: 65px; font-size: 24px; } img { margin-bottom: 30px; } .btn { text-transform: uppercase; display: inline-block; text-align: center; background-color: @mainColor1; color: @mainColor2; font-weight: 700; padding: 5px 20px; } } } .wrapper { position:relative; } .row { display: flex; position: relative; .top-popup { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; background-color: #fff; z-index: 3; display: none; &.visible { display: block; } } .col { width: 50%; display: flex; .block { position: relative; color: #fff; cursor: pointer; font-size: 0; border: 2px solid rgba(0, 0, 0, .8); img { width: 100%; } p { display: table; width: 100%; position: absolute; bottom: 0; left: 0; height: 100px; background: rgba(0, 0, 0, .8); transition: all .3s; border-collapse: collapse; span { display: table-cell; vertical-align: middle; text-align: center; text-transform: uppercase; font-size: 16px; font-weight: 700; } } &:hover { p { background-color: rgba(210, 158, 69, .8); } } } .block-100 { width: 100%; } .block-50 { width: 50%; } } } } #success-projects { padding-top: 90px; padding-bottom: 40px; background: url('../img/3/triangle.jpg') center 0 no-repeat; background-size: contain; .title { text-align: center; h2 { font-size: 34px; font-weight: 700; color: #121b2a; margin-bottom: 15px; } img { margin-bottom: 50px; } } .wrapper { position: relative; } .items { display: flex; justify-content: space-between; flex-wrap: wrap; .item { width: 49%; display: flex; align-items: center; justify-content: center; margin: 2px; border: 1px solid transparent; cursor: pointer; transition: all .3s; position: relative; &:hover { border-color: @mainColor1; } .content { text-align: center; position: absolute; p { font-size: 24px; color: #121b2a; font-weight: 700; margin-bottom: 40px; } .btn { display: inline-block; text-align: center; background-color: @mainColor1; color: #fff; min-width: 175px; padding: 5px 10px; } } } } } #questions { padding-bottom: 70px; .title { text-align: center; margin-bottom: 40px; h2 { font-size: 34px; color: #121b2a; margin-bottom: 20px; } } .quest-block { display: flex; .left { width: 100%; max-width: 710px; #accordion { .ui-accordion-header-icon { display: none; } h3 { padding: 20px 40px 20px 30px; font-size: 16px; font-weight: 700; background-color: #fff; position: relative; &::after { content: '\276F'; color: @mainColor1; font-size: 20px; position: absolute; right: 30px; height: 20px; top: 0; bottom: 0; margin: auto; transition: all .3s; } &.ui-accordion-header-active { color: @mainColor2; border-color: #c5c5c5; border-bottom: 0; &::after { transform: rotate(90deg); } } } p { font-size: 16px; margin-bottom: 20px; } ul { font-size: 16px; list-style-type: disc; } } } .right { width: 100%; max-width: 290px; background-color: @mainColor1; text-align: center; padding: 30px; h2 { font-size: 16px; color: @mainColor2; font-weight: 700; margin-bottom: 40px; } img { margin-bottom: 20px; } .intl-tel-input { margin: 0 auto 10px; } input { display: block; width: 100%; text-align: center; height: 40px; font-size: 14px; margin: 0 auto 10px; border: 0; outline: none !important; box-sizing: border-box; &.btn { color: #fff; text-transform: uppercase; cursor: pointer; transition: all .3s; background-color: #121b2a; font-weight: 700; } } } } } #consultation { background-color: @mainColor1; padding: 30px 0; h2 { font-size: 24px; text-align: center; margin-bottom: 30px; } .inputs { display: flex; justify-content: center; input { display: block; width: 100%; max-width: 200px; height: 30px; text-align: center; margin: 0 10px; border: 0; outline: none !important; &[type="submit"] { color: #fff; text-transform: uppercase; cursor: pointer; transition: all .3s; background-color: #121b2a; font-weight: 700; &:hover { color: #121b2a; background-color: #fff; } } } .thankYou { color: #fff; font-size: 16px; text-align: center; } } } #about { background: url('../img/4/bg.jpg') 0 0 no-repeat; background-size: cover; padding: 70px 0 60px; text-align: center; .title { h2 { font-size: 34px; font-weight: 700; color: @mainColor1; margin-bottom: 10px; } img { margin-bottom: 30px; } } .description { color: #fff; font-size: 16px; margin-bottom: 80px; p { margin-bottom: 20px; } } .numbers { display: flex; justify-content: space-around; .item { max-width: 220px; padding: 0 10px; .num { font-weight: 300; font-size: 54px; color: @mainColor1; margin-bottom: 30px; } .desc { color: #fff; font-size: 14px; span { font-weight: 700; color: @mainColor1; } } } } } #contacts { background-color: @mainColor2; padding: 40px 0; color: @mainColor1; .container { display: flex; justify-content: space-between; } .left, .right { h2 { font-size: 18px; font-weight: 400; margin-bottom: 30px; & + p { margin-bottom: 40px; } } .phone-block { font-size: 16px; margin-bottom: 20px; } .mail-block { margin-bottom: 20px; font-size: 16px; } .soc-links { ul { display: flex; justify-content: space-between; a { font-size: 16px; text-decoration: underline; } } } } .left { .phone-block { padding-left: 45px; margin-bottom: 40px; position: relative; &::before { content: url('../img/utp/phone.png'); display: block; position: absolute; top: 5px; left: 0; } } .mail-block { padding-left: 45px; position: relative; &::before { content: url('../img/5/mail.png'); display: block; position: absolute; top: 5px; left: 0; } } .soc-links { padding-left: 45px; } } .right { text-align: right; .phone-block { padding-right: 45px; position: relative; margin-bottom: 40px; &::after { content: url('../img/5/phone_right.png'); display: block; position: absolute; top: 5px; right: 0; } } .mail-block { padding-right: 45px; position: relative; &::after { content: url('../img/5/mail.png'); display: block; position: absolute; top: 5px; right: 0; } } .soc-links { padding-right: 45px; } } } #goals-popup { display: none; max-width: 1000px; height: auto; background-color: #fff; color: #211f23; padding: 0; &::after { content: ''; display: table; clear: both; } .content { display: table; width: 100%; } .left { width: 70%; height: 100%; padding: 20px; display: table-cell; h2 { font-weight: 700; font-size: 18px; text-transform: uppercase; margin-bottom: 20px; } .text { p { font-size: 15px; margin-bottom: 10px; } ul { list-style-type: disc; list-style-position: inside; font-size: 15px; margin-bottom: 10px; } } } .right { display: table-cell; vertical-align: middle; width: 30%; height: 100%; min-height: 370px; text-align: center; padding: 30px 20px; // display: flex; // justify-content: center; align-items: center; background: url('../img/2/form_bg.jpg') 0 0 no-repeat; background-size: cover; h2 { font-size: 15px; color: #121b2a; margin-bottom: 20px; } img { margin-bottom: 10px; } form { width: 100%; h2 { color: #fff; margin-bottom: 20px; text-align: center; font-size: 18px; font-weight: 700; text-transform: uppercase; } .intl-tel-input { width: 80%; margin-bottom: 10px; input { width: 100%; } } input { display: block; width: 80%; text-align: center; height: 40px; font-size: 14px; margin: 0 auto 10px; border: 0; outline: none !important; &.btn { color: #fff; text-transform: uppercase; cursor: pointer; transition: all .3s; background-color: #121b2a; font-weight: 700; &:hover { background-color: #fff; color: #121b2a; } } } } } .fancybox-close-small { &::after { color: #fff; } &:hover { &::after { color: @mainColor2; } } } .thankYou { text-align: center; color: #fff; font-size: 16px; } } #success-project-popup { display: none; max-width: 1000px; padding: 0; background-color: #fff; z-index: 3; .content { display: table; width: 100%; } .left { display: table-cell; width: 70%; h2 { background-color: #121b2a; color: @mainColor1; padding: 10px 30px; font-size: 14px; } .text { padding: 10px 30px; h3 { color: @mainColor1; } p { margin-bottom: 15px; color: #121b2a; } } } .right { display: table-cell; vertical-align: middle; width: 30%; height: 100%; min-height: 370px; // display: flex; // justify-content: center; align-items: center; background: url('../img/2/form_bg.jpg') 0 0 no-repeat; background-size: cover; form { width: 100%; h2 { color: #fff; margin-bottom: 20px; text-align: center; font-size: 18px; font-weight: 700; text-transform: uppercase; } .intl-tel-input { width: 80%; margin: 0 auto 10px; display: block; input { width: 100%; } } input { display: block; width: 80%; text-align: center; height: 40px; font-size: 14px; margin: 0 auto 10px; border: 0; outline: none !important; &.btn { color: #fff; text-transform: uppercase; cursor: pointer; transition: all .3s; background-color: #121b2a; font-weight: 700; &:hover { background-color: #fff; color: #121b2a; } } } } } .fancybox-close-small { &::after { color: #fff; } &:hover { &::after { color: @mainColor2; } } } } #appointment { background: url('../img/2/form_bg.jpg') 0 0 no-repeat; background-size: cover; text-align: center; max-width: 320px; h2 { font-size: 24px; color: #fff; margin-bottom: 30px; } input { display: block; box-sizing: border-box; height: 40px; width: 90%; margin: 0 auto 15px; text-align: center; border: 0; outline: none !important; &.btn { background-color: #121b2a; color: #fff; text-transform: uppercase; font-weight: 700; cursor: pointer; transition: all .3s; &:hover { background-color: #fff; color: #121b2a; } } } .fancybox-close-small { &::after { color: #fff; } &:hover { &::after { color: @mainColor2; } } } .thankYou { text-align: center; padding: 10px; text-align: center; color: #fff; font-weight: 700; } } @media screen and (max-width: 1000px) { .container { padding: 0 15px; } #utp { .content { .pluses { flex-wrap: wrap; .item { width: 100%; display: flex; align-items: center; margin-bottom: 20px; img { margin-bottom: 0; margin-right: 15px; } p { br { display: none; } } } } } } #success-projects { .items { .item { img { width: 100%; } } } } } @media screen and (max-width: 920px) { header { .container { .logo { font-size: 14px; img { max-width: 100px; } } .phone-block { font-size: 18px; } nav { padding-left: 103px; ul { li { font-size: 12px; padding: 0 5px; } } } } } #goals { .quote { .quote-text { p { font-size: 21px; } } } .row { .col { .block { p { height: 80px; span { font-size: 12px; padding: 0 10px; br { display: none; } } } } } } } #success-projects { padding-top: 30px; .title { h2 { font-size: 28px; } img { margin-bottom: 30px; } } } #about { .description { margin-bottom: 50px; } .numbers { flex-wrap: wrap; justify-content: center; .item { width: 30%; max-width: 100%; margin-bottom: 15px; .num { font-size: 50px; margin-bottom: 10px; } } } } #contacts { .left, .right { h2 { font-size: 16px; margin-bottom: 20px; } } .left { .phone-block, .mail-block, .soc-links { padding-left: 30px; } } .right { .phone-block, .mail-block, .soc-links { padding-right: 30px; } } .center { img { width: 100%; max-width: 200px; } } } } @media screen and (max-width: 768px) { header { .container { .left { nav { display: none; } } nav.mob-nav { display: flex; } } } #utp { .container { display: block; position: relative; } .content { width: 100%; h1 { font-size: 38px; text-align: center; span { font-size: 14px; } } p { text-align: center; font-size: 16px; margin-bottom: 60px; } .pluses { display: block; max-width: 50%; padding-bottom: 60px; } } .man { position: absolute; right: 0; bottom: 0; } } #goals { .quote { .quote-text { h2 { font-size: 27px; } img { width: 100%; max-width: 300px; } p { font-size: 18px; margin-bottom: 50px; } } } .row { .col { .block { p { span { font-size: 10px; } } } } } } #success-projects { .items { .item { .content { p { font-size: 20px; line-height: 1.2; } } } } } #questions { .quest-block { .left { #accordion { h3 { padding: 10px 30px 10px 20px; &::after { font-size: 16px; right: 10px; } } .ui-accordion-content { padding: 10px 20px; } } } } } #about { padding-top: 40px; .title { h2 { font-size: 28px; } img { width: 100%; max-width: 300px; } } } #goals-popup, #success-project-popup { .left { width: 100%; display: block; } .right { width: 100%; display: block; height: auto; min-height: 0; padding-top: 20px; .inputs { display: flex; justify-content: space-between; input { width: 30%; } } } .fancybox-close-small:after { color: #888; } } } @media screen and (max-width: 640px) { .container { padding: 0 10px; } header { .container { .logo { font-size: 12px; max-width: 60%; } .phone-block { font-size: 14px; } } } #utp { .man { display: none; } .content { p { margin-bottom: 40px; } .pluses { max-width: 100%; .item { img { max-width: 40px; } } } } } #goals { .title { h2 { font-size: 24px; } img { width: 100%; max-width: 300px; } } .quote { flex-wrap: wrap; border-bottom: 5px solid @mainColor1; .photo { width: 100%; text-align: center; margin-bottom: 20px; img { max-width: 70%; } } .quote-text { width: 100%; } } .row { flex-wrap: wrap; .col { width: 100%; } } } #questions { .title { h2 { font-size: 24px; } img { width: 100%; max-width: 300px; } } } #success-projects { background: none; .title { h2 { font-size: 24px; } img { width: 100%; max-width: 300px; } } .items { flex-wrap: wrap; justify-content: center; .item { width: 80%; } } } #questions { .quest-block { flex-wrap: wrap; .right { max-width: 100%; } } } #about { .description { margin-bottom: 30px; p { margin-bottom: 10px; font-size: 14px; } } .numbers { .item { width: 50%; .num { font-size: 40px; } .desc { font-size: 12px; } } } } #contacts { padding: 20px 0; .container { display: block; &::after { content: ''; display: table; clear: both; } .left, .right { text-align: center; .phone-block, .mail-block, .soc-links { &::before, &::after { display: none; } padding-left: 0; padding-right: 0; } } .soc-links { ul { justify-content: space-around; } } .left { padding-bottom: 20px; margin-bottom: 40px; border-bottom: 2px solid @mainColor1; } .center { display: none; } } } #goals-popup, #success-project-popup { .right { .inputs { input.btn { font-size: 12px; font-weight: 400; } } } } } @media screen and (max-width: 500px) { #consultation { h2 { font-size: 20px; } .inputs { flex-wrap: wrap; input { width: 70%; max-width: 100%; margin-bottom: 20px; } } } } @media screen and (max-width: 480px) { header { .logo { p { display: none; } } .container { nav.mob-nav { display: block; .open-menu { display: block; float: right; clear: both; width: 30px; height: 30px; position: relative; border: 1px solid @mainColor1; border-radius: 5px; text-align: center; color: @mainColor1; font-size: 20px; line-height: 30px; } ul { overflow: hidden; clear: both; // height: 0; display: none; transition: all .3s; &.active { height: 100%; } li { display: block; text-align: center; padding: 10px; border-bottom: 1px solid @mainColor1; &:last-child { border-bottom: 0; } &::before { display: none; } } } } } } #utp { .content { h1 { font-size: 32px; } } } #success-projects { .title { h2 { font-size: 19px; } } .items { .item { width: 95%; } } } #goals { .title { h2 { font-size: 19px; } } } #questions { .title { h2 { font-size: 19px; } } } #goals-popup, #success-project-popup { .right { .inputs { flex-wrap: wrap; justify-content: space-around; input { width: 45%; margin-bottom: 20px; } } } } }