@font-face {
    font-family: 'Geogrotesque';
    src: url('../fonts/Geogtq-Sb.otf');
}

@font-face {
    font-family: 'Posey';
    src: url('../fonts/Posey-Regular.ttf');
}

@font-face {
    font-family: 'Antihistory';
    src: url('../fonts/antihistory_regular-webfont.woff2') format('woff2'),
        url('../fonts/antihistory_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Greasy Spoon';
    src: url('../fonts/greasyspoonnf-webfont.woff2') format('woff2'),
        url('../fonts/greasyspoonnf-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


body {
    background-color: #060e35;
    margin: 0;
    font-family: 'Geogrotesque', sans-serif;
}

.hero-img-container {
    position: relative;
    display: flex;
    flex-direction: column;
    background-image: url('../img/Jack-Be-Nimble-Hero.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.hero-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 80px;
}

.title-content {
    width: max-content;
}

.hero-container h1 {
    font-family: 'Greasy Spoon', sans-serif;
    font-size: 6rem;
    color: #f1494d;
    text-align: center;
    margin-top: 10vh;
    text-transform: uppercase;
    margin: 0;
    transform: scaleY(1);
    filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.4));
    text-align: left;
    width: max-content;
    letter-spacing: 1px;
    font-weight: 300;
    /* text-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px; */
}

.hero-container h2 {
    width: max-content;
    font-family: 'Posey', serif;
    font-size: 2rem;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    text-align: left;
    margin-bottom: -40px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.8));
    transform: scaleY(1.2);
    letter-spacing: -1px;
}

h1 .gradientText {
    background: rgb(141, 112, 175);
    background: -moz-linear-gradient(95deg, rgba(141, 112, 175, 1) 0%, rgba(132, 169, 216, 1) 36%);
    background: -webkit-linear-gradient(95deg, rgba(141, 112, 175, 1) 0%, rgba(132, 169, 216, 1) 36%);
    background: linear-gradient(95deg, rgba(141, 112, 175, 1) 0%, rgba(132, 169, 216, 1) 36%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#8d70af", endColorstr="#84a9d8", GradientType=1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.11em;
    font-family: 'rift', sans-serif;
    font-weight: 700;
    margin-left: 12px;
}

#heroImg {
    height: 80vh;
    margin-left: auto;
    margin-right: auto;
}


.cast-names {
    position: absolute;
    left: calc((100vw - 1080px) / 2 + 75px);
    top: calc(50vh - 175px + 80px);
}

.name {
    text-transform: uppercase;
    font-size: 1.4rem;
    text-align: center;
    line-height: 0.9em;
    color: #fcc250;
    font-family: "Antihistory", san-serif;
    margin-bottom: 50px;
}

.name.alexis {
    line-height: 0.8em;
}

.name.bruno {
    line-height: 0.7em;
}

.name span:not(.name-and) {
    font-size: 1.5em;
}

.name .name-and {
    display: inline-block;
    font-size: 0.7em;
    text-transform: lowercase;
    transform: translateY(-0.6em);
    font-style: italic;
    margin-right: 5px;
}


.new-restoration {
    position: absolute;
    right: calc((100vw - 1180px) / 2 + 75px);
    top: calc(42vh + 36px);
    /* top: calc(52vh + 70px); */
    color: #f34949;
    font-family: 'Geogrotesque', sans-serif;
    font-size: 1.5rem;
}

.new-restoration span {
    display: inline-block;
    background-color: #f34949;
    color: white;
    padding: 2px 15px;
    border-radius: 20px;
    font-size: 1rem;
    margin-bottom: 4px;
}

#follow-us {
    color: white;
    font-size: 1.1rem;
    text-transform: uppercase;
}

#follow-us svg {
    font-size: 1.2em;
    transform: translateY(3px);
    color: white;
}

.streaming-now {
    position: absolute;
    left: 0;
    text-align: center;
    top: calc(100vh - 170px);
    color: white;
    transform: scaleY(1.2);
    font-family: 'Posey', serif;
    font-size: 1.9rem;
    width: 100%;
}

.streaming-now h3 {
    margin-bottom: 0px;
}

#scroll-icon.scrolled {
    opacity: 0;
}

.scroll-icon-container {
    display: flex;
    justify-content: center;
    line-height: 1em;
}

#scroll-icon {
    width: 200px;
    height: 80px;
    opacity: 0.4;
    transition: opacity .25s ease-in-out;
}

.streaming-now p {
    font-family: 'Geogrotesque', sans-serif;
    font-size: 0.7rem;
    opacity: 0.4;
    margin: 0;
    transition: 0.8s all ease;
}

.streaming-nz {
    color: rgba(132, 169, 216, 1);
}

.streaming-aus {
    color: #fcc250;
}


.streaming-title {
    text-align: center;
    border-bottom: 1px solid #83A9D7;
    background-color: rgba(131, 169, 215, 0.5);
    padding-top: 12px;
    padding-bottom: 12px;
    color: white;
}

.streaming-links-container {
    width: 100%;
    /* max-width: 500px; */
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.streaming-links {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    margin-bottom: 36px;
    border-radius: 6px;
    border: 1px solid #83A9D7;
    box-sizing: border-box;
}


.streaming-links a {
    color: white;
    border-bottom: 1px solid #83A9D7;
    display: block;
    padding: 20px 20px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    text-decoration: none;

}

.stream svg {
    font-size: 0.8em;
    transform: translateY(1px);
}

.streaming-links a:hover {
    background-color: rgba(131, 169, 215, 0.3);
}

.streaming-links a:active {
    background-color: rgba(131, 169, 215, 0.5);
}

.streaming-links a:last-of-type {
    border-bottom: 0;
}

.streaming-highlights {
    text-align: left;
}

.streaming-highlights {
    color: white;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.streaming-highlights h4 {
    margin: 0 0 5px;
}

.streaming-highlights * {
    max-width: 220px;
}

.social-icons {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    margin-left: 8px;
    margin-right: 8px;
}




.testimonials {
    width: 100%;
    max-width: 700px;
    margin: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
    margin-top: 50px;
    margin-bottom: 80px;


}

.slide-container {
    font-size: 1.8rem;
}

p.testimonial {
    font-family: 'Antihistory', sans-serif;
    margin-bottom: 12px;
    text-align: center;

}

p.author {
    font-size: 0.65em;
    margin: 0;
    color: #fcc250;
    text-align: center;
}

.glide__slide {
    display: flex;
    justify-content: center;
}


.slide-container {
    display: flex;
    width: max-content;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.testimonials li {
    color: white;
}


#gallery {
    width: 100%;
    max-width: 2048px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    /* grid-template-columns: 1fr .5fr .5fr; */
    /* grid-template-rows: 1fr 1fr 1fr 1fr; */
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 24px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
    margin-bottom: 36px;
}


#gallery a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gallery a:first-child {
    grid-area: 1 / 1 / 3 / 3;
}

#gallery a:last-child {
    grid-area: 3 / 3 / 5 / 5;
}

.pswp__zoom-wrap .pswp__img {
    /* top: 50vh;
    height: auto !important;
    transform: translateY(-50%); */
}



@media (max-width: 1080px) {
    .cast-names {
        left: 12px;
    }

    .new-restoration {
        right: 24px;
    }

    #gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(10, 1fr);
    }

    #gallery a:first-child {
        grid-area: 1 / 1 / 2 / 2;
    }

    #gallery a:last-child {
        grid-area: 10 / 1 / 11 / 2;
    }
}


@media (max-width: 768px) {
    .name {
        font-size: 1.4rem;
    }

    .hero-container h1 {
        font-size: 4rem;

    }

    .hero-container h2 {
        font-size: 1.3rem;
        margin-bottom: -14px;
    }

    .hero-img-container {

        background-size: 100vw;
    }

}


.art-article {
    max-width: 1000px;
    padding: 24px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 48px;
    margin-bottom: 80px;
}

.art-article .thumbnail {
    width: 180px;
}

.art-article .thumbnail img {
    width: 100%;
    object-fit: cover;
}

.article-content {
    flex: 1;
}

.article-content p {
    color: white;
    margin-top: 0;
}


.article-content p.author {
    color: #fcc250;
    text-align: left;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .art-article {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .art-article .thumbnail {
        width: 160px;
    }
}

@media (max-width: 650px) {
    .art-article {
        flex-direction: column;
    }

    .hero-container h2 {
        font-size: 1.2rem;
        margin-bottom: -20px;
    }

    .hero-container h1 {
        font-size: 3.5rem;
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
    }

    .cast-names {
        display: flex;
        width: 100%;
        left: 0;
        justify-content: center;
        align-items: flex-end;
        padding-left: 24px;
        padding-right: 24px;
        box-sizing: border-box;
        position: relative;
        top: 0;
        margin-top: 20px;
        gap: 24px;
    }

    .new-restoration {
        width: 100%;
        left: 0;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        top: calc(100vh - 230px);
    }

    .new-restoration p {
        margin: 0;
    }

    #follow-us,
    #digital-restoration-blurb {
        display: none;
    }

    .streaming-highlights {
        text-align: center;
    }

    .name {
        font-size: 1rem;

    }

    .social-icons {
        margin-bottom: 80px;
    }

}


@media (max-width: 400px) {
    .hero-container h2 {
        font-size: 1rem;
        margin-bottom: -18px;
    }

    .hero-container h1 {
        font-size: 3rem;
    }
}

@media (max-width: 350px) {
    .name {
        font-size: 0.9rem;
    }
}

.trailer-show {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 48px;

    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    min-height: 400px;
    margin-bottom: 200px;
}

.trailer-show video {
    width: 50%;
}

.trailer-show .trailer-text {
    display: flex;
    flex-direction: column;
    gap: 20px;

    color: #fff;
}

.trailer-show label {
    color: #fff;
    padding: 10px 20px;
    border: 1px solid #fff;
    overflow-y: hidden;
    overflow-x: hidden;
    display: block;

    transition: all .2s;
    cursor: pointer;
    position: relative;

    box-sizing: border-box;
    height: 40px;
    width: 120px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.trailer-show label::before {
    content: '';

    display: block;
    background-color: #fff;
    width: 100%;
    height: 100%;

    position: absolute;
    left: -100%;
    top: 0;
    transition: all .3s;
    z-index: -1;
}

.trailer-show label:hover {
    /* opacity: .5; */
    color: #060e35
}

.trailer-show label:hover::before {
    left: 0%;
}

.trailer-show input:checked~.wrapped-info {
    /* opacity: 1; */
    /* visibility: visible; */
    display: block;
}

.trailer-show input:checked~label {
    font-size: 0;
    display: none;
}

.trailer-show .wrapped-info {
    display: none;
    overflow-y: auto;
    padding-right: 10px;
    transition: all .2s;
    padding-bottom: 20px;
    color: #fff;
}

.trailer-show .info {
    max-height: 500px;
    overflow-y: auto;
}

.trailer-show .info::-webkit-scrollbar {
    width: 10px;
    background-color: #060e35;
    padding: 1px;
}

.trailer-show .info::-webkit-scrollbar-track {
    background-color: transparent;
    border: 1px solid #83A9D7;
    border-radius: 6px;
}

.trailer-show .info::-webkit-scrollbar-thumb {
    background-color: #fff;
    border: 1px solid #83A9D7;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .trailer-show {
        flex-direction: column;
        gap: 40px;
        width: calc(100% - 40px);
        margin-bottom: 80px;
    }

    .trailer-show video {
        width: 100%;
    }

    .trailer-show label {
        margin-left: auto;
        margin-right: auto;
    }

    .trailer-show .info {
        max-height: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .trailer-show .info {
        padding-right: 20px;
    }
}