


/* GALLERY */
section.gallery
{
    height: fit-content;
    /* min-height: calc(100vh - calc((100vw - 20px) / 16 * 9) - var(--nav-height) - 10px - var(--min-footer-height)); */
    padding: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background-color: var(--colour-primary);
}

section.gallery div.frame
{
    width: 100%;
    aspect-ratio: 16/9;
    max-width: calc(80vh - var(--nav-height)) * (16 / 9);
    
    position: relative;

    overflow: hidden;

    filter: drop-shadow(0 0 5px var(--colour-dropshadow));
}

div.gallery-container
{
    width: 100%;
    height: 100%;

    position: absolute;
    left: 0;
    display: flex;
    flex-direction: row;

    transition: left 0.5s;
}

div.gallery-item
{
    height: 100%;
    aspect-ratio: 16/9;

    position: relative;
}

div.gallery-arrow
{
    height: 20%;
    aspect-ratio: 0.5;

    position: absolute;
    top: calc(50% - 10%);
    z-index: 1;

    cursor: pointer;
    background-position: 0 0;
    background-size: 100% 200%;
    background-repeat: no-repeat;

    filter: drop-shadow(0 0 5px var(--colour-dropshadow));
}
div.gallery-arrow:hover
{
    background-position: 0 101.5625%;
}
@keyframes left-arrow-bob { /* TODO maybe switch to bg image postion instead of left */
    0% { left: 10px }
    50% { left: 5px }
    100% { left: 10px }
}
div.gallery-arrow.left
{
    background-image: url("images/icons/left-arrow.svg");
    left: 10px;
}
div.gallery-arrow.left:hover
{
    animation: left-arrow-bob;
    animation-duration: 1.2s;
    animation-iteration-count: infinite;
}
@keyframes right-arrow-bob {
    0% { right: 10px }
    50% { right: 5px }
    100% { right: 10px }
}
div.gallery-arrow.right
{
    background-image: url("images/icons/right-arrow.svg");
    right: 10px;
}
div.gallery-arrow.right:hover
{
    animation: right-arrow-bob;
    animation-duration: 1.2s;
    animation-iteration-count: infinite;
}

div.gallery-markers
{
    width: fit-content;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 5px;
}

div.gallery-marker
{
    height: 10px;
    aspect-ratio: 1;

    cursor: pointer;
    transition: background-color 0.1s;
    background-color: var(--colour-thematic-plus);

    border-width: 1px;
    border-color: var(--colour-dropshadow);
    border-style: solid;
    border-radius: 5px;

    filter: drop-shadow(0 0 5px var(--colour-dropshadow));
}
div.gallery-marker.selected
{
    background-color: var(--colour-stark);
}









/* PASS */
section.pass
{
    height: fit-content;
    padding: calc(var(--nav-height) + 10px) 10px 0 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: var(--colour-primary);
}

div.stage
{
    width: 100%;
    aspect-ratio: 16/9;
    max-width: calc(100vh - var(--nav-height) - 20px) * (16 / 9);
    position: relative;
}
div.stage div,
div.stage a,
div.stage a:visited
{
    display: block;
    position: absolute;
    background-position: 0 0;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

div.perspective-stage
{
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);

    overflow: hidden;
}
div.perspective-container
{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



div.pass-bg
{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/pass/pass-bg.svg");
    z-index: 1;
}

a.pass-fridge
{
    width: 30%;
    aspect-ratio: 96/144;
    bottom: 0;
    right: 2%;
    background-image: url("images/pass/fridge-closed.svg");
    z-index: 5;

    filter: drop-shadow(0 0 5px var(--colour-dropshadow));
}
/* a.pass-fridge:hover
{

} */

div.pass-vent
{
    width: 10%;
    aspect-ratio: 32/16;
    bottom: 78%;
    right: 10%;
    background-image: url("images/pass/vent.svg");
    z-index: 4;

    /* filter: drop-shadow(0 0 5px var(--colour-dropshadow)); */

    cursor: pointer;
}
div.pass-vent:hover
{
    background-image: url("images/pass/vent-eyes.svg");
}

div.pass-splashback
{
    width: 25%;
    aspect-ratio: 80/72;
    bottom: 35%;
    left: 42.5%;
    background-image: url("images/pass/splashback.svg");
    z-index: 2;

    filter: drop-shadow(0 0 5px var(--colour-dropshadow));
}

div.pass-rangehood
{
    width: 30%;
    aspect-ratio: 96/64;
    bottom: 70%;
    left: 40%;
    background-image: url("images/pass/rangehood.svg");
    z-index: 6;

    filter: drop-shadow(0 0 5px var(--colour-dropshadow));
}

a.pass-stove
{
    width: 30%;
    aspect-ratio: 96/80;
    bottom: 0;
    left: 40%;
    background-image: url("images/pass/stove-off.svg");
    z-index: 6;

    filter: drop-shadow(0 0 5px var(--colour-dropshadow));
}
/* a.pass-stove:hover
{

} */

div.pass-bench
{
    width: 40%;
    aspect-ratio: 128/80;
    bottom: -1%;
    left: 1%;
    background-image: url("images/pass/bench.svg");
    z-index: 5;

    filter: drop-shadow(0 0 5px var(--colour-dropshadow));
}

div.pass-pinboard-fill
{
    width: 40%;
    aspect-ratio: 128/80;
    bottom: 48%;
    left: -1%;
    background-image: url("images/pass/pinboard-fill.svg");
    z-index: 2;
}
div.pass-pinboard-border
{
    width: 100%;
    aspect-ratio: 128/80;
    bottom: 0;
    left: 0;
    background-image: url("images/pass/pinboard-edge.svg");
    z-index: 2;

    filter: drop-shadow(0 0 5px var(--colour-dropshadow));
}

a.pass-poster-faq
{
    width: 25%;
    aspect-ratio: 32/45.25;
    bottom: 30%;
    right: 10%;
    background-image: url("images/pass/poster-faq.svg");
    z-index: 3;

    filter: drop-shadow(0 0 5px var(--colour-dropshadow));
}
/* a.pass-poster-faq:hover
{

} */

a.pass-poster-about
{
    width: 25%;
    aspect-ratio: 32/45.25;
    bottom: 20%;
    left: 15%;
    background-image: url("images/pass/poster-about.svg");
    z-index: 3;

    filter: drop-shadow(0 0 5px var(--colour-dropshadow));
}
/* a.pass-poster-about:hover
{

} */



div.pass-border
{
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/pass/pass-border.svg");
    z-index: 8;

    filter: drop-shadow(0 0 5px var(--colour-dropshadow));

    pointer-events: none;
}

div.pass-bell
{
    width: 5%;
    aspect-ratio: 16/10;
    bottom: 4.5%;
    left: 8%;
    background-image: url("images/pass/bell.svg");
    z-index: 9;

    filter: drop-shadow(0 0 5px var(--colour-dropshadow));

    pointer-events: all;
    cursor: pointer;
}
div.pass-bell:active
{
    background-image: url("images/pass/bell-pressed.svg");
}
/* div.pass-bell:hover
{

} */




