@import 'shared'; @import 'loader'; $breakpoint: 1280px; $mobile-breakpoint-width: 450px; body { @extend %default-font; background: black; color: white; margin: 0; overflow: hidden; } :local(.bg) { background: radial-gradient(#222C41 0%, black 100%); top: 0; left: 0; position: absolute; width: 100%; height: 100%; z-index: -2; } :local(.ui) { display: flex; position: relative; flex-direction: column; } :local(.content) { display: flex; flex-direction: column; height: calc(100vh - 72px); align-items: center; justify-content: center; } :local(.header) { font-size: 1.1em; font-weight: bold; color: white; } :local(.header-links) { display: flex; margin: 24px 12px; @media(max-width: $mobile-breakpoint-width) { justify-content: space-between; } a { color: white; text-decoration: none; margin: 0px 18px; } } :local(.hero-pane) { display: flex; height: 100%; position: relative; justify-content: center; align-items: center; @media(max-width: $breakpoint) { flex-direction: column; } } :local(.spoke-logo) { position: relative; img { width: 400px; @media(max-width: $mobile-breakpoint-width) { width: 320px; } } } :local(.primary-tagline) { position: absolute; right: 6px; bottom: -8px; font-weight: bold; font-size: 1.7em; } :local(.secondary-tagline) { font-weight: lighter; font-size: 1.5em; text-align: center; margin-top: 48px; margin-left: 12px; margin-right: 12px; @media(max-width: $mobile-breakpoint-width) { font-size: 1.3em; } a { color: white; } } :local(.hero-message) { width: 600px; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; margin: 0 36px; @media(max-width: $breakpoint) { text-shadow: 0px 0px 4px rgba(0, 0, 0, 1.0); order: 2; width: 100%; margin: 32px 0; height: auto; } } :local(.hero-video) { display: flex; flex-direction: column; justify-content: center; position: relative; margin-left: 32px; flex: 1; z-index: -1; border-radius: 8px; @media(max-width: $breakpoint) { display: none; } } :local(.preview-video) { width: 90%; border-radius: 12px 0 0 12px; z-index: -1; } :local(.download-button) { @extend %action-button; @extend %wide-button; height: 64px; border-radius: 32px; background-color: $spoke-action-color; margin-top: 64px; display: flex; flex-direction: column; :local(.version) { font-size: 0.8em; font-weight: lighter; } } :local(.play-button), :local(.close-video) { @extend %action-button; background-color: $darker-grey; margin: auto; padding: 0px 82px; } :local(.tutorial-buttons) { margin-top: 64px; button { margin: 32px auto; } } :local(.close-video) { margin-top: 12px; } :local(.browse-versions) { color: $grey-text; margin-top: 12px; display: block; text-align: center; width: 100%; } :local(.thank-you) { text-align: center; a { color: $grey-text; } } :local(.player-overlay) { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); display: flex; justify-content: center; align-items: center; } :local(.player-content) { display: flex; flex-direction: column; align-items: center; justify-content: center; } :local(.player-video) { width: 960px; height: 540px; @media (max-width: 980px), (max-height: 760px) { width: 640px; height: 360px; } @media (max-width: 650px), (max-height: 580px) { width: 480px; height: 270px; } @media (max-width: 490px), (max-height: 480px) { width: 320px; height: 180px; } } :local(.attribution) { position: absolute; bottom: -40px; right: 84px; color: $darker-grey; }