/* Scss Document */ @import 'reset'; @import 'variables'; @import 'header'; @import 'footer'; @import 'contact'; @import 'location'; body { font-family: $font2; position: relative; overflow-x: hidden; } a { text-decoration: none; color: inherit; &:hover { color: inherit; } } .container { max-width: 90vw; margin: 0 auto; padding: 0 5px; } #hero { background-image: url("../graphics/truxx.jpg"); background-color: rgba($grey - 20, .8); background-blend-mode: multiply; background-size: cover; position: relative; width: 100%; &.other-hero { &.location-hero { background-image: url("../graphics/101.jpg"); } &.contact-hero { background-image: url("../graphics/contact.jpg"); background-position: center; } &.sell-hero { background-image: url("../graphics/contract.jpg"); background-position: center; } } .inner-hero { color: #fff; 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: 4rem 1rem 6rem; img { max-width: 100%; margin-right: 1rem; } .hero-call { margin-left: 1rem; border-left: 1px solid #fff; padding-left: 10px; h1 { font-size: 24px; margin: 10px; } p { margin: 10px; font-size: 18px; line-height: 1.7; max-width: 50ch; &.other-call { max-width: 80ch; } } a { display: inline-block; margin: 10px; #srchBtn { background: $orange; padding: 10px 20px; color: #fff; text-align: center; max-width: 200px; text-transform: uppercase; font-size: 15px; font-weight: 700; &:hover { background: #fff; color: $grey; }; } } } } } .call { padding: 2rem 1rem; h1 { display: inline-block; font-size: 48px; font-weight: 700; color: $grey; letter-spacing: 1px; text-transform: uppercase; padding-bottom: 10px; border-bottom: 4px solid $orange; } &#last-call { padding: 4rem 1rem 2rem; } &.lg-call { h1 { color: #fff; } } } .center-call { padding: 1rem 0 3rem; 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; h1 { color: $grey; font-size: 36px; text-transform: uppercase; } .breaker { margin: 10px auto; width: 30%; height: 2px; background: $orange + 80; } p { max-width: 77ch; line-height: 1.6; margin: 10px auto; color: $grey; } } .grid { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; padding-bottom: 2rem; .grid-wrap { 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; margin: 15px; img { width: 100%; max-width: 400px; } h1 { font-size: 23px; font-weight: 700; margin: 15px 5px 5px; color: $orange; text-transform: uppercase; } p { margin: 5px; max-width: 85%; line-height: 1.8; color: $grey; font-size: 15px; } } &.two-grid { .grid-wrap { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -webkit-box-align: center; -ms-flex-align: center; align-items: center; img { max-width: 225px; margin: 1rem; } } } } .lg { padding: 5rem 1rem; background-size: cover; background-position: center; background-repeat: no-repeat; background-image: url("../graphics/contract.jpg"); background-color: rgba($grey, .75); background-blend-mode: multiply; background-attachment: fixed; .inner-lg { 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; .info { color: #fff; 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; text-align: left; margin-left: 5%; h1 { font-size: 24px; margin: 10px; font-weight: 700; text-transform: uppercase; } p { margin: 10px; max-width: 66ch; line-height: 1.8; font-size: 16px; } .sell-btn { margin: 10px; background: $grey; padding: 20px 60px; font-weight: 700; font-size: 21px; letter-spacing: 1px; text-transform: uppercase; max-width: 150px; border-radius: 2px; color: #fff; &:hover { background: $orange; }; } } } } .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: $orange; p { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 1px; margin: 20px; } .srchBtn { display: inline-block; width: 130px; text-align: center; padding: 15px; background: $grey; color: #fff; font-weight: 700; font-size: 16px; text-transform: uppercase; margin: 20px; border-radius: 2px; &:hover { background: #fff; color: $grey; } } } @media all and (max-width: 800px) { .spacer { display: none; } #hero { .inner-hero { -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; padding: 1rem 1rem 4rem; img { margin-right: 0; max-width: 250px; } .hero-call { border-left: none; padding-left: 0; p { font-size: 15px; } } } } .call { text-align: center; h1 { font-size: 32px; } } .grid { -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; .grid-wrap { 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; } } .lg { .inner-lg { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; text-align: center; .info { .sell-btn { padding: 10px 30px; font-size: 18px; text-align: 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; } } h2 { font-size: 24px; letter-spacing: 1px; margin: 20px; &.ital { font-style: italic; font-size: 21px; } } @media all and (max-width: 450px) { #hero { .inner-hero { padding: 2rem 1rem; } } .grid { .grid-wrap { 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; .info { p { margin: 10px auto; } } img { display: none; } } } h2 { font-size: 18px; } }