.header { background: #eaeaea; height: 100vh; position: relative; width: 100%; font-size: 0.8em; display: -ms-flexbox; display: flex; -ms-flex-pack: center; justify-content: center; min-height: 650px; .content { position: absolute; height: 100%; padding: 2.5%; width: 100%; z-index: 5; .slides { height: 100%; } .caption { display: -ms-flexbox; display: flex; -ms-flex-direction: row; flex-direction: row; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -ms-flex-pack: start; justify-content: flex-start; -ms-flex-line-pack: stretch; align-content: stretch; -ms-flex-align: center; align-items: center; font-size: 3em; height: 94%; position: absolute; width: 100%; .sub { font-family: $BrownBold; font-size: 0.2em; position: absolute; top: 65%; left: 0; a { color: inherit; display: inline-block; font-family: $SPHouseShowCard; font-size: 1.2em; margin-top: 30px; text-transform: uppercase; @include default-btn; } } } .arrow { bottom: 5%; left: 0; margin: auto; position: absolute; right: 0; text-align: center; width: 6vh; z-index: 2; img { width: 80%; height: auto; animation: bounce 2s infinite; } } } } .header .navigation { position: relative; text-align: center; width: 100%; font-size: 0.8em; .nav-wrapper { z-index: 4; .logo { z-index: 0; opacity: 0; height: 300px; left: 0; margin: auto; position: absolute; right: 0; top: -222px; transition: all 0.3s; display: none; } } .logo { height: 300%; left: 0; position: absolute; top: -50%; width: auto; } .mobile { cursor: pointer; float: right; height: 60px; margin-top: 1px; opacity: 0; overflow: hidden; position: fixed; right: 2.5%; transition: opacity 0.3s; visibility: hidden; width: 30px; z-index: 5; span { background: $main-color; cursor: inherit; display: block; height: 2px; margin: 5px 0; position: absolute; width: 30px; } } ul { list-style-type: none; margin: 0 auto; padding: 0px; width: 80%; li { display: inline; a { color: inherit; font-family: $SPHouseShowCard; margin: 0 2.5%; @include default-btn; } } } } .header .icon-slider { z-index: 7; width: 100%; position: absolute; -ms-flex-item-align: center; align-self: center; .single-item { .item { height: 300px; text-align: center; font-family: "brownbold" !important; img { height: 90%; } } .slick-current > img{ margin: auto; } } .controls { top: 35%; width: 100%; position: absolute; .next, .prev { position: inherit; height: 30px; cursor: pointer; } .next { right: 25%; } .prev { left: 25%; } } } @media (max-width: 800px) { .header .navigation { .logo { height: 65px; top: 15px; left: 2.5%; position: fixed; z-index: 3; } .mobile { opacity: 1; visibility: visible; z-index: 5; span { opacity: 1; 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; } } .nav-wrapper { position: fixed; top: 0; left: 0; background: black; opacity: 0; width: 100%; height: 100vh; z-index: -1; transition: all 0.3s; visibility: hidden; .logo { display: block; } ul { visibility: hidden; pointer-events: none; height: 100%; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -ms-flex-pack: center; justify-content: center; -ms-flex-line-pack: center; align-content: center; -ms-flex-align: center; align-items: center; font-size: 2em; li { margin: 3% 0; } } } &-open { .mobile { 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); } } .nav-wrapper { opacity: 1; z-index: 4; visibility: visible; ul { pointer-events: auto; } .logo { opacity: 1; } } } } .header .icon-slider { .controls { .next { right: 10%; } .prev { left: 10%; } } } }