/* Scss Document */ @import 'reset'; @import 'variables'; @import 'header'; @import 'footer'; @import 'location'; @import 'contact'; @import 'cut-sheets'; body { font-family: $font2; position: relative; overflow-x: hidden; } a { text-decoration: none; color: inherit; &:hover { color: inherit; } } .container { max-width: 95vw; margin: 0 auto; padding: 0 15px; } #hero { background-image: url("../graphics/truxx.jpg"); background-size: cover; background-repeat: no-repeat; background-position: 30% 35%; background-color: rgba(0,0,0,.5); background-blend-mode: multiply; &.other-hero { #top-call { padding: 1rem 0 7rem; } &.location-hero { background-image: url("../graphics/lot.JPG"); background-position: 50% 25%; } &.sell-hero { background-image: url("../graphics/contract.jpg"); background-position: center; } &.contact-hero { background-image: url("../graphics/contact.jpg"); background-position: 50% 60%; } } #top-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: end; -ms-flex-pack: end; justify-content: flex-end; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; text-align: right; z-index: 3; padding: 1rem 0 400px; h1 { font-size: 48px; line-height: 1; text-transform: uppercase; font-family: $font2; color: #fff; margin: 40px 0 5px; span { font-weight: 700; color: $yellow; } } p { font-size: 22px; line-height: 1.4; margin: 5px 0; color: #fff; max-width: 66ch; } #btns { display: -webkit-box; display: -ms-flexbox; display: flex; margin: 10px 0; position: relative; .btn { 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: 7px 60px; background: $yellow; -webkit-transition: .15s all ease-in-out; -o-transition: .15s all ease-in-out; transition: .15s all ease-in-out; p { text-transform: uppercase; letter-spacing: 1px; font-size: 19px; font-weight: 700; color: $grey2; i { margin-right: 5px; font-size: 16px; } } &:hover { background: $grey2; > p { color: #fff; } } } } } } @-webkit-keyframes appear { 100% { opacity: 1; } } @keyframes appear { 100% { opacity: 1; } } main { .inner { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-pack: distribute; justify-content: space-around; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; width: 100%; padding: 3rem 0; .card-wrap { padding: 60px 20px; background: #000; border-radius: 8px; margin-top: -100px; max-width: 350px; 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; .card { p { color: #fff; line-height: 1.4; font-size: 32px; font-weight: 700; margin: 15px; } #scrap-btn { padding: 5px 30px; background: $yellow; margin: 15px; width: 75%; display: inline-block; p { color: $grey2 - 20; text-align: center; font-weight: 700; font-size: 22px; font-family: $font1; } &:hover { background: #fff; } } } } .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-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; p { color: $grey + 20; line-height: 1.7; font-size: 20px; max-width: 45ch; margin: 20px 10px 5px; font-family: $font1; } img { max-width: 100%; } } } } article { background: $grey2 - 20; width: 100%; padding: 3rem 0; &.secondary { margin: 2rem 0; } .call-out { display: -webkit-box; display: -ms-flexbox; display: flex; padding: 1rem 0 3rem; -ms-flex-pack: distribute; justify-content: space-around; -webkit-box-align: center; -ms-flex-align: center; align-items: center; h1 { font-size: 44px; font-weight: 700; color: #fff; line-height: 1.2; padding-bottom: 5px; border-bottom: 1px solid $yellow; } p { color: $yellow; line-height: 1.6; font-size: 21px; max-width: 38ch; a { text-decoration: underline; } } } .lg-card-wrap { display: -ms-grid; display: grid; -ms-grid-columns: 1fr 1.75fr; grid-template-columns: 1fr 1.75fr; -ms-grid-rows: minmax(220px, auto); grid-template-rows: minmax(220px, auto); grid-gap: 20px; padding: 4rem 20px 1rem; .left-lg-wrap { display: -ms-grid; display: grid; -ms-grid-columns: 1fr; grid-template-columns: 1fr; -ms-grid-rows: minmax(220px, auto); grid-template-rows: minmax(220px, auto); grid-gap: 20px; } .lg-card { 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; min-height: 220px; border-radius: 2px; &:nth-of-type(1) { background-image: url("../graphics/xsmeng.png"); background-size: contain; background-position: bottom right; background-repeat: no-repeat; background-color: $yellow; h1 { color: $grey2 - 20; margin: 10px; line-height: 1.1; font-size: 46px; font-weight: 900; max-width: 12ch; } p { margin: 5px 10px; line-height: 1.6; font-size: 16px; max-width: 35ch; } } &:nth-of-type(2) { background-image: url("../graphics/xmstruck.png"); background-size: contain; background-position: bottom left; background-repeat: no-repeat; background-color: $grey2 - 10; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; h1 { text-align: right; margin: 10px; line-height: 1.1; font-size: 42px; font-weight: 900; color: #fff; max-width: 15ch; } p { margin: 5px 10px; line-height: 1.6; font-size: 16px; text-align: right; color: #fff; max-width: 30ch; } } &.right { background-image: url("../graphics/handsrch.png"); background-size: contain; background-position: bottom right; background-repeat: no-repeat; background-color: #fff; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; h1 { margin: 10px; line-height: 1.3; font-size: 42px; font-weight: 900; color: $grey2; max-width: none; text-align: left; } p { line-height: 1.7; font-size: 17px; color: $grey2 + 50; margin: 10px; max-width: 80%; text-align: left; a { text-decoration: underline; color: #000; } } } &.map { iframe { width: 100%; height: 100%; } } &.directions { background: none; &:nth-of-type(2) { -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; } p { color: #fff; line-height: 1.4; margin: 5px; text-align: left; &:first-of-type { font-size: 19px; padding-bottom: 3px; border-bottom: 1px solid $yellow; } } } } } .xl-card { background-image: url("../graphics/redd.png"); background-size: contain; background-position: bottom right; background-repeat: no-repeat; width: auto; margin: 5px 20px; min-height: 300px; border-radius: 2px; 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; margin-bottom: 3rem; p { margin: 10px; color: $silver + 10; font-size: 18px; line-height: 1.8; max-width: 70%; letter-spacing: 1px; a { text-decoration: underline; } } &.contact-form { background: none; } } } #btm-hero { background-image: url("../graphics/row.jpg"); background-position: center; background-size: cover; background-attachment: fixed; background-color: rgba(black, .8); background-blend-mode: multiply; margin: 2rem 0; #inner-btm-hero { 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; color: #fff; padding: 1rem 0; text-align: center; h1 { font-size: 28px; font-family: $font1; font-weight: 700; margin: 15px; } .breaker { margin: 15px; width: 40%; background: $yellow; height: 3px; } p { max-width: 62ch; line-height: 1.5; font-size: 19px; margin: 15px; } } } @media all and (max-width: 960px) { main { .inner { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; .card-wrap { max-width: 100%; text-align: center; .card { p { font-size: 24px; } } } .info { p { font-size: 18px; max-width: 80%; margin: 20px auto; text-align: center; } } } } article { .call-out { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; margin: 0 20px; h1 { margin: 5px; } } .lg-card-wrap { display: -ms-grid; display: grid; -ms-grid-columns: 1fr; grid-template-columns: 1fr; -ms-grid-rows: minmax(220px, auto); grid-template-rows: minmax(220px, auto); grid-gap: 20px; padding: 4rem 20px 1rem; .left-lg-wrap { display: -ms-grid; display: grid; -ms-grid-columns: 1fr; grid-template-columns: 1fr; -ms-grid-rows: minmax(220px, auto); grid-template-rows: minmax(220px, auto); grid-gap: 20px; } } } } @media all and (max-width: 770px) { .spacer { display: none; } #hero { #top-call { h1 { font-size: 24px; } p { font-size: 18px; } } } } @media all and (max-width: 599px) { #hero { #top-call { padding: 1rem 0 8rem; #btns { .btn { padding: 5px 30px; p { font-size: 15px; } } } } } main { .inner { .card-wrap { .card { p { font-size: 17px; } #scrap-btn { padding: 5px 10px; margin: 10px; width: auto; p { color: $grey2 - 20; font-size: 17px; } } } } .info { p { font-size: 16px; max-width: 100%; } } } } article { .call-out { h1 { font-size: 28px; } p { font-size: 17px; } } .lg-card-wrap { .lg-card { background-blend-mode: screen; &:nth-of-type(1), &:nth-of-type(2) { h1 { font-size: 24px; } }; } } .xl-card { p { max-width: 90%; } } } }