.gallary-relatve-container {
    position: relative;

}

@font-face {
    font-family: "KumlienPro";
    src: url("/fonts/KumlienPro-Regular.otf");
}

body {
    background-image: url('images/services.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    font-family: 'KumlienPro';

}

.logo {
    height: 85px;
    object-fit: cover;
}

.all-gallary-custom-c {
    position: relative;
    height: 550px;
    width: 1px;
    margin-bottom: 100px;
}


.gallary-container {

    width: 100vw;
    /* height: 100vh; */
    height: 550px;
    display: flex;
    align-items: flex-start;
    justify-content: center;

    overflow: hidden;
    transition-duration: 5s;
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;

    z-index: -1;

}





.gallary-container.noleft {
    left: 0;
    right: 100px;
    width: calc(100vw - 100px);
}

.gallary-container.noright {
    right: 0;
    left: 100px;
    width: calc(100vw - 100px);
}

.gallary-container .image-boxes {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    transition-duration: 5s;
}

.gallary-container .image-boxes {
    height: 800px;
    /* width: 900px; */
    width: 60vw;
    margin-top: 30px;
}

.gallary-container .image-boxes img {
    height: 800px;
    width: 100%;
    max-height: 100vh;
    object-fit: cover;
}

.gallary-container .image-boxes.active {
    height: auto;
    /* width: 1000px; */
    width: 75vw;
    cursor: pointer;
    padding: 0px 80px 20px 80px;
    margin: 0px;
}

.next-prev {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
}

.next-prev .prev-btn,
.next-prev .next-btn {
    position: fixed;
    width: 20vw;
    max-width: 200px;
    height: 100vh;
    cursor: pointer;
    z-index: 999;
    top: 0;
}

.next-prev .prev-btn {
    left: 0;
}

.next-prev .next-btn {
    right: 0;
}

.gallary-container .image-boxes.active.open img {
    max-width: unset;
    max-height: unset;
    object-fit: cover;
    object-position: center;
    min-height: 100%;
}

.gallary-container .image-boxes .desc-img {
    display: flex;
    opacity: 0;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    background: rgba(0, 0, 0, 0.521);
    transition-duration: 1.5s;
    transition-delay: 3s;
}

.gallary-container .image-boxes .desc-img p {
    max-width: 80%;
    text-align: center;
}

.gallary-container .image-boxes.active.open .desc-img {
    opacity: 1;
    visibility: visible;
    transition-delay: 0;
}

.gallary-container .image-boxes.active.open {
    width: 100vw;
    height: 100vh;
    z-index: 999;
    left: 0 !important;
    top: 0 !important;
    cursor: unset;
    padding: 0;
}

.gallary-container .image-boxes.active.open h1 {
    margin-bottom: 40px;
}

.gallary-container .image-boxes.active.open p {
    margin-bottom: 40px;
}

.next-prev-btn {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: calc(100vw - 100px);
    display: flex;
    justify-content: space-between;
    height: 180px;
    padding: 40px;
}

.next-prev-btn .prev-btn,
.next-prev-btn .next-btn {
    width: 20%;
    max-width: 100px;
    /* background: red; */
    height: 100%;
    font-size: 4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.all-gallary-custom-c.no-trans * {
    transition: none;
}

#gallaryCParameters {
    display: none !important;
}

.image-float {
    box-shadow: 12px 12px 25px rgba(0, 0, 0, 0.4);
    opacity: 50%;
}

.image-boxesss {
    background-color: #0f0f0f;
}




/* navbar  */

nav.navbar.navbar-expand-lg.bg-transparent {
    padding: 0;
    margin: 0;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 12px 12px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    z-index: 100;
}


.navbar-collapse {
    display: flex;

}

.my-nv-h {

    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
}

.nav-item a {
    font-size: 1.2rem;
    color: #f5f5f5 !important;
    text-shadow: 3px 3px 25px rgba(0, 0, 0, 1);
}

.name-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;

}


.magsmen-nameboard {
    background-color: #151515d3;
    border: 0px solid transparent;
    border-radius: 10px;
    padding: 10px;
    color: #FFFFFF;
    position: absolute;
    top: 40%;
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;


}

.main-h1 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px !important;
}

.magsmen-nameboard p {

    text-align: center;
    /* height: 90%; */
    font-weight: 300;
}

.btn-dark {
    width: 100%;
}



/* footer */

.foot-cont {
    height: 450px;
    color: rgb(255, 255, 255) !important;
    background: rgba(18, 17, 17, .9);
    text-shadow: -12px -12px 25px rgba(0, 0, 0, 0.3);
    box-shadow: -12px -12px 25px rgba(0, 0, 0, 0.3);
}

.icon {
    width: 22px;
    height: 22px;
    filter: invert(93%) sepia(100%) saturate(27%) hue-rotate(42deg) brightness(107%) contrast(107%)
}



.footer-hash {
    margin: 20px 20px 20px 20px;
    text-align: justify;
    text-align-last: center;
    font-size: 12px;
}

.foot-cont .footer-bottom {
    margin-top: 10px;
}

footer h1 {

    font-weight: 300;
    font-size: 2rem;
    text-align: center !important;
}

.foot-link-h {
    width: fit-content;
    font-size: 2rem;
    color: #f5f5f5;
    text-decoration: none;
    padding-top: 30px;
}

.foot-butn-h {
    background-color: #f5f5f5;
    color: #0f0f0f;
    border-radius: 1000px;
    border: 3px solid rgba(1, 1, 1, 0.4);
}

.foot-butn-h:hover {
    background-color: #0f0f0f;
    border: 3px solid rgba(1, 1, 1, 0.4);
}


.lower-foot-h {

    width: 100vw !important;
    height: 100px;
    background-color: #0f0f0f;
}

.text-white {
    padding-top: 30px !important;
}

.header-services {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 20px;
    width: 100vw;
    color: #fff
}


.navbar-brand,
.navbar-search {
    display: none;
}

.slide-cont {
    height: 600px;
}

.slide-img {
    height: 500px;
    object-fit: cover;
    border: solid 1x transparent;
    border-radius: 20px;
}


@media (max-width: 768px) {

    .all-gallary-custom-c {
        position: relative;
        height: 400px;
        width: 1px;
        margin-bottom: 100px;
    }

    .slide-img {
        height: 400px;
        object-fit: cover;
        border: solid 1x transparent;
        border-radius: 20px;
    }

    .gallary-container {
        padding-bottom: 20px;
        height: 450px;
    }

    .slide-cont {
        height: 400px;
    }


    .gallary-container .image-boxes {
        height: 300px;
        /* width: 900px; */

    }


    .gallary-container .image-boxes.active {
        height: 300px;
        object-fit: cover;
    }




    .gallary-container .image-boxes img {
        height: 300px;
        width: 100%;

        object-fit: cover;
    }




    .magsmen-nameboard {
        width: 70%;
        top: 40%;
    }

    .magsmen-nameboard h2 {


        font-size: 0.8rem;
        font-weight: 400;
    }


    .logo {
        height: 40px;
        object-fit: cover;
        align-content: flex-end;
    }


    .foot-cont {
        height: 500px;
        color: rgb(255, 255, 255) !important;
        background: rgba(18, 17, 17, .9);
        text-shadow: -12px -12px 25px rgba(0, 0, 0, 0.3);
        box-shadow: -12px -12px 25px rgba(0, 0, 0, 0.3);
    }

    .foot-cont .footer-bottom {
        font-size: 12px;
    }

    .nav-bar.active .links {
        width: 100vw;
        max-width: 100vw;
    }

    .gallary-container .image-boxes.active {
        padding: 10px 20px;
    }



    .slider-cont {
        height: 600px;
        margin-bottom: 0px;
    }

    .image-boxes {
        aspect-ratio: 1/1;
        height: 50vh;
    }

    .image-float {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
        aspect-ratio: 1/1.5;
    }


    .nav-contain {
        justify-content: flex-end;

        box-shadow: 12px 12px 25px rgba(0, 0, 0, 0.3);
    }

    .navbar-toggler {
        margin-left: auto;
        border: 0px;
        color: #ffffff00;
        margin-right: -10px;
    }

    .navbar-toggler-icon {
        color: #f5f5f5;
        filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(35deg) brightness(101%) contrast(103%);
    }


    ul.navbar-nav.me-auto.mb-2.mb-lg-0.my-nv-h {

        align-items: flex-end;
    }




    .navbar-brand,
    .navbar-search {
        display: block;
        padding-left: 5px;
    }




    .lower-foot-h {
        width: 100% !important;
        height: 100px;
        background-color: #0f0f0f;
    }

    footer .fab {
        font-size: 1rem;
    }

    footer h1 {
        font-size: 1rem;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }


    footer {
        width: 100%;
    }



}