html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

html {
    background-color: black;
}

/* lock scroll in portrait only */
@media (orientation: portrait) {
    html,
    body {
        overflow: hidden;
    }
}

/* fullscreen background layer */
.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url("./images/916-fd.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 20%,
        black 70%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 20%,
        black 70%,
        transparent 100%
    );
}

/* desktop image */
@media (min-aspect-ratio: 1/1) {
    .bg {
        background-image: url("./images/169-fd.png");
        -webkit-mask-image: none;
        mask-image: none;
        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 20%,
            black 70%,
            transparent 100%
        );
        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 20%,
            black 70%,
            transparent 100%
        );
    }
}

/* layout */
body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

header {
    padding-top: 150px;
    width: 100%;
}

p {
    background: white;
    width: 100%;
}

footer {
    padding-bottom: 30px;
    font-size: 0.8rem;
}
