.first-library {
    background-image: url('/assets/images/live-demo-page2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 55vh;
    padding: 0;
    /* remove extra spacing */
}

a.btn {
    border-radius: 10px;
    width: 114px !important;
}

a.btn {
    background-color: #4ecbb0;
}


.fade-in {
    animation: slideIn 1s forwards;
}

.fade-out {
    animation: slideOut 1s forwards;
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}


.sub-section {
    padding: 60px 0;
}


.back-bar {
    width: 70%;
    height: 220px;
    background: #eaf3ff;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

img {
    max-width: 90%;
    z-index: 2;
    position: relative;
}

.form-switch .form-check-input {
    width: 50px;
    height: 25px;
    cursor: pointer;
}

.form-switch .form-check-input:checked {
    background-color: #198754;
    /* Bootstrap success color */
    border-color: #198754;
}

.sub-section {
    padding: 60px 0;
}

#myPieChartLivePage {
    max-height: 422px !important;
    width: 636px;
}

.chart-container {
    width: 100%;
    height: auto;
}

.chart-responsive {
    max-width: 100% !important;
    height: auto !important;
}

.video-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}



.container-swiper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: relative;
    padding: 5rem 0;
    width: 100%;
}

.swiper_container {
    background-color: black;
}

.container-swiper .frame {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
}

.container-swiper .slider-black .image-black img.image {
    width: 80px;
    height: auto;
}

.container-swiper .slider-black .image-black .star-image {
    width: 16px;
}

.container-swiper .slider-black .image-black p {
    color: black;
    font-size: 16px;
    margin: 5px 0;
}

.container-swiper .icon,
.container-swiper .icon-right {
    width: 4rem;
    height: 4rem;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.container-swiper .icon {
    left: 1rem;
}

.container-swiper .icon-right {
    right: 1rem;
}

.container-swiper .icon i {
    transform: rotate(-90deg);
    font-size: 28px;
    color: black;
}

.container-swiper .icon-right i {
    transform: rotate(90deg);
    font-size: 28px;
    color: black;
}

.owl-prev,
.owl-next {
    color: black !important;

}

div.frame i.fa-solid {
    position: absolute;
    bottom: -333px;
    right: -17px;
    font-size: 22px;
}

div.frame i.fa-solid:hover {
    scale: 1.3;
}

@media (max-width: 992px) {
    .container-swiper {
        padding: 3rem 0;
    }

    .container-swiper .frame {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .container-swiper {
        gap: 10px;
    }

    .container-swiper .icon,
    .container-swiper .icon-right {
        width: 3rem;
        height: 3rem;
    }

    .back-bar {
        width: 90%;
        height: 180px;
    }

    img {
        max-width: 100%;
    }

    .first-library {
        height: 40vh;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .container-swiper .frame {
        padding: 1rem;
    }

    .first-library {
        height: 35vh;
    }
}