* {
    box-sizing: border-box;
}

:root {
    font-family: 'Roboto Condensed';
    font-weight: 300;
    font-size: 18px;
    --menuColor: #808080;
    --menuBackground: #FFFFFF;
    --mainColor: #000000;
    --mainBackground: #F0F0F0;
    --gridBackground: var(--mainBackground);/* #464646; /* 18% gray */
    color: var(--mainColor);
    letter-spacing: 0.07em;
    scroll-behavior: smooth;
    line-height: 1.5;
}

body {
    margin: 0;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display';
    font-weight: 100;
}

:is(h1,h2,h3,h4,h5,h6,p):first-child {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: #5f6575;
}

a:hover {
    color: #5f62b8;
}

.pa-invisible-link {
    text-decoration: none;
    color: currentColor;
}

.pa-invisible-link:hover {
    color: currentColor;
}

.pa-editable table :is(th,td) {
    vertical-align: top;
    padding: 0.25em 1em;
}

.pa-editable table :is(th,td):first-child {
    padding-left: 0;
}

.pa-editable table :is(th,td):last-child {
    padding-right: 0;
}

.pa-editable table tr:first-child :is(th,td) {
    padding-top: 0;
}

.pa-editable table tr:last-child :is(th,td) {
    padding-bottom: 0;
}

.pa-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.container {
    padding-left: 0;
    padding-right: 0;
}

.pa-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.col-25 {
    width: 25%;
}

.col-33 {
    width: 33%;
}

.col-50 {
    width: 50%;
}

.col-75 {
    width: 75%;
}

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

.pa-header {
    width: 100vw;
    height: calc(100vh - 200px);
    position: relative;
    background-color: #000000;
}

.pa-header-logo {
    position: absolute;
    left: 15px;
    top: 15px;
    z-index: 100;
    mix-blend-mode: darken;
}

.pa-header .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-position: 50% 50%;
    background-size: cover;
    pointer-events: none;
    /* opacity: 0; */
    /* transition: opacity 1000ms; */
    /* transform: translateZ(0); */
    will-change: opacity;
}

/* .pa-header .slide.active { */
/*     opacity: 1; */
/*     pointer-events: all; */
/* } */

.pa-header .slide img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    backdrop-filter: blur(10px) brightness(0.7) contrast(0.8);
    -webkit-backdrop-filter: blur(10px) brightness(0.7) contrast(0.8);
}

.pa-header .slide .info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
    color: #FFFFFF;
    background-color: #FFFFFF20;
    display: inline;
    padding: 0.5em;
}

.pa-header .flickity-button {
    background: transparent;
    mix-blend-mode: multiply;
    opacity: 0.5;
}

.pa-header .flickity-button[disabled] {
    opacity: 0;
    pointer-events: none;
}

.pa-header .flickity-button:hover {
    background: transparent;
}

.pa-header .flickity-button svg {
    fill: #000000;
}

.pa-footer {
    padding-top: 3em;
    padding-bottom: 3em;
    background-color: #FFFFFF;
}

@media (max-width: 799px) {
    .pa-footer .col-25 {
        width: 50%;
    }
}

.pa-footer-logo {
    max-height: 3em;
    max-width: 8em;
    vertical-align: middle;
    @media (max-width: 799px) {
        margin-bottom: 2rem;
    }
}

.pa-footer-logo:not(:last-child) {
    margin-right: 2em;
}

.pa-footer-bottom {
    margin-top: 3em;
}

.pa-footer-smalltext {
    font-size: 0.66em;
}

.pa-spinner {
    position: absolute;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 145px;
    opacity: 0.3;
}

.pa-artworkgrid {
    background-color: var(--gridBackground);
    transition: opacity 500ms;
    min-height: 100vh;
}

.pa-artworkbody {
    background-color: var(--mainBackground);
}

.pa-artworkgrid .item {
    width: 400px;
    position: relative;
    overflow: hidden;
}

.pa-artworkgrid .item img {
    display: block;
    width: 100%;
    transition: transform 500ms;
    /* will-change: transform; */
}
.pa-artworkgrid .item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    color: #FFFFFF;
    margin: 0;
    padding: 0.5em 1em;
    font-family: 'Roboto Condensed';
    font-weight: 300;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1000ms;
    font-size: 0.75rem;
}

.pa-artworkgrid .item h3 .author,
.pa-artworkgrid .item h3 .small {
    font-size: 0.8333em;
}

@media (max-width: 639px) {
    .pa-artworkgrid .item h3 {
        font-size: 0.667rem;
        padding: 0.33em 0.75em;
        line-height: 1;
    }

    .pa-artworkgrid .item h3 .author {
        display: block;
    }
}

.pa-artworkgrid .item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 10;
    opacity: 0.3;
    transition: opacity 1000ms;
    pointer-events: none;
}

.pa-artworkgrid .item.highlight::after,
.pa-artworkgrid .item:hover::after {
    opacity: 0;
}

.pa-artworkgrid .item.highlight h3,
.pa-artworkgrid .item:hover h3 {
    opacity: 1;
    pointer-events: all;
}

.pa-artworkgrid .item:hover img {
    transform: scale(1.01);
}

.pa-artworkbody {
    text-align: justify;
    padding-top: 3em;
    padding-bottom: 3em;
}

@media (min-width: 640px) {
    .pa-artworkbody {
        /* font-size: 1.5rem; */
    }
}

.pa-artworkbody h1 {
    /* text-align: center; */
    margin-top: 0;
    margin-bottom: 0;
}

.pa-artworkbody h1 + h6 {
    margin-top: 0;
}

.pa-menutoggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    color: var(--menuColor);
    /* mix-blend-mode: difference; */
    border: none;
    /* background: transparent; */
    background: var(--menuBackground);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    padding: 0.5rem;
    display: block;
    transition: color 250ms, transform 250ms, background 250ms;
    will-change: transform;
    svg {
        width: 1rem;
        height: 1rem;
        display: inline-block;
    }
}

.pa-menutoggle.active {
    transform: rotate(-45deg);
    background: var(--mainBackground);

    line:nth-child(1) {
        transform: rotate(-90deg) translate(-100%, 25%);
    }

    line:nth-child(2) {
        display: none;
    }

    line:nth-child(3) {
        transform: translate(0, -25%);
    }
}

.pa-menutoggle:hover {
    color: var(--mainColor);
    transform: scale(1.1);
}

.pa-menutoggle.active:hover {
    transform: rotate(-45deg) scale(1.1);
}

.pa-menupanel {
    position: fixed;
    top: 0;
    right: 0;
    width: 25vw;
    min-width: 360px;
    max-width: 420px;
    background: #FFFFFF;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 500ms, opacity 500ms;
    height: 100vh;
    z-index: 500;
    padding: 2rem;
    box-shadow: 0px 0px 7px #00000005;
}

.pa-menupanel.active {
    opacity: 1;
    transform: translateX(0);
}

.pa-menu {
    list-style: none;
    padding: 0;
    font-family: 'Playfair Display';
    color: var(--menuColor);
    font-size: 1.5rem;
    font-weight: 100;

    li {
        display: block;
    }

    li + li {
        margin-top: 0.5em;
    }

    a {
        color: currentColor;
        text-decoration: none;
        transition: color 250ms, transform 250ms;
        transform-origin: 0 50%;
        display: inline-block;
    }

    a:hover {
        color: var(--mainColor);
        transform: scale(1.02);
    }
}

.pa-terms {
    background-color: var(--mainBackground);
}

.pa-expo {
    background:
        no-repeat url('../images/shape2.webp') 80vw 10vh / 120px 120px,
        no-repeat url('../images/shape2.webp') 10vw 120vh / 80px 80px,
        no-repeat url('../images/shape2.webp') 85vw 250vh / 90px 90px,
        no-repeat url('../images/shape2.webp') 15vw 400vh / 70px 70px,
        no-repeat url('../images/shape2.webp') 90vw 500vh / 100px 100px,
        no-repeat url('../images/shape2.webp') 10vw 660vh / 110px 110px
        ;
    /* background-color: #CBC4B8; */
    background-color: var(--mainBackground);
    /* color: #504242; */
}

.pa-expo h1 {
    /* color: #DA7E51; */
    font-size: 2em;
    text-transform: capitalize;
}

.pa-expo blockquote {
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 4em;
    margin-bottom: 4em;
}

.filament-tiptap-grid-builder {
    display: grid;
    gap: 15px;
}

.pa-navbar {
    background-color: #FFFFFF;
    height: 4rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.pa-navbar-logo {
    max-height: 2rem;
}

.pa-social {
    display: inline-flex;
    flex-direction: row;
    gap: 0.5em;
}

.pa-social a {
    text-decoration: none;
}

.pa-footer .pa-social {
    @media (max-width: 799px) {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

.pa-events {
    background-color: var(--mainBackground);
}

.pa-events-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pa-events-grid-item {
    background-color: #FFFFFF;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.pa-events-grid-item-cover {
    display: block;
    width: 33%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.pa-events-grid-item-content {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.pa-events-grid-item-dates {
    font-size: 0.75em;
}

.pa-event-dates {
    font-size: 0.75em;
    margin-bottom: 1rem;
}
