/* Scss Document */ @import 'reset'; @import 'variables'; @import 'header'; @import 'footer'; @import 'location'; @import 'contact'; @import 'cut-sheets'; @import 'hidden'; @import 'side-by-side'; 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 5px; } #hero { position: relative; min-height: 450px; width: 100%; position: relative; padding: 10px 0; .pic { position: absolute; top: 0; left: 0; height: 100%; width: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; background-color: $grey + 40; background-blend-mode: multiply; opacity: 0; &:nth-of-type(1) { background-image: url("../graphics/sup2.JPG"); animation: fader 18s infinite both; } &:nth-of-type(2) { background-image: url("../graphics/sup1.jpg"); animation: fader 18s 6s infinite both; } &:nth-of-type(3) { background-image: url("../graphics/garagsm.jpg"); animation: fader 18s 12s infinite both; } } &.other-hero { background-image: url("../graphics/dark.jpg"); background-color: $grey + 80; background-blend-mode: multiply; background-position: center 70%; background-size: cover; background-repeat: no-repeat; min-height: 350px; &.contact-hero { background-image: url("../graphics/contact.jpg"); } &.sell-hero { background-image: url("../graphics/contract.jpg"); } #inner-hero { min-height: 300px; } } #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; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; position: relative; min-height: 400px; z-index: 400; &.other-inner-hero { min-height: 250px; #top-call { h1 { font-size: 42px; } } } #top-call { color: #fff; #top-icons { margin: 10px; i { margin: 0 10px; font-size: 32px; &:nth-of-type(1) { margin-left: 0; } } } h1 { font-size: 42px; margin: 10px; text-shadow: 0px 2px 4px rgba(0,0,0,.5); } p { font-size: 21px; max-width: 66ch; margin: 10px; line-height: 1.5; text-shadow: 0px 1px 3px rgba(0,0,0,.5); } #srchBtn { display: inline-block; width: 180px; padding: 15px; text-align: center; color: #fff; letter-spacing: 2px; font-size: 18px; text-transform: uppercase; margin: 10px; -webkit-transition: .2s all ease-in-out; -o-transition: .2s all ease-in-out; transition: .2s all ease-in-out; border: 3px solid #fff; &:hover { background: $blue - 40; color: #fff; } } } } } @keyframes fader { 33% { opacity: 1; } 66% { opacity: 0; } } .three-group { 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; .two-group { display: -webkit-box; display: -ms-flexbox; display: flex; width: 100%; .two-sec { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; min-height: 350px; background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; &:nth-of-type(1) { margin-right: 10px; background-image: url("../graphics/shifter1.jpg"); } &:nth-of-type(2) { margin-left: 10px; background-image: url("../graphics/mech1.jpg"); } .abso-sec { position: absolute; bottom: calc(-25% - 15px); left: 50%; padding: 2rem; width: 80%; margin: 0 auto; background-image: url("../graphics/metalbg.jpg"); background-size: cover; background-repeat: no-repeat; background-position: center; background-color: rgba($grey, .75); background-blend-mode: multiply; border: 15px solid #fff; min-height: 100px; 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; opacity: 0; -webkit-transform: translate(-50%, 70px); -ms-transform: translate(-50%, 70px); transform: translate(-50%, 70px); -webkit-transition: .3s all ease-in-out; -o-transition: .3s all ease-in-out; transition: .3s all ease-in-out; &.active { -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); opacity: 1; } h1 { text-align: center; font-weight: 700; font-size: 46px; letter-spacing: 2px; color: #fff; text-transform: uppercase; margin: 5px; } p { text-align: center; margin: 5px; font-size: 21px; font-style: italic; letter-spacing: 1px; color: #fff; } } } } .large-sec { min-height: 540px; width: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; -webkit-box-align: center; -ms-flex-align: center; align-items: center; background-size: cover; background-position: center 80%; background-repeat: no-repeat; background-image: url("../graphics/lotdark.jpg"); background-color: rgba(0,0,0,.5); background-blend-mode: multiply; margin: 20px; .large-sec-info { color: #fff; margin: 60px 60px 0 0; opacity: 0; -webkit-transform: translateY(70px); -ms-transform: translateY(70px); transform: translateY(70px); -webkit-transition: .3s all ease-in-out; -o-transition: .3s all ease-in-out; transition: .3s all ease-in-out; &.active { -webkit-transform: none; -ms-transform: none; transform: none; opacity: 1; } h1 { font-size: 34px; margin: 10px; text-transform: uppercase; } p { font-size: 19px; line-height: 1.8; max-width: 60ch; margin: 10px; font-family: $font1; color: $silver - 40; } } } } article { &.main { padding: 2rem 0; height: auto; } &.main-two { padding: 4rem 0; background: $grey + 30; } } .article-call { padding: 1rem 1rem 2rem; text-align: center; h1 { font-size: 44px; color: #fff; margin: 10px; } p { line-height: 1.6; color: #fff; margin: 10px auto; padding-bottom: 20px; font-size: 21px; max-width: 82ch; border-bottom: 3px solid #fff; } img { margin: -10px 10px 10px; max-width: 90%; } } #services { 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; margin-bottom: 50px; opacity: 0; -webkit-transform: translateY(70px); -ms-transform: translateY(70px); transform: translateY(70px); -webkit-transition: .5s all ease-in-out; -o-transition: .5s all ease-in-out; transition: .5s all ease-in-out; &.active { -webkit-transform: none; -ms-transform: none; transform: none; opacity: 1; } .service-list { 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; margin: 15px; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; i { font-size: 24px; color: $red - 20; margin: 5px; } h1 { font-size: 24px; text-transform: uppercase; margin: 5px 0; line-height: 1.1; color: $grey; } p { font-family: $font1; max-width: 40ch; margin: 5px 0; line-height: 1.4; color: $grey; } } } #wanted { display: flex; justify-content: center; align-items: flex-start; padding: 1rem 0; margin-bottom: 2rem; transition: .6s all ease-in-out; transform: translateY(40px); opacity: 0; &.active { opacity: 1; transform: none; } #wanted-info { display: flex; flex-direction: column; margin: 0 15px 5px 0; flex: 1; h1 { font-family: $western; font-size: 34px; line-height: 1.2; color: $blue - 80; margin: 15px; text-transform: uppercase; span { font-style: italic; color: $red - 20; font-size: 32px; } } p { margin: 5px 15px; max-width: 66ch; line-height: 1.6; } a { margin: 5px 15px; color: #fff; font-weight: 700; font-size: 18px; background: $red; padding: 5px; width: 150px; text-align: center; &:hover { background: $blue - 60; } } } .bg { margin: 5px 0 5px 15px; display: flex; background-image: url("../graphics/contract.jpg"); background-size: cover; background-repeat: no-repeat; background-position: center; background-color: rgba($grey, .6); background-blend-mode: multiply; flex: 1.5; min-height: 280px; } } .btm-sec { min-height: 330px; background-size: cover; background-repeat: no-repeat; background-position: center; background-image: url("../graphics/bay.jpg"); background-color: rgba($grey, .85); background-blend-mode: multiply; margin-bottom: 50px; opacity: 0; -webkit-transition: .7s all ease-in-out; -o-transition: .7s all ease-in-out; transition: .7s all ease-in-out; #inner-btm { 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; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; min-height: 300px; color: #fff; text-align: center; h1 { margin: 10px; font-weight: 700; font-size: 42px; letter-spacing: 1px; text-shadow: 0px 0px 1px 1px rgba(0,0,0,.6); text-transform: uppercase; } h2 { font-size: 28px; margin: 10px; } a { max-width: 55ch; margin: 10px; font-size: 18px; line-height: 1.4; padding: 10px 30px; border: 2px solid #fff; -webkit-transition: .2s all ease-in-out; -o-transition: .2s all ease-in-out; transition: .2s all ease-in-out; &:hover { background: $blue - 50; } } } &.active { opacity: 1; } } #chat-wrap { display: none; } @media all and (max-width: 885px) { #chat-wrap { position: fixed; bottom: 20px; right: 20px; display: flex; transition: .1s all ease-in-out; &:hover { transform: scale(1.05); }; #chat-btn { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 10px; background: rgba($grey, .3); i { font-size: 36px; color: $blue; } p { text-align: center; font-size: 18px; margin: 5px 0; color: #fff; } } } #hero { #inner-hero { #top-call { #top-icons { i { font-size: 26px; } } h1 { font-size: 32px; } p { font-size: 15px; } } } } .three-group { .two-group { -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; .two-sec { width: 100%; margin: 20px 0; .abso-sec { bottom: 25px; padding: 1rem; width: 70%; h1 { font-size: 24px; } } } } } #wanted { flex-direction: column; justify-content: center; align-items: center; padding: 0 0 1rem; #wanted-info { text-align: center; h1 { font-size: 32px; span { font-size: 28px; } } p { margin: 10px auto; font-size: 18px; } a { margin: 10px auto; } } .bg { width: 100%; margin: 10px; } } #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; } .btm-sec { #inner-btm { h1 { font-size: 28px; } } } article { .article-call { h1 { font-size: 32px; } p { font-size: 18px; } } } }