/* Layout Styles
======================================= */

.hn-main-container {
    padding: 0;
}

.hn-main-container,
.hn-main-container * {
    box-sizing: border-box;
}

.instax-container {
    font-family: "Roboto", sans-serif;

}

.instax-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;

}

.instax-video-section {
    position: relative;
    width: 100%;
}

.instax-video-section video {
    width: 100%;
    height: auto;
    display: block;
}

.instax-overlay {
    position: absolute;
    inset: 0;
}

.header-logo-image {
    width: 120px;
    padding: 20px 0;
}

.instax-video-overlay-text {
    position: absolute;
    width: 100%;
    padding: 0 10vw;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.instax-heading-primary {
    font-size: 72px;
    color: #ff4d33;
}

.instax-collections {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 54px 15px;
    max-width: 1280px;
    margin: 0 auto;
    color: white;
}

.instax-collection {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.instax-collection-media {
    position: relative;
    min-height: 390px;
    overflow: hidden;
}

.instax-product-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 70%;
}

.instax-collection-media .instax-product-img {
    height: 70%;
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.instax-big-text {
    text-align: center;
    height: 70%;
    width: 100%;
}

.instax-big-text span {
    position: absolute;
    display: block;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 136px;
    font-weight: 900;
    line-height: 1;
}

.instax-text-front {
    color: transparent;
    -webkit-text-stroke: 1px white;
    -webkit-text-fill-color: transparent;
}

.instax-collection-content {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    flex: 1;
    gap: 30px;
    max-width: 80%;
    margin: 0 auto;
}

.instax-description {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.4;
}

.instax-button {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 18px;
    background-color: #ffd940;
    color: black;
}

.instax-film .instax-button {
    background-color: #685bc7;
    color: #fff;
}

.instax-cameras {
    background-color: #c85d85;
    flex: 0 0 100%;
}

.instax-printers {
    background-color: #685bc7;
    flex: 1 1 calc(50% - 15px);
}

.instax-film {
    background-color: #ffd940;
    flex: 1 1 calc(50% - 15px);
}

.instax-hybrid {
    background-color: #262626;
}

.instax-all {
    background-color: #ff8026;
    position: relative;
    z-index: 0;
}

.instax-sections {
    color: white;
}

.instax-section {
    overflow: hidden;
    padding: 30px;
}

.instax-section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.instax-all .instax-section-inner {
    flex-direction: row-reverse;
}

@keyframes floating {
    0% {
        transform: translateY(-10%);
    }

    50% {
        transform: translateY(10%);
    }

    100% {
        transform: translateY(-10%);
    }
}

@-webkit-keyframes floating {
    0% {
        -webkit-transform: translateY(-4%);
    }

    50% {
        -webkit-transform: translateY(4%);
    }

    100% {
        -webkit-transform: translateY(-4%);
    }
}

.instax-all {
    position: relative;
}

.instax-all-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.instax-all .instax-section-inner {
    position: relative;
    z-index: 1;
}

.instax-all-background img {
    position: absolute;
    animation-name: floating;
    -webkit-animation-name: floating;
    animation-duration: 20s;
    -webkit-animation-duration: 20s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

.instax-all-background img:nth-child(1) {
    height: 110%;
    top: 5%;
    left: -5%;
    animation-delay: -12s;
}

.instax-all-background img:nth-child(2) {
    height: 100%;
    top: 0;
    left: 19%;
    animation-delay: 0s;
}

.instax-all-background img:nth-child(3) {
    height: 100%;
    top: 50%;
    left: 30%;
    animation-delay: -14s;
}

.instax-all-background img:nth-child(4) {
    height: 120%;
    top: 10%;
    left: 50%;
    animation-delay: -4s;
}

.instax-all-background img:nth-child(5) {
    height: 100%;
    top: 0;
    left: 75%;
    animation-delay: -10s;
}

.instax-section-media {
    position: relative;
    min-height: 390px;

}

.instax-section-media .instax-product-img {
    height: 100%;
}



.instax-section-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

.instax-section .instax-section-media {
    flex: 0 0 50%;
    min-width: 0;
}

.instax-section .instax-section-content {
    flex: 1 1 50%;
    max-width: none;
    margin: 0;
}

.instax-section .instax-big-text span {
    text-align: left;
}

.instax-hybrid .instax-section-content {
    text-align: end;
    align-items: flex-end;
}

.instax-all .instax-section-content {
    text-align: start;
    align-items: flex-start;
}


/* Font Styles
======================================= */


/* Media Queries
======================================= */

@media screen and (min-width: 768px) {
    .instax-cameras .instax-big-text span {
        font-size: 136px;
    }

    .instax-printers .instax-big-text span {
        font-size: 72px;
    }

    .instax-film .instax-big-text span {
        font-size: 136px;
    }

    .instax-hybrid .instax-big-text span {
        font-size: 72px;
    }

    .instax-all .instax-big-text span {
        font-size: 500px;
    }


}



@media screen and (min-width: 990px) {
    .header-logo-image {
        width: 120px;
    }

    .instax-cameras .instax-big-text span {
        font-size: 136px;
    }

    .instax-printers .instax-big-text span {
        font-size: 100px;
    }

    .instax-film .instax-big-text span {
        font-size: 162px;
    }

    .instax-hybrid .instax-big-text span {
        font-size: 84px;
    }
}

@media screen and (min-width: 1280px) {
    .instax-cameras .instax-big-text span {
        font-size: 162px;
    }

    .instax-printers .instax-big-text span {
        font-size: 136px;
    }

    .instax-film .instax-big-text span {
        font-size: 162px;
    }
}

@media screen and (max-width: 767px) {
    .instax-heading-primary {
        font-size: 36px;
    }

    .header-logo-image {
        width: 80px;
    }

    .instax-collections {
        padding: 0;
        gap: 0;
    }

    .instax-collection {
        flex: 0 0 100%;
    }

    .instax-cameras .instax-big-text span {
        font-size: 92px;
        font-size: 18cqi;
    }

    .instax-printers .instax-big-text span {
        font-size: 92px;
        font-size: 18cqi;
    }

    .instax-film .instax-big-text span {
        font-size: 162px;
        font-size: 36cqi;
    }

    .instax-hybrid .instax-big-text span {
        font-size: 76px;
        font-size: 16cqi;
    }

    .instax-all .instax-big-text span {
        font-size: 400px;
        font-size: 72cqi;
    }

    .instax-section-inner,
    .instax-all .instax-section-inner {
        flex-direction: column-reverse;
    }

    .instax-hybrid .instax-section-content,
    .instax-all .instax-section-content {
        text-align: center;
        align-items: center;
    }

}