.home-banner {
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0 0;
    overflow: hidden;
    position: relative;
    background: url('../images/background_loop.webp');
    background-repeat: repeat-x;
    background-position-x: 0;
    animation: infinite-loop 180s linear backwards infinite;
    animation-delay: 0;
    /* background-position-y: -150px; */
    background-position-y: -50px;
}

@keyframes infinite-loop {
    50% {
        background-position-x: 100%;
    }
    100% {
        background-position-x: 0%;
    }
}

.home-banner .bg-image-section {
    height: 100%;
    position: absolute;
    display: flex;
    z-index: 1;
}

.mobile-image {
    display: none;
}

.home-banner .banner-section {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 2;
}

.home-banner .banner-section::before {
    content: "";
    height: 0;
    width: 100%;
    position: absolute;
    z-index: 4;
    box-shadow: 0px 0px 47px 117px rgb(0 0 0);
    top: 0;
}

.home-banner .banner-section::after {
    content: "";
    height: 0;
    width: 100%;
    position: absolute;
    z-index: 4;
    box-shadow: 0px 0px 55px 75px rgb(0, 0, 0);
    bottom: 0;
}


.banner-item {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
}

.banner-item.single-image-banner{  
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.9s ease-out;
}

.banner-item.single-image-banner img{  
    height: 100%;
}

.banner-item.single-image-banner.show{  
    opacity: 1;
}

.banner-item.double-image-banner {
    display: grid;
    grid-template-columns: 50% 50%;
}

.banner-item.double-image-banner .text-section {
    display: flex;
    justify-content: right;
    align-items: center;
    padding-right: 100px;
    opacity: 0;
}

.banner-item.double-image-banner.show .text-section {
    opacity: 1;
    transition: 0.8s ease-out 0.5s;
}

.banner-item.double-image-banner .text-section h1{
    font-size: 56px;
    width: auto;
    font-weight: 500;
}

.banner-item.double-image-banner .phone-images-section .image-box:first-child img{
    margin-top: -200vh;
}

.banner-item.double-image-banner .phone-images-section .image-box:last-child img{
    margin-top: 200vh;
}

.banner-item.double-image-banner .phone-images-section {
    display: flex;
    justify-content: left;
    align-items: center;
    height: 100vh;
    padding-left: 100px;
    gap: 20px;
}



.banner-item.double-image-banner .phone-images-section .image-box {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner-item.double-image-banner .phone-images-section .image-box img{
    height: 50%;
}


.banner-item.double-image-banner.show .phone-images-section .image-box:first-child img{
    transition: 1s linear 0.7s;
    margin-top: -10vh;
}

.banner-item.double-image-banner.show .phone-images-section .image-box:last-child img{
    transition: 1s linear 0.7s; 
    margin-top: 10vh;
}

/* #banner2.show .text-section {
    opacity: 1;
    transition: 0.8s ease-out 0s;
}


#banner2.show .phone-images-section .image-box:first-child img{
    transition: 0.7s linear 0s; 
}

#banner2.show .phone-images-section .image-box:last-child img{
    transition: 0.7s linear 0s; 
} */


.banner-item.double-image-banner.banner-hide .phone-images-section .image-box:first-child img {
    transition: 1s cubic-bezier(0.4, 0, 1, 1);
}

.banner-item.double-image-banner.banner-hide .phone-images-section .image-box:last-child img{
    transition: 1s cubic-bezier(0.4, 0, 1, 1);
}


@media (max-width: 1650px) {
    
    .banner-item.double-image-banner .text-section h1{
        font-size: 40px;
    }
}

@media (max-width: 1650px) {
    
    .banner-item.double-image-banner .text-section h1{
        font-size: 40px;
    }
}


@media (max-width: 1440px) {
    .home-banner {
        background-position-y: -50vh;
    }
}

@media (max-width: 1350px) {
    
    .banner-item.double-image-banner .text-section h1{
        font-size: 40px;
    }

    .banner-item.double-image-banner .text-section {
        padding-right: 50px;
        opacity: 0;
    }

    .banner-item.double-image-banner .phone-images-section {
        padding-left: 50px;
        gap: 20px;
    }

    .banner-item.double-image-banner .phone-images-section .image-box img{
        height: 40%;
    }

    .desktop-image {
        display: none;
    }

    .mobile-image {
        display: inline;
        max-width: 100%;
    }

    .banner-item.single-image-banner img{  
        height: auto;
        max-height: 100%;
    }
    
    
}

@media (max-width: 1200px) {
    
    .banner-item.double-image-banner .text-section h1{
        font-size: 35px;
    }
}

@media (max-width: 1050px) {
    
    .banner-item.double-image-banner .phone-images-section .image-box img{
        height: 30%;
    }

    .banner-item.double-image-banner .text-section h1{
        font-size: 35px;
    }
}

@media (max-width: 896px) {
    .home-banner {
        background-position-y: -400px;
    }
    .banner-item.double-image-banner .text-section h1{
        font-size: 30px;
    }

    .banner-item.double-image-banner {
        display: grid;
        grid-template-columns: 100%;
    }    

    .banner-item.double-image-banner .text-section {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        padding-top: 0;
        opacity: 0;
        text-align: center;
    }

    .banner-item.double-image-banner .phone-images-section {
        display: flex;
        flex-direction: row-reverse;
        justify-content: left;
        align-items: start;
        height: auto;
        padding-left: 0;
        gap: 0;
    }

    .home-banner .banner-section::before {
        content: "";
        height: 0;
        width: 100%;
        position: absolute;
        z-index: 4;
        box-shadow: none;
        top: 0;
    }

    .home-about-carousel .carousel-title h2 {
       /* text-align: center; */
    }


    .home-about-carousel .carousel-body .content-container p {
        font-size: 25px;
        /* text-align: center; */
    }

    .banner-item.double-image-banner .phone-images-section .image-box {
        width: 60vw;
        height: auto;
    }

    .home-4by4-item img {
        width: 70%;
        max-width: 1000px;
    }
    

    .banner-item.double-image-banner .phone-images-section .image-box img{
        height: auto;
        height: 400px;
    }

    .banner-item.double-image-banner .phone-images-section .image-box:last-child {
        justify-content: end;
    }

    .banner-item.double-image-banner .phone-images-section .image-box:first-child {
        justify-content: start;
    }

    .banner-item.double-image-banner .phone-images-section .image-box:last-child img {
        margin: 0 !important;
        margin-right: 150vw !important;
        justify-content: start;
        z-index: 1;
    }

    .banner-item.double-image-banner .phone-images-section .image-box:first-child img {
        margin: 0 !important;
        margin-left: 150vw !important;
        justify-content: end;
        z-index: 2;
    }

    
    .banner-item.double-image-banner.show .phone-images-section .image-box:last-child img {
        margin: 0 !important;
        margin-right: -35px !important;
        /* transition: 0.9s ease-out 0.5s;  */
    }

    .banner-item.double-image-banner.show .phone-images-section .image-box:first-child img {
        margin: 0 !important;
        /* margin-left: 0 !important; */
        margin-left: -35px !important;
        /* transition: 0.9s ease-out 0.5s;  */
    }
}