.main { width: 100%; height: 100vh; background-repeat: no-repeat; background-size: cover; position: relative; transition: all 0.3s ease; background-color: #f6f6f6; #slides, #resized, #fullScreen{ z-index: 0; .slides-caption { text-align: left; width: 350px; height: 100%; position: absolute; right: 18%; color: $main-dark-color; top: 0; display: -ms-flexbox; display: flex; -ms-flex-pack: center; justify-content: center; -ms-flex-direction: column; flex-direction: column; -ms-flex-align: end; align-items: flex-end; h1 { margin-top: 25px; width: 100%; text-transform: uppercase; text-decoration: underline; } p { margin-top: 25px; width: 100%; font-family: $AkzidenzGroteskStd-Regular; span:first-child { font-family: $AksidenzGroteskStd-Bold; } } &--left { left: 18%; } } } &__counter { position: absolute; top: 45%; left: 40px; font-size: 3.4vw; color: $main-dark-color; text-decoration: underline; } &__pageName { color: $main-dark-color; height: calc(100% - 140px); position: absolute; right: 13%; text-align: right; top: 40px; width: 450px; z-index: 3; > div { padding: 20px; width: 100%; } .top { background: $main-color; color: #fff; height: 40%; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; -ms-flex-pack: center; justify-content: center; -ms-flex-align: end; align-items: flex-end; h1 { margin-top: 25px; width: 100%; text-transform: uppercase; text-decoration: underline; font-size: 3vw; } img { width: 80px; height: auto; } } .bottom { background: #fff; height: 60%; p { margin-top: 25px; font-family: $AkzidenzGroteskStd-Regular; } ul { font-family: $AkzidenzGroteskStd-Regular; list-style-type: none; } } &--centered { text-align: center; right: 0; left: 0; margin: auto; img { width: 100px; margin: 0 auto; } } } &__content { padding: 40px 0px; position: fixed; z-index: 5; top: 0; width: 100%; } &__logo { width: 135px; display: inline-block; background: $main-color; text-align: right; padding: 9px; height: 40px; position: fixed; z-index: 2; img { width: 65px; height: auto; } } &__user { position: fixed; z-index: 2; right: 0; bottom: 40px; background: $main-color; padding: 10px; width: 40px; height: 40px; img { width: 20px; height: 20px; } } .slides { display: -ms-flexbox; display: flex; width: 100%; position: absolute; bottom: 0; z-index: 3; &__navigation { padding: 20px; margin: auto; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; height: 60px; background: #fff; a { cursor: pointer; } .wrapper { display: -ms-flexbox; display: flex; } .spliter { height: 22px; display: inline-block; width: 2px; background: $main-dark-color; } img { height: 18px; margin: 0px 10px; } .count { margin-left: 10px; color: $main-dark-color; font-family: $AkzidenzGroteskStd-Regular; label { margin: 0px; } .current { font-family: $AksidenzGroteskStd-BoldCn; } } .pageIndicator { margin-left: 20px; color: $main-dark-color; font-family: $AkzidenzGroteskStd-Regular; } .scroll { position: absolute; top: 20px; left: calc(50% - 11px) ; height: 22px; margin: 0px; } } } .pages { display: -ms-flexbox; display: flex; width: 100%; position: absolute; bottom: 60px; &__navigation { margin: auto; background: #fff; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; height: 60px; font-family: $AkzidenzGroteskStd-Regular; a { padding: 10px 0px; -ms-flex: 1; flex: 1; text-align: center; cursor: pointer; color: $main-dark-color; border-right: 1px solid $main-dark-color; &:last-child { border: none; } } .wrapper { display: -ms-flexbox; display: flex; } .spliter { height: 22px; display: inline-block; width: 2px; background: $main-dark-color; } img { height: 18px; margin: 0px 10px; } .count { margin-left: 10px; color: $main-dark-color; font-family: $AkzidenzGroteskStd-Regular; label { margin: 0px; } .current { font-family: $AksidenzGroteskStd-BoldCn; } } .pageIndicator { margin-left: 20px; color: $main-dark-color; font-family: $AkzidenzGroteskStd-Regular; } .scroll { position: absolute; top: 20px; left: calc(50% - 11px); height: 22px; margin: 0px; } } } } .main__menuToggle { background: $main-color; cursor: pointer; cursor: pointer; height: 40px; position: fixed; right: 0; top: 40px; transform: rotate(0deg); transition: .5s ease-in-out; width: 40px; z-index: 9; span { display: block; width: 18px; height: 1px; position: absolute; background: #fff; opacity: 1; left: 30%; transform: rotate(0deg); transition: .25s ease-in-out; } span:nth-child(1) { top: 12px; } span:nth-child(2) { top: 20px; } span:nth-child(3) { top: 28px; } &--open { background: #fff; span { background: $main-dark-color; } span:nth-child(1) { top: 20px; transform: rotate(135deg); } span:nth-child(2) { opacity: 0; left: -60px; } span:nth-child(3) { top: 20px; transform: rotate(-135deg); } } } @media all and(max-width: $desktop-sm) { .main { #slides, #resized, #fullScreen{ z-index: 0; .slides-caption { width: 250px; } } &__counter { top: 60px; left: 10px; font-size: 35px; } &__content { padding: 0px; background: $main-color; height: 40px; } &__logo { text-align: left; } &__pageName { right: 0%; height: calc(100% - 100px); h1 { font-size: 35px; } &--centered { right: 0; } } &__user { top: 0px; right: 40px; border-right: 1px solid #fff; z-index: 6; } } .main__menuToggle { top: 0px; } } @media all and(max-width: $tablet) { .main { #slides, #resized, #fullScreen{ .slides-caption { width: 250px; -ms-flex-pack: end; justify-content: flex-end; left: 20px; } } .slides { &__navigation { .wrapper { -ms-flex-order: 2; order: 2; margin-left: auto; } } } &__pageName { display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; width: 100%; .top { width: 60%; -ms-flex-item-align: end; align-self: flex-end; h1 { font-size: 35px; } } &--centered { text-align: right; } } } } @media all and(max-width: 450px) { .main { #slides { z-index: 0; .slides-caption { left: 20px; width: 250px; } } .slides { &__navigation { } } } .main__menuToggle { top: 0px; } }