@font-face {
    font-family: 'Lato';
    src: url('../fonts/subset-Lato-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/subset-Lato-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/subset-Lato-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/subset-Lato-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bs-font-sans-serif: 'Lato', sans-serif;
    --bs-body-color: #fff;
    --bs-body-bg: #111;
    --transition-duration: 750ms;
    --transition-easing: cubic-bezier(.25, .8, .25, 1);
}

body {
    overflow: hidden;
    height: 100vh;
}

a {
    color: var(--bs-body-color);
}

a:hover {
    text-decoration: none;
    color: var(--bs-body-color);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: none;
    -webkit-backface-visibility: hidden;
}

@media (max-height: 450px) {
    h1 {
        font-size: calc(1.375rem + .6vw);
    }
}

.page-wrapper {
    display: grid;
    height: 100vh;
    overflow: hidden;
}

.is-loaded .page-wrapper {
    height: var(--app-height);
}

.text > *:last-child {
    margin-bottom: 0;
}

.text ul {
    padding-left: 24px;
}

.text * + ul {
    margin-top: 24px;
}

.link {
    text-decoration: none;
    background-image: linear-gradient(var(--bs-body-color), var(--bs-body-color));
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: 0% 99%;
    transition: background-size var(--transition-duration) var(--transition-easing);
}

.link:hover {
    background-size: 0% 2px;
}

.header {
    align-self: start;
    padding: 24px 44px;
}

@media (max-height: 450px) {
    .header {
        padding: 16px 32px;
    }
}

@media (max-width: 767px) {
    .header {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.nav__list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: -16px;
    margin-right: -16px;
}

.nav__item {
    padding: 0 16px;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    position: relative;
    font-size: 21px;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
}

@media (max-width: 450px) {
    .nav__link {
        font-size: 18px;
    }
}

.nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 2px;
    opacity: 0;
    background-color: #fff;
    transform: translateY(8px);
    transition: opacity var(--transition-duration) var(--transition-easing);
}

.nav__link:hover {
    color: #fff;
}

.nav__link:hover::after {
    opacity: 1;
}

.nav__icon {
    width: 24px;
    font-size: 0;
    margin: 0;
    margin-left: 8px;
}

.nav__icon [fill]:not([fill='none']) {
    fill: #fff;
}

.nav__icon svg {
    max-width: 100%;
    height: auto;
}

.main {
    display: grid;
    place-items: center;
    height: calc(var(--app-height) - 200px);
}

@media (max-height: 450px) {
    .main {
        height: auto;
        margin-top: -40px;
    }
}

.main__video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.main__video iframe,
.main__video video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.5vw;
    min-height: 100vh;
    min-width: 240vh;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.main__video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
    background: radial-gradient(circle, rgba(17,17,17,1) 0%, rgba(2,0,36,0) 100%);
    z-index: 10;
}

.main__content {
    width: 80%;
    max-width: 480px;
    text-align: center;
    margin: auto;
}

.main__logo {
    width: 100%;
    margin: 0;
}

.main__logo img {
    display: block;
    max-height: 40vh;
    margin-left: auto;
    margin-right: auto;
}

.main__title {
    margin-bottom: 0;
}

* + .main__title {
    margin-top: 24px;
}

@media (max-height: 450px) {
    * + .main__title {
        margin-top: 16px;
    }
}

.footer {
    align-self: end;
    padding: 24px 44px;
}

@media (max-height: 450px) {
    .footer {
        padding: 16px 32px;
    }
}

@media (max-width: 767px) {
    .footer {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.footer__nav .nav__list {
    flex-wrap: wrap;
    justify-content: center;
    margin-left: -8px;
    margin-right: -8px;
}

.footer__nav .nav__item {
    padding: 0 8px;
}

.footer__nav .nav__item--email {
    flex: 0 0 100%;
    text-align: center;
}

.footer__nav * + .nav__item--email {
    margin-top: 8px;
}

.footer__nav .nav__link {
    transition: transform var(--transition-duration) var(--transition-easing);
}

.footer__nav .nav__link::after {
    display: none;
}

.footer__nav .nav__link:hover {
    transform: scale(1.2);
}

.footer__nav .nav__item--email .nav__link {
    font-size: 16px;
}

.footer__nav .nav__item--email .nav__link::after {
    display: block;
    transform: translateY(2px);
}

.footer__nav .nav__item--email .nav__link:hover {
    transform: none;
}

.footer__nav svg {
    width: 32px;
    height: 32px;
}

.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 750px;
    height: var(--app-height);
    background-color: var(--bs-body-bg);
    transform: translateX(100%);
    transition: transform var(--transition-duration) var(--transition-easing);
}

.offcanvas.is-open {
    transform: translateX(0);
}

.offcanvas__in {
    height: var(--app-height);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 48px;
}

@media (max-width: 767px) {
    .offcanvas__in {
        padding-left: 24px;
        padding-bottom: 24px;
    }
}

[data-dismiss] {
    position: absolute;
    right: 16px;
    top: 8px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    line-height: 1;
    border: 0;
    appearance: none;
    color: var(--bs-body-color);
    background-color: transparent;
    padding: 0;
    z-index: 10;
    transition: transform var(--transition-duration) var(--transition-easing);
}

@media (max-width: 767px) {
    [data-dismiss] {
        right: 8px;
    }
}

[data-dismiss]:hover {
    transform: scale(1.1);
}
