/* Scss Document */ @import 'reset'; @import 'variables'; @import 'header'; @import 'footer'; @import 'location'; body { font-family: $font2; overflow-x: hidden; background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee)); background: -webkit-linear-gradient(#fff, #eee); background: -o-linear-gradient(#fff, #eee); background: linear-gradient(#fff, #eee); } a { color: inherit; text-decoration: none; } .container { max-width: 1200px; margin: 0 auto; padding: 0 10px; } #nav { background: $red; -webkit-box-shadow: 0px 2px 4px rgba(0,0,0,.6); box-shadow: 0px 2px 4px rgba(0,0,0,.6); 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 { text-transform: uppercase; padding: 10px 30px; font-size: 21px; font-weight: 600; letter-spacing: 1px; color: #fff; border-left: 1px solid #fff; border-right: 1px solid #fff; &:nth-of-type(2) { border-left: none; } &:hover { background: $grey; } } } #inner-hero { display: -webkit-box; display: -ms-flexbox; display: flex; margin: 30px 0 10px; > div { min-height: 280px; margin: 0 10px; border: 4px solid $grey; -webkit-box-shadow: 0px 3px 5px rgba($grey, .6); box-shadow: 0px 3px 5px rgba($grey, .6); } #left-hero { width: 65%; background: url("../graphics/screen.JPG"); background-size: cover; background-repeat: no-repeat; } #right-hero { width: 35%; background: $red; 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: 42px; font-weight: 700; text-shadow: 0px 1px 2px $grey; letter-spacing: 1px; color: #fff; margin: 10px; padding-bottom: 5px; border-bottom: 1px solid $grey; } p { text-align: justify; margin: 10px; line-height: 1.2; color: #fff; } } } h1#mid-call { text-align: center; margin: 10px 0; font-size: 44px; font-weight: 700; color: $grey; span { color: $red; } } p.mid-call { margin: 20px auto; text-align: center; font-size: 17px; line-height: 1.7; max-width: 88ch; letter-spacing: 1px; &.bold { font-size: 24px; font-weight: 700; letter-spacing: 2px; max-width: 60ch; color: $red; &:nth-of-type(2) { font-size: 24px; color: $grey; } &:nth-of-type(3) { font-size: 8vw; } } } #info { padding: 2rem 0 1rem; } /*map*/ iframe { height: 310px; width: 100%; -webkit-transition: .2s all ease-in-out; -o-transition: .2s all ease-in-out; transition: .2s all ease-in-out; box-shadow: 0px 2px 5px rgba(0,0,0,.6); margin: 20px 0; &:hover { height: 420px; } } #directions { #inner-directions { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; padding: 10px 5px 30px; img { max-width: 100%; margin: 5px; padding: 5px; border: 1px solid $grey; } ul.direction-list { margin: 10px 50px; li { max-width: 35ch; list-style: disc outside; line-height: 1.5; &.title { list-style: none; font-size: 24px; color: $grey; font-weight: 700; span { color: $red; } } } } } } @media all and (max-width: 950px) { #directions { #inner-directions { -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; ul.direction-list { li { max-width: none; } } } } } @media all and (max-width: 767px) { #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; margin: 10px 0; > div { margin: 10px 0; } #left-hero { width: 100%; } #right-hero { width: 100%; } } #info { padding: 5px; } p.mid-call { font-size: 16px; &.bold { font-size: 21px; &:nth-of-type(3) { font-size: 13vw; } } } }