* { box-sizing: border-box; }

@font-face {
    font-family: 'Avenir Book';
    src: url('AvenirLTStd-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: auto;
}

@font-face {
    font-family: 'WhitneyHTF';
    src: url('WhitneyHTF-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: auto;
}

body {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
    background-color: #111010;
    color: #a8a8a8;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header .thinginitself {
    display: block;
    width: 60px;
    margin: 0 auto;
}

main {
    position: relative;
    min-height: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    max-width: 940px;
    gap: 25px;
    font-family: 'Avenir Book', sans-serif;
    align-items: center;

    > section {
        margin-top: 15px;
        max-width: 370px;
        font-size: 19px;
        line-height: 23px;
    }

    > footer {
        margin-top: 28px;
    }
}

h1 {
    font-family: 'WhitneyHTF', sans-serif;
    color: #ccc0c0;
    font-size: 35px;
    line-height: 40px;
    margin: 0 auto;
    font-weight: 300;
    text-align: center;
    display: block;
}


img {
    max-width: 100%;
}

.image-3 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.image-5 {
    display: block;
    max-width: 90%;
    margin: 0 auto;
}

.image-32 {
    display: block;
    margin-right: auto;
    margin-left: auto;
    opacity: 0.74;
}

a.app-store {
    display: block;
}

.text-right {
    text-align: right;
}

figure {
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    img {
        vertical-align: middle;
        max-width: 90%;
    }
    figcaption {
        color: #5d5d5d;
        text-align: center;
    }
}

#gallery {
    background: #111010;
    padding: 0.25rem;
    border: 1px solid #5d5d5d;
    border-radius: 0.125rem;

    .controls {
        display: flex;
        flex-direction: column;

        button {
            align-self: flex-end;
        }
    }

    .scroll-wrapper {
        overflow-x: scroll;
    }
    .images {
        display: flex;
        flex-direction: row;

        figure {
            height: 100%;
            flex-shrink: 0;
            display: flex;
            flex-direction: row;
            img {
                max-width: 50%;
                max-height: 75%;
            }

        }

    }

}
