/* Scss Document */ @import 'reset'; @import 'variables'; @import 'header'; @import 'footer'; @import 'location'; @import 'contact'; @import 'about'; body { font-family: $font2; position: relative; overflow-x: hidden; } a { text-decoration: none; color: inherit; &:hover { color: inherit; } } .container { max-width: 1200px; margin: 0 auto; padding: 0 35px; } #social-widget { position: fixed; top: 200px; right: 0; opacity: 0; -webkit-transform: translateX(100%); -ms-transform: translateX(100%); transform: translateX(100%); z-index: 500; &.active { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-animation: widgetShow .2s linear; animation: widgetShow .2s linear; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; } .widget { padding: 15px; 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-transition: .2s all ease-in-out; -o-transition: .2s all ease-in-out; transition: .2s all ease-in-out; border: 1px solid #fff; position: relative; &:nth-of-type(1) { background: #3B5998; } &:nth-of-type(2) { background: $red - 60; border-top: none; border-bottom: none; } &:nth-of-type(3) { background: $green - 50; } &:hover { background: $grey; transform: translateX(-5px); } i { color: #fff; } } } @-webkit-keyframes widgetShow { 100% { -webkit-transform: none; transform: none; opacity: 1; } } @keyframes widgetShow { 100% { -webkit-transform: none; transform: none; opacity: 1; } } #top-call { #inner-top-call { 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: end; -ms-flex-align: end; align-items: flex-end; min-height: 650px; &.contact-top-call { align-items: flex-start; min-height: 580px; h1, p { text-align: left; } h1 { color: $red - 70; } } h1 { font-size: 32px; margin: 10px 0; letter-spacing: 1px; } p { margin: 10px 0; line-height: 1.3; max-width: 55ch; text-align: right; font-size: 21px; } #srchBtn { padding: 10px 50px; background: $darkred; width: 200px; text-align: center; position: relative; text-transform: uppercase; font-size: 21px; margin: 10px 0; color: #fff; -webkit-transition: .2s all ease-in-out; -o-transition: .2s all ease-in-out; transition: .2s all ease-in-out; &:hover { background: $grey; } a { position: absolute; top: 0; left: 0; height: 100%; width: 100%; } } } } #first-call { padding: 20px 0 35px; background: $grey; color: #fff; h2 { margin: 10px 0; font-size: 24px; text-transform: uppercase; } p { max-width: 55ch; font-size: 32px; line-height: 1.5; } } #mid-call { padding: 3rem 0; text-align: center; h1 { margin: 15px 0; font-size: 32px; letter-spacing: 1px; } p { margin: 15px auto; font-size: 20px; max-width: 77ch; line-height: 1.5; } } .split-sec { display: -webkit-box; display: -ms-flexbox; display: flex; .photo { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; width: 100%; height: 24vw; background-size: cover; background-position: center; background-repeat: no-repeat; background-image: url("../graphics/yard.jpg"); -webkit-transform: scaleX(-1); -ms-transform: scaleX(-1); transform: scaleX(-1); &:nth-of-type(2) { background-image: url("../graphics/Capture.JPG"); -webkit-transform: none; -ms-transform: none; transform: none; } } } .split-info-wrap { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; .split-info { width: 100%; margin: 20px 10px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; h1 { font-size: 32px; color: $grey; font-weight: 700; margin: 10px 0; } p { line-height: 1.5; max-width: 48ch; margin: 10px 0; font-size: 19px; } ul.split-list { display: -webkit-box; display: -ms-flexbox; display: flex; width: 100%; li { font-size: 16px; margin: 10px 5px; text-align: right; } &#uhaul-list { -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; } } a.btn { margin: 15px 0; padding: 20px 25px; background: $red - 80; color: #fff; text-align: center; width: 250px; text-transform: uppercase; -webkit-transition: .2s all ease-in-out; -o-transition: .2s all ease-in-out; transition: .2s all ease-in-out; font-size: 21px; &:hover { background: $grey; } } &:nth-of-type(2) { 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: end; -ms-flex-align: end; align-items: flex-end; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; text-align: right; } } } .services { background: #eee; padding: 2rem 0; h1 { text-align: center; margin: 30px 0 50px; text-transform: uppercase; font-size: 32px; span { font-weight: 700; } } .inner-services { display: -webkit-box; display: -ms-flexbox; display: flex; .service-bg { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; height: 400px; background-size: cover; background-repeat: no-repeat; background-position: center; margin: 5px; -webkit-box-shadow: 0px 0px 12px rgba(0,0,0,.3); box-shadow: 0px 0px 12px rgba(0,0,0,.3); .service-info { 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%; background: rgba(0,0,0,.9); color: #fff; padding: 20px; h1 { font-size: 22px; width: 100%; line-height: 1.3; text-align: left; } p { display: none; margin: 15px 10px; line-height: 1.5; } } &:hover { .service-info { > p { display: block; } } } &:nth-of-type(1) { background-image: url("../graphics/road.jpg"); } &:nth-of-type(2) { background-image: url("../graphics/rims.png"); } &:nth-of-type(3) { background-image: url("../graphics/row.jpg"); } } } } .bottom-sec { margin: 50px 0; h1 { font-size: 44px; text-align: center; margin: 20px 0; color: $grey; } .btm-logos { 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; margin: 25px 0; img { max-width: 200px; margin: 0 15px; } &:nth-of-type(2) { -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; img { margin: 0 65px; } } } } #footer-top { background: $grey; #inner-footer-top { 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; padding: 50px 0; h1 { text-align: center; margin: 20px 0; color: #fff; font-size: 24px; line-height: 1.6; max-width: 66ch; } #top-footer-btns { display: -webkit-box; display: -ms-flexbox; display: flex; margin: 20px 0; .btn { padding: 15px 40px; border: 3px solid #fff; color: #fff; text-transform: uppercase; font-size: 22px; margin: 0 20px; position: relative; a { position: absolute; top: 0; left: 0; height: 100%; width: 100%; } &:hover { background: #fff; color: $grey; } } } } } @media all and (max-width: 950px) { .hero { background-color: rgba(255,255,255,.7); background-blend-mode: screen; -webkit-transition: .2s all ease-in-out; -o-transition: .2s all ease-in-out; transition: .2s all ease-in-out; } #top-call { #inner-top-call { min-height: 750px; h1 { font-size: 24px; text-align: right; } p { font-size: 18px; } } } #first-call { h2 { font-size: 21px; } p { font-size: 24px; } } .split-sec { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; .photo { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; width: 100%; height: 350px; } } .split-info-wrap { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; .split-info { &:nth-of-type(2) { -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; text-align: left; ul.split-list { &#uhaul-list { -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; } } } } } .inner-services { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } } @media all and (max-width: 767px) { #first-call { padding: 10px 0 25px; border-bottom: 2px solid $royal; h2 { margin: 5px 0; font-size: 21px; } h1 { max-width: 65ch; font-size: 28px; line-height: 1.4; } } .bottom-sec { .btm-logos { -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; margin: 25px 0; img { max-width: 90px; margin: 0 10px; } &:nth-of-type(2) { img { margin: 0 15px; } } } } #footer-top { #inner-footer-top { padding: 35px 10px; h1 { margin: 10px 0; font-size: 22px; } #top-footer-btns { margin: 10px 0; .btn { padding: 7px 10px; color: #fff; font-size: 14px; text-align: center; margin: 0 5px; border: 2px solid #fff; } } } } } @media all and (max-width: 767px) { .container { padding: 0 15px; } #social-widget { .widget { padding: 14px; i { font-size: 12px; } } } } /*added later*/ .bg-front { height: 450px; width: 100%; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; border-top: 5px solid #fff; border-bottom: 5px solid $red; background-image: url("../graphics/front.JPG"); } @media all and (max-width: 675px) { .bg-front { } }