﻿.carousel-container {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.p-0 {
    padding: 0 !important;
}

.carousel {
    display: block;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.carousel-description {
    position: absolute;
    color: white;
    padding: 10px;
    text-align: left;
    float: left;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 50%;
}
    .carousel-description.inactive {
        display: none;
    }
    .carousel-description.active {
        display: block;
    }

    .carousel-description p {
    margin: 0;
    font-size: 4.5vw;

}
    .carousel-slide {
        position: absolute;
        min-width: 100%;
        height: 100%;
        overflow: hidden;
        flex: shrink 0;
    }

    .carousel-slide img {
        width: 100%;
        height: 100%;
        position: absolute;
        object-fit: cover;
        animation: zoom 3s infinite;
    }

@keyframes zoom {
    100% {
        width: 110%;
    }
}

.carousel-container .control-block {
    z-index: 5;
    padding-right: var(--side-padding--main);
    padding-bottom: var(--top-bottom-padding--main);
    padding-left: var(--side-padding--main);
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1680px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
}

.carousel-container .carousel-control {
    position: absolute;
    top:auto;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 5px;
    cursor: pointer;
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 10px;
    font-size: 0.75rem;
}

.carousel-control.prev {
    left: 10px;
    background: url('../../resources/left-arrow1.svg') center center no-repeat rgba(255, 255, 255, .5);
    background-size: contain;
    margin-right: 10px;
    z-index: 1000;
}


.carousel-control.next {
    left: 60px;
    background: url('../../resources/right-arrow1.svg') center center no-repeat rgba(255, 255, 255, .5);
    background-size: contain;
    z-index: 1000;
}
.carousel-control.play {
    right: 10px;
    left: auto;
    background: url('../../resources/play-circle1.svg') center center no-repeat rgba(255, 255, 255, .5);
    background-size: contain;
    z-index: 1000;
}

.carousel-control.pause {
    right: 10px;
    left: auto;
    background: url('../../resources/pause-circle1.svg') center center no-repeat rgba(255, 255, 255, .5);
    background-size: contain;
    z-index: 1000;
}

.carousel-dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

    .carousel-dots .dot {
        display: inline-block;
        width: 10px;
        height: 10px;
        margin: 0 5px;
        background-color: #bbb;
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .carousel-dots .dot.active {
            background-color: #717171;
        }
