/* Scss Document */ @import 'reset'; @import 'variables'; @import 'header'; @import 'animations'; @import 'footer'; @import 'contact'; @import 'forms'; @import 'sell'; @import 'search'; .container { max-width: 95vw; margin: 0 auto; } body { font-family: $cabin; overflow-x: hidden; } a { text-decoration: none; color: inherit; } #hero { min-height: 80vh; background-image: url("../graphics/garage.jpg"); background-position: center; background-repeat: no-repeat; background-size: cover; background-color: rgba(0,0,0,.7); background-blend-mode: multiply; width: 100%; #inner-hero { padding: 6rem 0; #top-call { text-align: center; color: #fff; padding: 0 1rem; margin: 0 auto; text-transform: uppercase; p { font-size: 16px; margin-bottom: 10px; line-height: 1.1; } h1 { font-size: 36px; font-weight: 700; margin-bottom: 15px; } .srchBtn { background: $red; color: #fff; padding: 10px 30px; text-align: center; display: inline-block; margin: 0 auto; &:hover { background-color: #fff; color: $grey; } } } } &.alt-hero { min-height: 350px; } &.locate-hero { background-image: url("../graphics/truck.jpg"); } &.contact-hero { background-image: url("../graphics/knolled.jpg"); } &.sell-hero { background-image: url("../graphics/contract.jpg"); } &.career-hero { background-image: url("../graphics/car.jpg"); } } #btm-hero-wrap { position: relative; #btm-hero-call { position: absolute; top: calc(-4rem - 1px); left: 50%; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); padding: 1rem; width: 80%; z-index: 0; h1 { font-size: 17px; color: #fff; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; text-align: center; padding: 1rem; background-image: url("../graphics/texture.png"); background-size: cover; background-repeat: no-repeat; background-color: rgba(0,0,0,.4); background-blend-mode: multiply; -webkit-box-shadow: 0px 3px 15px rgba(0,0,0,.8); box-shadow: 0px 3px 15px rgba(0,0,0,.8); &:nth-of-type(2) { background: $red; } } } } main { background-image: url("../graphics/metal.jpg"); background-color: rgba(white, .7); background-blend-mode: screen; padding-bottom: 2rem; } .call-out { padding: 2rem 10px; 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; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; h2 { color: $grey; font-size: 20px; margin: 10px 5px; } h1 { font-size: 38px; color: $grey; border-bottom: 2px solid $red; padding-bottom: 10px; } p { font-size: 15px; color: $grey + 30; margin: 10px 5px; line-height: 1.2; font-weight: 400; text-transform: none; } &.first { padding-top: 8rem; h2 { max-width: 40ch; } } &.locate-call-out { padding-top: 6rem; } } section { padding: 2rem 0; .inner-section { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center; width: 90%; margin: 0 auto; position: relative; .bg { width: 70vw; min-width: 250px; min-height: 400px; background-size: cover; background-repeat: no-repeat; background-position: center; background-image: url("../graphics/flat.jpg"); margin: 0 auto; position: relative; img { position: absolute; right: -50px; bottom: -20px; width: 85vw; max-width: 350px; } .bt { position: absolute; left: 0; top: -3px; width: 40px; height: 3px; background: $grey; -webkit-animation: btChange 5s linear infinite alternate; animation: btChange 5s linear infinite alternate; } .bl { position: absolute; left: -3px; top: -3px; height: 40px; width: 3px; background: $grey; -webkit-animation: blChange 5s linear infinite alternate; animation: blChange 5s linear infinite alternate; } .br { position: absolute; right: -3px; bottom: -3px; width: 3px; height: 40px; background: $grey; -webkit-animation: blChange 5s linear infinite alternate; animation: blChange 5s linear infinite alternate; } .bb { position: absolute; bottom: -3px; right: 0; width: 40px; height: 3px; background: $grey; -webkit-animation: btChange 5s linear infinite alternate; animation: btChange 5s linear infinite alternate; } &.third { background-image: url("../graphics/contract.jpg"); min-height: 400px; } } img { max-width: 100%; margin: 10px; -webkit-box-ordinal-group: 0; -ms-flex-order: -1; order: -1; } .info { margin: 40px auto; width: 70vw; min-width: 250px; 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; h2 { font-size: 21px; color: $red; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; padding-top: 10px; position: relative; &:before { content: ""; position: absolute; left: 0; top: -5px; width: 40px; /* or 100px */ border-bottom: 3px solid $grey; } } p { color: $grey + 20; font-size: 17px; line-height: 1.4; &.bold { text-transform: uppercase; font-weight: 700; margin: 10px 0; } } .srchBtn { background: $grey; color: #fff; padding: 10px 30px; text-align: center; display: inline-block; margin: 15px 0; text-transform: uppercase; max-width: 200px; &:hover { background-color: $red; color: #fff; } } h1 { font-size: 26px; font-weight: 700; color: $grey; letter-spacing: 1px; text-transform: uppercase; padding-bottom: 10px; position: relative; margin-bottom: 10px; &:after { content: ""; position: absolute; left: 0; bottom: -5px; width: 40px; /* or 100px */ border-bottom: 3px solid $red; -webkit-animation: pseudoChange 5s linear infinite alternate; animation: pseudoChange 5s linear infinite alternate; } } } } iframe#smid-vid { margin: 0 auto; min-height: 320px; width: 100%; } } #slider { min-height: 400px; width: 100%; position: relative; overflow: hidden; margin: 2em auto; box-shadow: 0px 0px 12px rgba($grey, .6); .slide { position: absolute; top: 0; left: 0; height: 100%; width: 100%; opacity: 0; background-size: cover; background-repeat: no-repeat; background-position: center; background-color: rgba(black, .4); background-blend-mode: multiply; background-attachment: fixed; scroll-behavior: smooth; z-index: 0; &:nth-of-type(1) { opacity: 1; background-image: url("../graphics/hoods.jpg"); -webkit-animation: sliderShow 15s both infinite; animation: sliderShow 15s both infinite; } &:nth-of-type(2) { background-image: url("../graphics/fence.jpg"); -webkit-animation: sliderShow 15s 5s both infinite; animation: sliderShow 15s 5s both infinite; } &:nth-of-type(3) { background-image: url("../graphics/shelf.jpg"); -webkit-animation: sliderShow 15s 10s both infinite; animation: sliderShow 15s 10s both infinite; } } #slide-call { color: #fff; z-index: 10000; h1 { font-size: 22px; margin: 20px; letter-spacing: 1px; font-weight: 700; text-transform: uppercase; position: absolute; top: 0; left: 0; &:nth-of-type(2) { font-size: 28px; position: absolute; bottom: 0; right: 0; top: auto; left: auto; text-align: right; -webkit-transform: skewX(-4deg); -ms-transform: skewX(-4deg); transform: skewX(-4deg); } } } } #btm-call { min-height: 80vh; background: $red; padding: 2rem 0; #inner-btm-call { color: #fff; letter-spacing: 1px; font-weight: 700; text-transform: uppercase; text-align: center; width: 100%; h2 { margin-bottom: 5px; font-size: 21px; } h1 { font-size: 36px; margin: 0 auto 5px; max-width: 10ch; } p { margin: 10px auto 0; line-height: 1.4; max-width: 76ch; font-size: 15px; padding: 1rem; text-transform: none; font-weight: 400; } img { max-width: 95%; margin: 30px auto; display: block; } .srchBtn { background: $grey; color: #fff; padding: 10px 30px; text-align: center; display: inline-block; margin: 15px auto 0; text-transform: uppercase; max-width: 200px; &:hover { background-color: #fff; color: $red; } } } } /*emp application*/ #application { display: flex; justify-content: center; align-items: center; margin: 2em 1em; a { background: $grey; font-size: 16px; color: #fff; padding: 1em 2em; &:hover { background: $red; } } } @media all and (min-width: 800px) { #hero { #inner-hero { #top-call { p { font-size: 21px; margin-bottom: 5px; } h1 { font-size: 54px; margin-bottom: 10px; } .srchBtn { padding: 15px 50px; } } } } #btm-hero-wrap { #btm-hero-call { width: 600px; top: calc(-4rem - 8px); h1 { font-size: 24px; font-weight: 700; text-align: center; } } } .call-out { h2 { font-size: 26px; } h1 { font-size: 54px; } p { font-size: 16px; } } section { padding: 2rem 0 5rem 0; .inner-section { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; width: 85%; .bg { width: 70vw; max-width: 100%; min-height: 550px; -webkit-box-flex: 1.25; -ms-flex: 1.25; flex: 1.25; position: relative; &.second { min-height: 300px; } img { position: absolute; right: -400px; bottom: -20px; max-width: 700px; } } img { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-item-align: center; align-self: center; max-width: 800px; &#second { -webkit-box-ordinal-group: 3; -ms-flex-order: 2; order: 2; } } .info { margin: 30px 0 0 60px; width: 70vw; max-width: 400px; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; position: relative; h2 { font-size: 24px; } p { color: $grey + 20; font-size: 18px; line-height: 1.4; } h1 { font-size: 44px; } &.second { margin: 30px 60px 0 0; } } } iframe#smid-vid { 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; margin: 0 auto; min-height: 430px; width: 85%; } } #slider { #slide-call { margin: 20px; h1 { font-size: 38px; max-width: 20ch; &:nth-of-type(2) { font-size: 52px; } } } } #btm-call { #inner-btm-call { h2 { font-size: 28px; } h1 { font-size: 54px; max-width: none; } p { font-size: 17px; max-width: 76ch; } } } /*emp application*/ #application { a { font-size: 21px; padding: 1em 2em; } } }