@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&family=Source+Serif+4:opsz,wght@8..60,300;8..60,400;8..60,500;8..60,700&display=swap');

*, :after, :before {
    box-sizing: border-box
}

:root {
}

/* Bug fix for Bulma fixed-top and is-spaced navbar */
html.has-navbar-fixed-top:has(nav.is-fixed-top.is-spaced) {
    padding-top: calc(var(--bulma-navbar-height) + 7rem);
}

/* Bulm customisation (largely via the Customizer on https://bulma.io */
:root {
    --bulma-primary-h: 110deg;
    --bulma-primary-s: 44%;
    --bulma-primary-l: 50%;
    --bulma-link-h: 110deg;
    --bulma-link-s: 44%;
    --bulma-link-l: 50%;
    --bulma-body-family: 'Contrail One', sans-serif;
    --bulma-body-background-color: #ffffff;
    --bulma-body-color: hsl(60, 13.09%, 62.55%);
    --bulma-body-size: 12px;
}

.title {
    --bulma-title-color: var(--bulma-body-color);
}

.footer {
    --bulma-footer-background-color: hsl(0, 0%, 2.35%);
}

.section {
    font-size: 2rem;
}

.navbar {
    padding: 1rem !important;
}

.is-size-0 {
    font-size: 4rem;
}

.slide, .boxgrid {
    font-family: var(--bulma-family-secondary);
}

ul {
    list-style: disc;
    list-style-position: inside;
}


html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.field, .control, .control input, textarea, .textarea {
    font-size: 2vw;
}

#response {
    display: none;
}

.image.box {
    width: 100%;
    max-width: 768px;
    padding: 0;
    background: transparent;
    margin: 0;
}

    .image.box .play {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9;
        cursor: pointer;
        background: url(../img/icon-play.png) center center no-repeat;
    }

img.overlay-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    object-fit: contain;
}

/*-------------- FilmBox and FilmPackageBox -----------------*/

.boxgrid figure {
    position: relative;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    padding: 0;
    border: solid 5px black;
}

    .boxgrid figure img.background {
        position: relative;
        display: block;
        min-height: 100%;
        max-width: 100%;
        opacity: 0.8;
    }

    .boxgrid figure figcaption {
        padding: 2em;
        color: #fff;
        font-size: 1.25em;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

        .boxgrid figure figcaption h2 {
            color: white;
        }

        .boxgrid figure figcaption::before, .boxgrid figure figcaption::after {
            pointer-events: none;
        }

        .boxgrid figure figcaption,
        .boxgrid figure figcaption > a {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

            .boxgrid figure figcaption > a {
                z-index: 20;
                text-indent: 200%;
                white-space: nowrap;
                font-size: 0;
                opacity: 0;
            }

    .boxgrid figure h2 {
        font-weight: 300;
    }

        .boxgrid figure h2 span {
            font-weight: 800;
        }

    .boxgrid figure h2,
    .boxgrid figure p {
        margin: 0;
    }

    .boxgrid figure p {
        letter-spacing: 1px;
        font-size: 68.5%;
        text-transform: uppercase;
    }

figure.effect-hover img.background {
    max-width: none;
    width: -webkit-calc(100% + 20px);
    width: calc(100% + 20px);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-10px,0,0);
    transform: translate3d(-10px,0,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

figure.effect-hover:hover img.background {
    opacity: 0.4;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

figure.effect-hover figcaption {
    text-align: left;
}

figure.effect-hover h2 {
    position: relative;
    overflow: hidden;
    padding: 0.5em 0;
    text-shadow: 1px 1px 5px #000000;
}

    figure.effect-hover h2::after {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: #fff;
        content: '';
        -webkit-transition: -webkit-transform 0.35s;
        transition: transform 0.35s;
        -webkit-transform: translate3d(-100%,0,0);
        transform: translate3d(-100%,0,0);
    }

figure.effect-hover:hover h2::after {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

figure.effect-hover p {
    padding: 1em 0;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(100%,0,0);
    transform: translate3d(100%,0,0);
}

figure.effect-hover p {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.modal.is-active {
    z-index: 9999;
}

/* Fancy underline when hover over links */
a.menu-item {
    position: relative;
    cursor: pointer;
    pointer-events: auto
}

    a.menu-item:after {
        content: "";
        position: absolute;
        top: 89%;
        left: 0;
        right: 0;
        height: .375vw;
        background: var(--bulma-link-text);
        z-index: -1;
        transform: scaleX(.001);
        opacity: 0;
        transform-origin: 100% 50%;
        transition: transform .3s cubic-bezier(.2,1,.3,1),opacity .1s linear .2s
    }

    a.menu-item:hover:after {
        opacity: 1;
        transform: scaleX(1);
        transform-origin: 0 50%;
        transition: transform .7s cubic-bezier(.2,1,.3,1),opacity .1s linear
    }
