/* Scss Document */ @import 'reset'; @import 'variables'; @import 'header'; @import 'footer'; @import 'contact'; body { font-family: $font2; overflow-x: hidden; opacity: 0; -webkit-animation: fadeInUp 1s linear; animation: fadeInUp 1s linear; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; } a { text-decoration: none; color: inherit; &:hover { color: inherit; } } .container { max-width: 90vw; margin: 0 auto; padding: 0 5px; } @-webkit-keyframes fadeInUp { 100% { opacity: 1; -webkit-transform: none; transform: none; } } @keyframes fadeInUp { 100% { opacity: 1; -webkit-transform: none; transform: none; } } #hero { background: -webkit-linear-gradient(280deg, $grey 49.9%, $grey - 20 50.0%); background: -o-linear-gradient(280deg, $grey 49.9%, $grey - 20 50.0%); background: linear-gradient(170deg, $grey 49.9%, $grey - 20 50.0%); #inner-hero { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-pack: distribute; justify-content: space-around; -webkit-box-align: center; -ms-flex-align: center; align-items: center; position: relative; padding: 3rem 0; margin-top: -5px; min-height: 300px; #inner-hero-content { padding: 2rem 0; z-index: 200; min-height: 300px; h1 { font-weight: 700; font-size: 56px; color: #fff; margin: 1rem 0; line-height: 1.2; span { color: $lime; } } p { color: #fff; margin: 1rem 0; letter-spacing: 1px; max-width: 66ch; line-height: 1.4; font-size: 17px; font-family: $font1; } #srchBtns { display: -webkit-box; display: -ms-flexbox; display: flex; margin: 1rem 0 0 -1rem; a { text-align: center; margin: 0 1rem; padding: 10px 40px; font-size: 17px; -webkit-transition: .1s all ease-in-out; -o-transition: .1s all ease-in-out; transition: .1s all ease-in-out; &#partsBtn { background: $lime; color: $grey - 40; &:hover { background: $lime - 70; color: #fff; }; } &#contactBtn { background: #fff; color: $grey - 40; &:hover { background: $grey - 30; color: #fff; }; } } } } #bg { background-repeat: no-repeat; background-size: contain; background-image: url("../graphics/engine2.png"); background-position: center; min-height: 300px; margin: 0 1rem; width: 30%; } } &.other { background-image: url("../graphics/contract.jpg"); background-repeat: no-repeat; background-position: center; background-size: cover; background-color: rgba(0,0,0,.6); background-blend-mode: multiply; #inner-hero { -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; padding: 1rem 0 2rem; #inner-hero-content { min-height: 0; padding: 1rem 0; h1 { span { color: #fff; } } } } } &.contact-hero { background-image: url("../graphics/contact.jpg"); background-repeat: no-repeat; background-position: 50% 70%; background-size: cover; background-color: rgba(0,0,0,.6); } &.about-hero { background: url("../graphics/dark.jpg"); background-size: cover; background-color: $lime; background-blend-mode: multiply; } &.locate-hero { min-height: 350px; background: none; iframe { width: 100%; min-height: 350px; } } } article { padding: 0; background: $grey - 30; &.main { height: auto; .services { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; width: 100%; padding: 1rem 0 2rem; .search-sec { 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: start; -ms-flex-pack: start; justify-content: flex-start; -webkit-box-align: center; -ms-flex-align: center; align-items: center; text-align: center; padding: 10px; -webkit-transition: .2s all ease-in-out; -o-transition: .2s all ease-in-out; transition: .2s all ease-in-out; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; i { margin: 10px; color: #fff; font-size: 44px; } h1 { font-size: 26px; margin: 10px; font-weight: 700; color: $lime; letter-spacing: 1px; } p { font-size: 16px; margin: 10px; border-bottom: none; color: #fff; max-width: 90%; font-family: $font1; line-height: 1.4; } } } } &.main-two { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-pack: distribute; justify-content: space-around; -webkit-box-align: center; -ms-flex-align: center; align-items: center; background: $lime - 20; min-height: 600px; &.about { background: #fff; min-height: 0; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; .info-wrap { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; -ms-flex-pack: distribute; justify-content: space-around; .info-sec { margin: 5px 10px; img { max-width: 100%; } &.directions { p { line-height: 1.2; &:nth-of-type(1) { font-weight: 700; }; } } } } .article-call { h1, p { color: $grey; margin: 15px auto; } p { max-width: 77ch; } } } .article-call { padding: 3rem 1rem 3rem 2rem; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; h1 { font-size: 28px; color: #fff; margin: 15px 0; font-weight: 700; line-height: 1.2; span { color: $grey - 20; font-style: italic; &#thirty { color: $lime - 50; } } } p { line-height: 1.8; color: $grey - 60; margin: 10px 0; font-size: 18px; max-width: 50ch; font-family: $font1; } .srchBtn { display: inline-block; width: 180px; text-align: center; padding: 15px; background: #fff; color: $grey; font-weight: 700; font-size: 18px; text-transform: uppercase; -webkit-transition: .1s all ease-in-out; -o-transition: .1s all ease-in-out; transition: .1s all ease-in-out; border-radius: 2px; margin: 10px 0 0; &:hover { background: $grey - 50; color: #fff; } } } .bg { background-image: url("../graphics/aerial.JPG"); background-size: cover; background-repeat: no-repeat; background-position: center; -webkit-box-flex: 1.5; -ms-flex: 1.5; flex: 1.5; min-height: 600px; } } } @media all and (max-width: 767px) { #hero { #inner-hero { -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; #inner-hero-content { h1 { font-size: 32px; } } #bg { width: 75%; } } } article { &.main { .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; .search-sec { i { font-size: 28px; } h1 { font-size: 22px; } p { max-width: 70%; } } } } &.main-two { -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; &.about { .info-wrap { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } } .article-call { h1 { font-size: 22px; } p { font-size: 16px; max-width: 100%; } } .bg { height: 60vw; min-height: 0; width: 100vw; } } } .chat-box { right: 10%; } }