/* Scss Document */ @import 'reset'; @import 'variables'; @import 'header'; @import 'footer'; @import 'contact'; body { font-family: $font2; position: relative; overflow-x: hidden; background: $grey - 30; } a { text-decoration: none; color: inherit; &:hover { color: inherit; } } .container { max-width: 80vw; margin: 0 auto; padding: 0 5px; } #hero { background-image: url("../graphics/mech2.jpg"); background-color: rgba($grey - 30, .8); background-blend-mode: multiply; background-position: center; background-size: cover; background-attachment: fixed; position: relative; width: 100%; &.other-hero { .inner-hero { min-height: 0; padding-bottom: 50px; } &.sell-hero { background-image: url("../graphics/contract.jpg"); } &.contact-hero { background-image: url("../graphics/aerial.JPG"); background-position: bottom; } } .inner-hero { min-height: 75vh; color: #fff; padding-top: 50px; h1 { font-size: 48px; font-style: italic; margin: 20px; letter-spacing: 1px; font-weight: 700; line-height: 1.2; span { color: $yellow; } } p { margin: 20px; font-size: 18px; line-height: 1.7; max-width: 77ch; } a { display: inline-block; margin: 10px 20px; #srchBtn { background: $yellow; padding: 10px 20px; color: $grey; text-align: center; max-width: 200px; text-transform: uppercase; font-size: 15px; font-weight: 700; &:hover { background: #fff; } } } } } .grid { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; .item { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; text-align: center; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; min-height: 300px; background-image: url("../graphics/mech.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; background-color: rgba($grey, .8); background-blend-mode: multiply; background-attachment: fixed; h1 { font-size: 24px; font-weight: 700; color: $yellow; margin: 10px; } p { color: #fff; line-height: 1.4; font-size: 16px; margin: 10px auto; max-width: 80%; } } } main { padding: 5rem 1rem; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; width: 100%; .info { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; color: #fff; margin-right: 2rem; &.sell-info { margin-right: 0; text-align: center; h1 { color: $yellow; } p { margin: 10px auto 60px; max-width: 55ch; } } h1 { margin-bottom: 10px; font-size: 26px; font-style: italic; } h2 { border-left: 1px solid $yellow; font-size: 18px; margin: 15px 0; padding-left: 15px; color: $yellow; max-width: 55ch; line-height: 1.5; } p { line-height: 1.7; margin-bottom: 10px; max-width: 85%; } .list-wrap { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; width: 100%; .list { p { font-size: 16px; line-height: 2; margin: 0 5px; max-width: none; i { color: $yellow; font-size: 21px; } } } } } .call { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; img { margin-bottom: 10px; max-width: 100%; } h1 { font-weight: 700; font-size: 54px; color: rgba(white, .65); max-width: 22ch; letter-spacing: 1px; text-transform: uppercase; span { color: $yellow; &.ital { font-style: italic; color: #fff } } } } } .mid-call { background-size: cover; background-repeat: no-repeat; background-position: center; background-image: url("../graphics/row.jpg"); background-attachment: fixed; background-color: $grey; background-blend-mode: multiply; .inner-mid { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; padding:5rem 0; .mid-sec { border: 2px solid $yellow; margin: 30px; padding: 30px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; text-align: center; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; color: #fff; i { font-size: 26px; margin-bottom: 5px; } h1 { font-size: 22px; margin-bottom: 5px; } p { font-size: 16px; max-width: 80%; line-height: 1.4; margin-bottom: 5px; } } } } .icon-styler { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; padding: 2rem 0; .line { height: 3px; width: 30%; background: #fff; margin: 0 5px; } i { font-size: 32px; color: #fff; } } .btm-search-sec { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; padding: 1rem 0; background: $yellow; p { font-size: 22px; font-weight: 700; color: $grey; letter-spacing: 1px; margin: 20px; } .srchBtn { display: inline-block; width: 130px; text-align: center; padding: 15px; background: $grey; color: $yellow; font-weight: 700; font-size: 16px; text-transform: uppercase; margin: 20px; -webkit-transition: .1s all ease-in-out; -o-transition: .1s all ease-in-out; transition: .1s all ease-in-out; border-radius: 2px; &:hover { background: #fff; color: $grey; } } } @media all and (max-width: 788px) { #hero { .inner-hero { padding-top: 1rem; padding-bottom: 2rem; h1 { font-size: 28px; } p { font-size: 15px; } } } main { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; .info, .call { margin: 10px 0; margin-right: 0; } .info { &.sell-info { h1 { font-size: 22px; } p { font-size: 14px; } } .list-wrap { .list { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; p { font-size: 15px; line-height: 1.4; margin: 5px; max-width: none; } } } } .call { width: 100%; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; img { width: 100% !important; } h1 { font-size: 28px; } } } .mid-call { .inner-mid { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } } .btm-search-sec { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; text-align: center; padding: 10px; p { font-size: 18px; margin: 10px auto; } .srchBtn { width: 80%; margin: 10px; } } }