/********** CSS **********/
:root {
    --primary: #505050;
    --gray: #6c757d;
    --light: #F8F8F8;
    --dark: #252525;
}

.text-gray {
    color: #6c757d;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

body {
    background-color: #252525
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    width: 100% !important;
    background-color: #252525;

}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    border-radius: 10px !important;
    color: #ffffff;
    background: #505050;
    border-color: white;
}

.btn.btn-primary:hover {
    color: white;
    background-color: #505050;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: #6c757d;
    border-color: #777777;
    border-radius: 10px;
}

.btn-outline-body:hover {
    color: #6c757d;
    background: #ffff;
    border-color: #6c757d;
}


/*** Navbar ***/
.logo_image {
    filter: brightness(1.2);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--light);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #868686;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .c-featurette__item {
        position: relative;
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-end;
        flex: 1 1 auto;
        margin: 16px 8px;
        min-height: 512px;
        color: #fff;
        font-family: "Poppins", sans-serif;
        letter-spacing: 2px;
        text-align: center;
        border-radius: 2px;
        transition: 250ms ease;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgb(19 19 19 / 93%);
    opacity: 0.7;
}

.content_header {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;

    opacity: 3.1;

}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }

}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 5px 0;
    /* opacity: initial; */
    /* background: var(--dark); */
    transition: 1s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
    border-radius: 20px;

}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item {
    border-radius: 20px;
}

.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #252525;
    border-radius: 120px;
    filter: grayscale(1);
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: #505050;
    color: white;
    filter: grayscale(1);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
    box-shadow: 1px 1px 14px 2px #505050;
    border-radius: 20px;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    border-radius: 20px;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    z-index: -1;
}

.service-item .service-text {
    background: #252525;
    opacity: .9;
    color: white;
    transition: .8s;
}

.service-item:hover .service-text {
    background: rgb(0 0 0 / 40%);
}

.project-item {
    transition: .5s;
    color: white;
    border-radius: 20px;
    background: rgb(0 0 0 / 40%);
    transform: scale(1);

}

.service-item * {
    transition: .5s;
    color: white;
    border-radius: 20px;
}

.service-item:hover {
    box-shadow: 1px 1px 14px 2px #505050;
    border-radius: 20px;


}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}

.service-item .icon {
    filter: grayscale(1);
}

/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.card-team {
    border-radius: 20px;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    border-radius: 40px;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    border-radius: 20px;
    color: var(--primary);
    background: #252525;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.flex-shrink-0 {
    filter: grayscale(1);
}

/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    /* height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
*/
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
    display: none;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: white;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.form-control {
    border-radius: 15px !important;

}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}



.c-title {
    position: relative;
    text-align: center;
    font-size: 2.5em;
    margin: 32px 0;
    padding: 32px 0 0 0;
    font-family: "Playfair Display", serif;
    font-weight: 900;
}

.c-title::before {
    content: "";
    display: block;
    position: absolute;
    height: 6px;
    width: 64px;
    left: 50%;
    top: 10px;
    transform: translatex(-50%);
    background: #f7e195;
}

.c-featurette {
    display: flex;
    flex-flow: row nowrap;
    list-style: none;

    padding: 0 8px;
    width: 100%;
    height: 100%;
    align-items: center;
}

.c-featurette__item {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-end;
    flex: 1 1 auto;
    margin: 16px 8px;
    min-height: 512px;
    color: #fff;
    font-family: "Poppins", sans-serif;
    letter-spacing: 2px;
    text-align: center;
    border-radius: 2px;
    transition: 250ms ease;
}

.c-featurette__item::before {
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    top: 0;
}

.c-featurette__item::after {
    content: "";
    z-index: -2;
    opacity: 0;
    position: absolute;
    display: none;
    height: 100%;
    width: 100%;
    left: 32px;
    top: 32px;
    background-image: radial-gradient(circle 1px at 0 0, #c2c2c2, transparent 1px), radial-gradient(circle 1px at 15px 0, #c2c2c2, transparent 1px), radial-gradient(circle 1px at 15px 15px, #c2c2c2, transparent 1px), radial-gradient(circle 1px at 0 15px, #c2c2c2, transparent 1px);
    background-size: 16px 16px;
    background-repeat: repeat;
    transition: 250ms ease;
}

.c-featurette__item:nth-child(1)::before {
    background: linear-gradient(0deg, #ffffff, transparent 35%);
}

.c-featurette__item:nth-child(2)::before {
    background: linear-gradient(0deg, #ffffff, transparent 35%);
}

.c-featurette__item:nth-child(3)::before {
    background: linear-gradient(0deg, #ffffff, transparent 35%);
}

.c-featurette__item:nth-child(4)::before {
    background: linear-gradient(0deg, #ffffff, transparent 35%);
}

.c-featurette__item:nth-child(5)::before {
    background: linear-gradient(0deg, #ffffff, transparent 35%);
}

.c-featurette__item:hover {
    flex: 4 0 auto;
    box-shadow: 0 16px 32px 0 rgba(51, 51, 51, 0.25);
}

.c-featurette__item:hover::after {
    display: block;
    opacity: 1;
}

.c-featurette__item:hover .c-featurette__category {
    transform: translatey(-104px);
    transition: transform 500ms ease;
}

.c-featurette__item:hover .c-featurette__heading {
    transform: translatey(-104px);
    color: white;
    transition: transform 500ms ease 85ms;
}

.c-featurette__item:hover .c-featurette__button {
    display: block;
    opacity: 1;
    transition: opacity 350ms ease 300ms;
}

.c-featurette__background {
    position: absolute;
    width: 100%;
    height: 100%;

    -o-object-fit: cover;
    object-fit: cover;
    z-index: -1;
    border-radius: 20px;
}

.c-featurette__category {
    text-transform: uppercase;
    font-weight: 500;
    transition: transform 500ms ease;
    z-index: 1;
}

.c-featurette__heading {
    margin: 8px 0 24px;
    font-size: 2.25em;
    text-shadow: 1px 1px rgba(51, 51, 51, 0.5);
    transition: transform 500ms ease;
    z-index: 1;
}

.c-featurette__button {
    position: absolute;
    left: 24px;
    bottom: 16px;
    width: calc(100% - 94px);
    opacity: 0;
    padding: 24px 0;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    margin: 0 24px 24px;
    background: #252525;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85em;
    transition: opacity 150ms ease;
}

.team-items .wow {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
}


.lines {
    position: fixed;
    top: 0;
    left: 50%;
    height: 100%;
    margin: auto;
    width: 90vw;
    pointer-events: none;
    /* Prevent interactions with lines */
    z-index: -1;
    /* Move lines behind other content */
    animation-delay: 5s;

}

.line {
    position: absolute;
    width: 2px;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.070);
    overflow: hidden;
    animation-delay: 5s;

}

.line::after {
    content: "";
    display: block;
    position: absolute;
    height: 15vh;
    /* Adjust as needed */
    width: 100%;
    top: 100%;
    /* Start from the bottom */
    left: 0;
    background: linear-gradient(to top, #505050 0%, #8e8e8e 75%, #9c9c9c 100%);
    animation: drop 5s infinite cubic-bezier(0.11, 0.116, 0.12, 0.97);
    animation-fill-mode: forwards;
    animation-delay: 3s;

}

.line:nth-child(1) {
    margin-left: -25%;
    animation-delay: 5s;
}

.line:nth-child(3) {
    margin-left: 25%;
    animation-delay: 2.5s;
}

@keyframes drop {
    0% {
        top: 110%;
        /* Start from the bottom */
    }

    100% {
        top: -50%;
        /* End at the top */
    }
}

@media (max-width: 768px) {
    .lines {
        width: 100vw;
        /* Adjust width for smaller screens */
    }

    .line {
        height: calc(100vh + 200%);
        /* Adjust height for smaller screens */
    }

    .line::after {
        height: 20vw;
        /* Adjust height for smaller screens */
    }

}

@media (max-width: 989px) {
    .c-featurette {
        flex-flow: column-reverse !important;
    }
}


.circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    /* Move the circles behind other content */

}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    animation: animate 25s linear infinite;
    bottom: -150px;
}

/* Rectangle */
.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 60px;
    animation-delay: 0s;
    border: 4px solid rgba(255, 255, 255, 0.070);
    border-radius: 5px;
}



/* Triangle */
.circles li:nth-child(2) {
    left: 10%;
    width: 60px;
    height: 60px;
    animation-delay: 2s;
    animation-duration: 12s;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(255, 255, 255, 0.070);
}


/* Circle */
.circles li:nth-child(3) {
    left: 70%;
    width: 60px;
    height: 60px;
    animation-delay: 4s;
    background-color: rgba(255, 255, 255, 0.070);
    border-radius: 50%;
}

/* Square */
.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
    border: 2px solid rgba(255, 255, 255, 0.070);
    border-radius: 5px;
}


/* Hexagon */
.circles li:nth-child(5) {
    left: 65%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
    background-color: rgba(255, 255, 255, 0.070);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Pentagon */
.circles li:nth-child(6) {
    left: 75%;
    width: 80px;
    height: 80px;
    animation-delay: 3s;
    border-top: 0px solid transparent;
    border-right: 5px solid rgba(255, 255, 255, 0.070);
    border-bottom: 7px solid transparent;
    border-left: 0px solid rgba(255, 255, 255, 0.070);
}


/* Rhombus */
.circles li:nth-child(7) {
    left: 35%;
    width: 60px;
    height: 80px;
    animation-delay: 7s;
    border: 2px solid rgba(255, 255, 255, 0.070);
    transform: rotate(45deg);
}


/* Ellipse */
.circles li:nth-child(8) {
    left: 50%;
    width: 80px;
    height: 60px;
    animation-delay: 15s;
    animation-duration: 45s;
    background-color: rgba(255, 255, 255, 0.070);
    border-radius: 50%;
}

/* Trapezoid */
.circles li:nth-child(9) {
    left: 20%;
    width: 100px;
    height: 60px;
    animation-delay: 2s;
    animation-duration: 35s;
    border-top: 0 solid transparent;
    border-right: 10px solid rgba(255, 255, 255, 0.070);
    border-bottom: 60px solid transparent;
    border-left: 0px solid rgba(255, 255, 255, 0.070);
}



/* Ring */
.circles li:nth-child(10) {
    left: 85%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
    animation-duration: 11s;
    border: 6px solid rgba(255, 255, 255, 0.070);
    border-radius: 50%;
}


.circles li:nth-child(11) {
    left: 10%;
    bottom: 15%;
}

.circles li:nth-child(12) {
    left: 25%;
    bottom: 25%;
}

.circles li:nth-child(13) {
    left: 40%;
    bottom: 35%;
}

.circles li:nth-child(14) {
    left: 55%;
    bottom: 45%;
}

.circles li:nth-child(15) {
    left: 70%;
    bottom: 55%;
}

.circles li:nth-child(16) {
    left: 55%;
    bottom: 65%;
}

.circles li:nth-child(17) {
    left: 40%;
    bottom: 75%;
}

.circles li:nth-child(18) {
    left: 25%;
    bottom: 85%;
}

.circles li:nth-child(19) {
    left: 10%;
    bottom: 95%;
}

@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}



/*Project*/

.project-img {

    box-shadow: 1px 1px 14px 2px #505050;
    border-radius: 20px;
}

@media screen and (max-width: 600px) {
    main .header {
        margin-bottom: 70px !important;
    }
}

main .header h1 {
    font-weight: 800;
    font-size: 3rem;
    margin: 5px -5px 15px;
}

main .header span {
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    color: #6e6e6e;
}

main .header p {
    max-width: min(40ch, 100% - 2rem);
    line-height: 1.6;
    color: #565656;
}

main .item {
    width: 100%;
    height: 400px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.8);
}

main .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

main .item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 28px 25px;
    color: #fff;
    background: #020024;
    background: linear-gradient(0deg, #3d3d3d 0%, #000000a1 3%, #00000000 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;

}

main .item .overlay span {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 60px;
    padding: 10px 20px;
    display: inline-block;
}

main .item .overlay>div h2 {
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
}

@media screen and (max-width: 600px) {
    .owl-nav {
        top: -60px !important;
    }
}

.owl-nav button {
    background: #fff !important;
    width: 45px;
    height: 45px;
    font-size: 25px !important;
    box-shadow: 0px 0px 17px #00000005;
    border-radius: 50%;
}

.owl-nav button:nth-of-type(1) {
    margin-right: 13px;
}

/*before & after*/


.sliders-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}


#comparison {
    border-radius: 20px;
    position: relative;
    height: 100%;
    min-height: 400px;
    box-shadow: 1px 1px 14px 2px #505050;

}

figure {
    position: absolute;
    border-radius: 20px;
    background-image: url(/img/before_after/after.jpg);
    background-size: cover;
    font-size: 0;
    width: 100%;
    height: 100%;
    box-shadow: 1px 1px 14px 2px #505050;

    margin: 0;
}

#divisor {
    background-image: url(/img/before_after/before_image_final.png);
    background-size: cover;
    position: absolute;
    border-radius: 20px;
    width: 50%;
    box-shadow: 1px 1px 14px 2px #505050;
    bottom: 0;
    height: 100%;
}

#divisor::before,
#divisor::after {
    content: "";
    position: absolute;
    right: -2px;
    width: 4px;
    height: calc(50% - 25px);
    background: white;
    z-index: 3;
}

#divisor::before {
    top: 0;
    box-shadow: 0 -3px 8px 1px rgba(0, 0, 0, 0.3);
}

#divisor::after {
    bottom: 0;
    box-shadow: 0 3px 8px 1px rgba(0, 0, 0, 0.3);
}

#handle {
    position: absolute;
    height: 50px;
    width: 50px;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 1;
}

#handle::before,
#handle::after {
    content: "";
    width: 0;
    height: 0;
    border: 6px inset transparent;
    position: absolute;
    top: 50%;
    margin-top: -6px;
}

#handle::before {
    border-right: 6px solid white;
    left: 50%;
    margin-left: -17px;
}

#handle::after {
    border-left: 6px solid white;
    right: 50%;
    margin-right: -17px;
}

input[type=range] {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    background-color: transparent;
    width: calc(100% + 50px);
    z-index: 2;
}

input[type=range]:focus,
input[type=range]:active {
    border: none;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: transparent;
    border: 4px solid white;
    box-shadow: 1px 1px 14px 2px #505050;
}

input[type=range]::-moz-range-track {
    -moz-appearance: none;
    height: 15px;
    width: 100%;
    background-color: transparent;
    position: relative;
    outline: none;
}

@media only screen and (max-width: 767px) {

    #comparison,
    figure,
    #divisor {
        min-height: 150px;
        /* Adjust min-height to fit the content */
    }
}

/*Brand Carousal*/