/* Scss Document */ @import 'reset'; @import 'variables'; @import 'header'; @import 'footer'; body { font-family: $font2; overflow-x: hidden; background-image: url("../graphics/logo_op.png"); background-color: $red - 20; background-attachment: fixed; } .container { max-width: 1000px; margin: 0 auto; } a { color: inherit; text-decoration: none; &:hover { color: inherit; } } .main { padding: 10px 20px 20px; background: #fff; img { max-width: 100%; height: auto; } h1 { margin: 10px; font-weight: 700; max-width: 40ch; font-size: 62px; color: $grey; span { color: $red; } } p { line-height: 1.6; text-align: justify; max-width: 80%; margin: 20px 10px; font-size: 17px; } h2.red { margin: 20px 10px; color: $red; font-size: 41px; text-align: center; font-weight: 700; } h2.grey { font-size: 26px; margin: 50px 10px 0; text-align: center; } .other-yards { 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; a { margin: 20px; } } } #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; background-image: url("../graphics/bg.png"); background-size: cover; background-repeat: no-repeat; background-position: center; background-attachment: fixed; background-color: rgba($grey, .8); background-blend-mode: multiply; padding: 60px 0; color: #fff; .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: 0 10px; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; i { font-size: 32px; height: 70px; width: 70px; background: $grey; color: #fff; border-radius: 50%; 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; } h1 { font-size: 24px; margin: 5px 0; line-height: 1.1; } p { font-family: $font1; max-width: 30ch; margin: 5px 0; line-height: 1.2; } } } /*@media all and (max-width: 880px) { #hero { #top-call { padding: 2rem 10px; h1 { font-size: 28px; } p { font-size: 16px; } } } #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; .service-list { margin: 10px 0; p { max-width: 90%; text-align: center; } } } }*/