/* Scss Document */ @import 'reset'; @import 'variables'; @import 'header'; @import 'footer'; @import 'location'; @import 'contact'; @import 'info'; @import 'cut-sheets'; @import 'slideshow'; body { font-family: $font2; position: relative; overflow-x: hidden; background-color: $body; } a { text-decoration: none; color: inherit; &:hover { color: inherit; } } .container { max-width: 1000px; margin: 0 auto; padding: 0 15px; } #hero { background-image: url("../graphics/dark.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; background-color: rgba(0,0,0,.7); background-blend-mode: multiply; min-height: 250px; margin-top: -5px; border-bottom: 5px solid $turq; &.about-hero { background-image: url("../graphics/abouthero.jpg"); background-position: 50% 33%; background-color: rgba(0,0,0,.3); } &.location-hero { background-image: url("../graphics/bg.png"); } &.contact-hero { background-image: url("../graphics/lot3.jpg"); } #inner-hero { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; padding: 5rem 0; #top-call { h1 { font-size: 38px; font-weight: 900; color: #fff; margin: 20px 0; } p { color: #fff; font-size: 21px; line-height: 1.5; max-width: 45ch; } #srchBtn { max-width: 180px; background: -webkit-gradient(linear, left top, right top, from($darkblue), to($lightblue)); background: -webkit-linear-gradient(left, $darkblue, $lightblue); background: -o-linear-gradient(left, $darkblue, $lightblue); background: linear-gradient(90deg, $darkblue, $lightblue); padding: 10px 30px; display: inline-block; -webkit-transition: .2s all ease-in-out; -o-transition: .2s all ease-in-out; transition: .2s all ease-in-out; text-align: center; margin: 20px 0; p { color: #fff; } &:hover { padding: 10px 50px; } } } } } @-webkit-keyframes heroFade { 33% { opacity: 1; } 66% { opacity: 0; } } @keyframes heroFade { 33% { opacity: 1; } 66% { opacity: 0; } } article { #inner-article { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; padding: 2rem 0; #left-info { width: 70%; margin: 10px; h1 { margin: 10px; font-size: 28px; color: $darkblue; font-weight: 700; } p { line-height: 1.5; color: $grey; text-align: justify; margin: 15px 10px; a { text-decoration: underline; } } #btm-images { display: -webkit-box; display: -ms-flexbox; display: flex; .bg-wrap { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; width: 100%; .bg { margin: 0 10px; background-size: cover; background-repeat: no-repeat; background-position: center; height: 150px; width: calc(100% - 10px); } &:nth-of-type(1) > .bg { background-image: url("../graphics/lift.jpg"); } &:nth-of-type(2) > .bg { background-image: url("../graphics/lot3.jpg"); } &:nth-of-type(3) > .bg { background-image: url("../graphics/shelf.jpg"); } } .bg-call { margin: 0 10px; background: $turq; width: calc(100% - 10px); p { color: #fff; text-align: center; font-size: 14px; } } } } #sidebar { width: 30%; margin: 20px 10px 10px; p { text-align: center; font-size: 14px; color: $grey; } .btn { background: $turq; padding: 20px 50px; margin: 20px 10px; &:hover { background: $darkblue; } &:nth-of-type(3) { background: $grey; &:hover { background: $grey; } } p { font-weight: 700; color: #fff; text-align: center; font-size: 16px; } } img { max-width: 90%; margin: 10px; &:nth-of-type(2) { max-width: 75%; } } } } } #contact-btn { background: $turq; padding: 20px 50px; margin: 40px 10px 20px; color: #fff; &:hover { background: $darkblue; } } @media all and (max-width: 800px) { article { #inner-article { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; justify-content: center; align-items: center; #left-info { width: 100%; } #sidebar { width: 100%; img { max-width: 300px; margin: 10px auto; 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; } } } } } @media all and (max-width: 767px) { #hero { min-height: auto; img#tires { display: none; } #inner-hero { padding: 4rem 0; #top-call { padding-bottom: 2rem; } } } .about { padding-top: 250px; } #main-btm { margin: 20px; h1#service-call { font-size: 32px; line-height: 1.1; } #about-info { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } #services { -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: 0; .service-list { -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; width: 100%; margin: 10px 0; h1 { font-size: 21px; margin: 15px 0 5px; } p { max-width: none; } } } } .about { .inner-about { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; .inner-info, .inner-photo { width: 100%; min-height: auto; } .inner-info { padding: 2rem 0; } .inner-photo { min-height: 150px; &#inner-pic-2 { -webkit-box-ordinal-group: 2; -ms-flex-order: 1; order: 1; } } } } .spacer { display: none; } } @media all and (max-width: 599px) { article { #inner-article { #left-info { #btm-images { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; .bg-wrap { -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 0; .bg { width: calc(90% - 10px); } .bg-call { width: calc(90% - 10px); } } } } } } }