img {
    --img-x: center;
    --img-y: center;
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    object-position: var(--img-x) var(--img-y);
}

img.rounded,
.img-rounded {
    border-radius: var(--border-radius-blocks);
}

img.circle,
.img-circle {
    border-radius: 100%;
    aspect-ratio: 1 / 1 !important;
}

.img-circle > img {
    height: 100%;
    width: 100%;
}

.img-rounded,
.img-circle {
    overflow: hidden;
}


/* 
    Hover 
*/
@media (-moz-touch-enabled: 0), (pointer: fine) {
    .img-rounded,
    .img-rounded > img,
    .img-circle,
    .img-circle > img {
        transition-property: all !important;
        transition: 0.2s ease-in-out;
    }

    .img-rounded:hover > img,
    .img-circle:hover > img {
        scale: 1.1;
    }
}


/*
    Parallax
*/

.parallax-container {
    width: 100%;
    height: 100%;
}

.parallax {
    width: 100%;
    height: auto;
    margin:0;
    padding:0;
    position: relative;
    overflow: visible;
}

.parallax img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.parallax-back {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.parallax-middle {
    position: relative;
    width: 100%;
    height: 100%;
}

.parallax-front {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

@supports (animation-timeline: scroll()) {
    .parallax-back {
        animation: parallax-back 1ms linear;
        animation-timeline: view();
        animation-range: entry 10% exit -25%;
    }

    .parallax-front {
        animation: parallax-front 1ms linear;
        animation-timeline: view();
        animation-range: entry 10% exit -25%;
    }

    @keyframes parallax-back {
        from {
            top: 20%;
        }
        to {
            top: 0%;
        }
    }

    @keyframes parallax-front {
        from {
            top: -30%;
        }
        to {
            top: 0%;
        }
    }
}



/*
    Venue
*/
.venue-container {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}

.venue-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.venue-pins {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
}

.venue-pin {
    position: absolute;
    width: 3.6rem;
    height: 3.6rem;
    cursor: pointer;
}

.venue-tooltip {
    display: block;
    position: absolute;
    width: max-content;
    pointer-events: none;
    background-color: var(--color-primary-alt);
    color: var(--color-primary-contrast);
    padding: 0.7rem 1.5rem;
    bottom: 100%;
    left: 50%;
    translate: -50% 0rem;
    font-weight: 400;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease-in-out;
}

.venue-tooltip::after {
    content: '';
    position: absolute;
    width: 0.2rem;
    height: 3rem;
    background-color: var(--color-primary-alt);
    top: 100%;
    left: 50%;
    translate: -50% 0;
    transition: .3s ease-in-out;
}

.venue-pin:has(img.aos-init):hover .venue-tooltip {
    translate: -50% -2rem;
    opacity: 1;
    visibility: visible;
}