html, body {
    margin: 0;
    padding: 0;
    font-family: "Pinyon Script", cursive;
    font-weight: 300;
    background-color: #ffffff;
}

@font-face {
    font-family: arrow;
    src: url(img/arrow.otf);
}

::-webkit-scrollbar {
    display: none;
}



/* DESKTOP */

@media screen and (min-width: 700px) {

    html, body {
        overflow: hidden;
    }

    #nav {
        width: 100%;
        padding-top: 20px;
        display: flex;
        align-items: center;
        position: relative;
    }

    #name {
        font-size: 17pt;
        font-family: 'Pinyon Script', cursive;
        white-space: nowrap;
        padding-left: 20px;
    }

    #links_center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 16px;
        font-family: 'arrow', sans-serif;
        text-transform: uppercase;
        white-space: nowrap;
    }

    #links_right {
        margin-left: auto;
        font-size: 16px;
        font-family: 'arrow', sans-serif;
        white-space: nowrap;
        padding-right: 20px;
    }

    /* HORIZONTAL GALLERY */

    #gallery {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 30px;

        width: 100%;
        height: calc(100vh - 140px);

        margin-top: 2.5vh;
        margin-bottom: 5vh;

        padding: 0 30px;
        box-sizing: border-box;

    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
}


    .gallery-image {
        flex: 0 0 auto;
        height: 100%;
        width: auto;
        max-width: none;
        object-fit: contain;
        display: block;
    }


    video.gallery-image {
    width: auto;
    height: 100%;
    object-fit: contain;
    flex: 0 0 auto;
}

    #footer {
        position: fixed;
        bottom: 10px;
        left: 15px;
        font-size: 14px;
    }

    a:hover {
        color: pink;
    }

    a {
        color: inherit;
        text-decoration: none;
        position: relative;
    }

    a:visited {
        color: inherit;
    }

    a:hover:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 0;
        left: 0;
        color: pink;
    }
}

/* MOBILE */

@media screen and (max-width: 699px) {

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

    #nav {
        width: 100%;
        padding: 18px 18px 0 18px;
        box-sizing: border-box;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    #name {
        font-size: 27px;
        font-family: 'Pinyon Script', cursive;
        white-space: nowrap;
        line-height: 1;
        text-align: center;
    }

    #links_center {
        display: none;
    }

    #links_right {
        font-size: 17px;
        font-family: 'arrow', sans-serif;
        line-height: 1.4;
        white-space: normal;
        text-align: center;
        color: inherit;
    }

    #links_right span {
        display: none;
    }

    #links_right a,
    #links_right a:visited,
    #links_right a:active {
        color: inherit;
        text-decoration: none;
    }

    /* VERTICAL GALLERY */

    #gallery {
        width: 100%;
        height: auto;

        padding: 24px;
        box-sizing: border-box;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;

        overflow: visible;
    }

    .gallery-image {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }

video.gallery-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

    #footer {
        position: fixed;
        bottom: 8px;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 11px;
    }

    a:hover {
        color: pink;
    }

    a {
        color: inherit;
        text-decoration: none;
        position: relative;
    }

    a:visited {
        color: inherit;
    }

    a:hover:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 0;
        left: 0;
        color: pink;
    }
}