@font-face{
    font-family: helvetica-neue-lt-pro;
    src: url("./Helvetica Neue LT Pro 65 Medium.ttf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    font-display: auto;
} 

html,
body,
div,
figure,
img,
h1,
p,
a {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

* {
    box-sizing: border-box;
}

:root {
    --margin: 20px;
    --primary: #757575;
    --secondary: #d5d5d5;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    line-height: 1;
    font-family: helvetica-neue-lt-pro, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--secondary);
    height: 100vh;
    width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-underline-offset: 10%;
    text-decoration: underline;
    text-decoration-thickness: 6%;
    transition-duration: 250ms;
}

a:hover {
    filter: brightness(55%);
    transition-duration: 250ms;
    cursor: pointer;
}

.w-layout-hflex {
    flex-direction: row;
    align-items: baseline;
    display: flex;
}

.nav {
    padding: var(--margin);
    justify-content: space-between;
}

#homepage-section {
    padding-top: 25vh;
}

.nav.home {
    padding-bottom: 20px;
}

.big.homepage {
    max-width: 70%;
    text-decoration: none;
    color: var(--primary);
    letter-spacing: -3px;
    font-family: helvetica-neue-lt-pro, sans-serif;
    font-weight: 500;
}

.big.homepage h1 {
    font-size: 70px;
    line-height: 90px;
}

.big.homepage h1 a {
    text-decoration: underline;
    text-decoration-thickness: 6%;
    text-underline-offset: 10%;
}

.big.homepage p {
    font-size: 30px;
    line-height: 10px;
    margin-top: 0.5rem;
    letter-spacing: -1px;
}

.menu {
    overflow: clip visible;
    cursor: -webkit-grab;
    cursor: grab;
    width: 100%;
    position: relative;
    z-index: 1;
    height: 300px;
}

.menu.is-dragging {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.menu--wrapper {
    counter-reset: count;
    display: flex;
    position: absolute;
    z-index: 1;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
}

.menu--item {
    counter-increment: count;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 9vw;
    height: 100%;
}

.menu--item:nth-child(n+10):before {
    content: counter(count);
}

.menu--item figure {
    position: absolute;
    z-index: 1;
    display: block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform-origin: center;
}

.menu--item figure img {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 40%;
    width: 140%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    object-position: top;
    vertical-align: top;
    transform-origin: top;
    max-width: inherit;
}

.menu--item figure:before {
    position: absolute;
    z-index: 2;
    bottom: 1vw;
    left: 1vw;
    display: inline-block;
}

@media screen and (max-width: 767px) {
    .big.homepage {
        max-width: 90%;
    }

    .big.homepage h1 {
        font-size: 36px;
        line-height: 42px;
        letter-spacing: -1.5px;
    }

    .big.homepage p {
        font-size: 16px;
        line-height: 24px;
        margin-top: 0.75rem;
    }

    .menu--item {
        width: 40vw;
        height: 40vh;
    }
}

@media screen and (max-width: 479px) {
    .big.homepage {
        max-width: 95%;
    }

    .big.homepage h1 {
        font-size: 28px;
        line-height: 34px;
        letter-spacing: -1px;
    }

    .big.homepage p {
        font-size: 14px;
        line-height: 20px;
        word-break: break-word;
    }
}
