/* Scss Document */ @import 'reset'; @import 'variables'; @import 'header'; @import 'footer'; @import 'contact'; @import 'location'; body { font-family: $font1; overflow-x: hidden; } .container { max-width: 1200px; margin: 0 auto; padding: 0 10px; } .main-info { margin: 3rem 0; .top-info { 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; margin: 2rem 0; color: $grey; &#location-info, &#contact-info { justify-content: space-around; } #top-left { max-width: 50%; margin: 10px; &.locate-top-left { max-width: 80%; text-align: center; } h1 { font-size: 48px; font-weight: 700; font-family: $font2; line-height: 1.1; margin: 0 auto 10px; padding-bottom: 5px; border-bottom: 1px solid $grey; span { color: $tan; font-style: italic; } } p { max-width: 80ch; line-height: 1.4; } i { color: $grey; } a { color: $tan - 50; text-decoration: none; &:hover { color: $grey; } } } ul.top-list { max-width: 50%; margin: 0 10px; li { margin: 20px 0; max-width: 60ch; line-height: 1.4; position: relative; letter-spacing: 1px; span { font-family: $font2; font-size: 21px; font-weight: 700; border-bottom: 2px solid $tan; &.from-loc { font-size: 15px; border-bottom: none; } } } } } } #inner-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; > div { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; margin: 10px; } #services { 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: start; -ms-flex-align: start; align-items: flex-start; margin-top: -10px; p { margin: 10px 0; font-size: 21px; font-family: $font2; color: $tan; font-weight: 700; letter-spacing: 1px; max-width: 90%; span { margin: 3px 0; font-size: 15px; font-weight: 400; color: $grey; a { color: $tan; &:hover { color: $blue; } } } } } ul#service-photo { height: 350px; width: 50%; max-width: 600px; background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; -webkit-box-shadow: 0px 2px 5px rgba(black, .5); box-shadow: 0px 2px 5px rgba(black, .5); li { position: absolute; top: 0; left: 0; height: 100%; width: 100%; opacity: 0; &:nth-of-type(1) { background-image: url("../graphics/fade1.jpg"); -webkit-animation: serviceFade 12s infinite both; animation: serviceFade 12s infinite both; } &:nth-of-type(2) { background-image: url("../graphics/fade2.jpg"); -webkit-animation: serviceFade 12s 4s infinite both; animation: serviceFade 12s 4s infinite both; } &:nth-of-type(3) { background-image: url("../graphics/fade3.jpg"); -webkit-animation: serviceFade 12s 8s infinite both; animation: serviceFade 12s 8s infinite both; } } } } @-webkit-keyframes serviceFade { 33% { opacity: 1; } 66% { opacity: 0; } } @keyframes serviceFade { 33% { opacity: 1; } 66% { opacity: 0; } } #ebay-section { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; background: $grey; padding: 4rem 0; font-family: $font2; color: #fff; border-top: 6px solid $tan; border-bottom: 6px solid $tan; margin: 2rem 0; a { text-decoration: none; color: inherit; } p { font-size: 21px; max-width: 75ch; margin: 10px; line-height: 1.2; text-align: center; } #ebayBtn { padding: 15px 40px; border-radius: 8px; border: 3px solid $tan; text-align: center; 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; text-transform: uppercase; font-size: 18px; margin: 10px; -webkit-transition: .2s ease-in-out; -o-transition: .2s ease-in-out; transition: .2s ease-in-out; &:hover { padding: 15px 70px; background: #fff; color: $grey; } } } @media all and (max-width: 767px) { .main-info { .top-info { -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; #top-left { max-width: 100%; p { max-width: 100%; } } ul.top-list { max-width: 100%; li { max-width: 100%; } } } } #inner-services { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; ul#service-photo { width: 100%; max-width: none; } } #ebay-section { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } }