/* Scss Document */ @import 'reset'; @import 'variables'; @import 'header'; @import 'footer'; @import 'sell'; @import 'location'; body { font-family: $font1; overflow-x: hidden; } .container { max-width: 1200px; margin: 0 auto; padding: 0 10px; } #hero { width: 100%; background-image: url("../graphics/merced.jpg"); background-size: cover; background-position: center; min-height: 600px; padding: .25rem 0 6rem; #inner-hero { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; padding: 2rem 0; width: 100%; #inner-hero-right { margin: 5px; line-height: 1.2; text-align: right; color: $darkgreen; h1 { font-size: 48px; font-family: $font2; margin-bottom: 10px; padding-bottom: 5px; border-bottom: 6px double $lightgreen; display: inline-block; span { color: $darkgreen - 40; } } p { font-family: $font1; margin-bottom: 15px; color: $blue; font-size: 16px; } a#srchBtn { font-size: 18px; color: #fff; background: $darkgreen; padding: 5px 20px; text-decoration: none; -webkit-transition: .2s all ease-in-out; -o-transition: .2s all ease-in-out; transition: .2s all ease-in-out; margin-top: 5px; text-transform: uppercase; border-radius: 40px; &:hover { background: $darkgreen - 40; } } } } } #info-wrap { #info-box { text-align: center; background: -webkit-linear-gradient($blue + 40, $blue - 40); background: -o-linear-gradient($blue + 40, $blue - 40); background: linear-gradient($blue + 40, $blue - 40); color: #fff; padding: 4rem 1rem; border-top: 3px solid #fff; &.about-info-wrap { background: linear-gradient($lightgreen, $darkgreen); } &.sell-info-wrap { background-image: url("../graphics/contract.jpg"); background-size: cover; background-position: center; background-color: rgba(black, .76); background-blend-mode: multiply; } h2 { font-size: 32px; font-style: italic; font-family: $font2; letter-spacing: 1px; display: inline-block; padding-bottom: 5px; border-bottom: 4px double #fff; font-weight: 700; span { font-size: 41px; text-transform: uppercase; } } h1 { font-size: 24px; font-weight: 700; font-family: $font2; letter-spacing: 1px; text-transform: uppercase; padding: 10px 5%; border-bottom: 2px solid $grey - 50; margin: 10px 0; display: inline-flex; align-items: center; text-shadow: 0px 1px 7px rgba(black, .7); background: linear-gradient($grey, #666, $grey); box-shadow: inset 0px 0px 4px 1px rgba(black, .3), 0px 3px 7px rgba(black, .5); border-radius: 30px; transition: .2s all ease-in-out; position: relative; img { position: absolute; top: -6px; left: -12px; max-width: 33px; &:nth-of-type(2) { transform: scaleX(-1); right: -12px; left: auto; } } &:nth-of-type(2) { margin-top: 45px; } } p { max-width: 75ch; margin: 10px auto; line-height: 1.7; font-size: 17px; &.hidden { display: flex; font-size: 14px; color: #fff; margin: 0 5px; padding: 0 5px; font-family: $font1; text-transform: none; max-width: 20ch; line-height: 1.1; } } a { color: #fff; &:hover { color: $lightgreen + 40; } } } } .main-info { .inner-main { padding: 2rem 0; 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; position: relative; min-height: 300px; background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee)); background: -webkit-linear-gradient(#fff, #eee); background: -o-linear-gradient(#fff, #eee); background: linear-gradient(#fff, #eee); h1#visit-call { font-size: 32px; font-weight: 700; font-family: $font2; color: $blue; } p { text-align: center; max-width: 65ch; line-height: 1.7; font-size: 17px; margin: 5px 0; } } .horizon-brk { width: 80%; height: 6px; background: $darkgreen; margin: 1rem auto; } ul#services-list { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; z-index: 200; padding: 2rem 0; &.about-list { li { &:nth-of-type(1) { width: 50vw; background-image: url("../graphics/contract.jpg"); p { a { color: inherit; margin: 0 2px; &:hover { color: $lightgreen; } } } } &:nth-of-type(2) { width: 50vw; background-image: url("../graphics/wheel2.jpg"); } } } li { height: 18vw; width: 18vw; 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; background-size: cover; background-position: center; background-color: rgba(black, .7); background-blend-mode: multiply; margin: 0 10px; color: #fff; padding: 5px; &:nth-of-type(1) { background-image: url("../graphics/wheel.jpg"); } &:nth-of-type(2) { background-image: url("../graphics/red.jpg"); } &:nth-of-type(3) { background-image: url("../graphics/deliver.jpg"); } &:nth-of-type(4) { background-image: url("../graphics/mer2.jpg"); } h1 { font-size: 18px; font-family: $font2; font-weight: 700; text-transform: uppercase; padding-bottom: 3px; border-bottom: 1px solid #fff; margin-bottom: 5px; text-shadow: -1px 0px 7px rgba(black, .85); } p { line-height: 1.2; max-width: 35ch; font-size: 15px; } } } .sm-hero { height: 300px; width: 100%; background: url("../graphics/row.jpg"); background-size: cover; background-color: rgba($darkgreen, .95); background-blend-mode: multiply; 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; margin-top: 2rem; text-align: center; &#about-sm-hero { background-image: none; background: linear-gradient($blue - 40, $lightgreen, $blue + 40, $darkgreen); background-attachment: fixed; } h1 { font-size: 32px; font-weight: 700; font-family: $font2; letter-spacing: 1px; text-transform: uppercase; padding-bottom: 5px; border-bottom: 1px solid #fff; margin: 5px 0; display: inline-block; text-shadow: -1px 0px 7px rgba(black,.7); } p { max-width: 60ch; margin: 5px auto; line-height: 1.4; } } } @media all and (max-width: 950px) { .main-info { ul#services-list { 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; z-index: 200; padding: 2rem 0; -ms-flex-wrap: wrap; flex-wrap: wrap; margin: 0 auto; li { height: 32vw; width: 32vw; 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; margin: 10px; } } } } @media all and (max-width: 767px) { #hero { background-position: center; #inner-hero { #inner-hero-right { -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 { font-size: 32px; } } } } #info-wrap { #info-box { h2 { font-size: 21px; span { font-size: 24px; } } h1 { font-size: 16px; flex-direction: column; img { max-width: 37px; } } } } .main-info { ul#services-list { &.about-list { li { &:nth-of-type(1) { width: 70vw; height: 40vw; } &:nth-of-type(2) { width: 70vw; height: 40vw; } } } -ms-flex-wrap: wrap; flex-wrap: wrap; margin: 0 auto; li { height: 60vw; width: 60vw; margin: 10px; } } } }