@font-face {
    font-family: "Helvetica Neue";
    src: url("fonts/hinted-subset-HelveticaNeue-Medium.woff2") format("woff2"), url("fonts/hinted-subset-HelveticaNeue-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Helvetica Neue";
    src: url("fonts/hinted-subset-HelveticaNeue.woff2") format("woff2"), url("fonts/hinted-subset-HelveticaNeue.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Helvetica Neue";
    src: url("fonts/hinted-subset-HelveticaNeue-Light.woff2") format("woff2"), url("fonts/hinted-subset-HelveticaNeue-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #77787b;
}

body {
    padding-bottom: 2rem;
}

a {
    color: var(--primary);
    text-decoration: none;
}

body,
button,
input,
select,
optgroup,
textarea {
    color: var(--primary);
    font-family: "Helvetica Neue", sans-serif;
    font-size: .9rem;
    line-height: 1.3;
}

header {
    padding: 2rem 7vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: absolute;
    width: 100%;
    z-index: 10;
    background: rgba(255, 255, 255, .8);
}

header h1,
header p {
    margin: 0;
    text-transform: lowercase;
}


header,
header h1,
header button {
    font-weight: 500;
    font-size: .9rem;
}

.contact {
    text-align: right;
    position: relative;
}

.contact button {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

#numbers {
    position: absolute;
    right: 0;
    min-width: 100px;
}

.logo {
    display: flex;
    min-height: 100vh;
    align-items: center;
}

.logo img {
    max-width: 65vw;
    max-height: 65vh;
    margin-left: auto;
    margin-right: auto;
}

.exhibition img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-left: 3rem;
    padding-right: 3rem;
    min-height: 100vh;
}

.gallery a {
    flex: 0 0 calc(33.333% - 1.5rem);
}

.gallery img {
    width: 100%;
    display: block;
    border: 1px solid var(--primary);
}

.text {
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
}

.text div {
    text-align: justify;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.text .images {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.text .images img {
    max-width: 260px;
}

.pswp__bg {
    background: var(--primary);
}

.docSlider-button {
    height: 12px;
    width: 12px;
}

@media screen and (max-width: 1023px) {
    header {
        padding: 1.5rem 2rem
    }

    header p {
        display: none;
    }

    .exhibition img {
        height: inherit;
        margin-bottom: 4rem;
    }

    .gallery {
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .text {
        display: block;
    }

    .text .images img {
        max-width: 100%;
    }

    .docSlider-pager {
        right: 10px;
    }

    html, body {
        overflow: visible;
        touch-action: auto;
        height: auto;
    }

    .docSlider {
        overflow: visible;
        width: auto;
        height: auto;
        position: relative;
        top: auto;
        left: auto;
    }
}