.carousel {
    height: 100%;
}

.carousel-inner {
    height: 100%;
    min-height: 100%;
}

.carousel-item {
    height: 100%;
    min-height: 100%;
    transition: transform 0.6s ease-in-out;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel.grab {
    cursor: grab;
}

.carousel.grabbing {
    cursor: grabbing;
}

/* Opis gdy nie ma obrazka */
.item-description {
    display: flex; 
    align-items: center; 
    justify-content: flex-start;
    background-color: #fff;
    color: #000;
    font-weight: 200;
    font-size: 1.375rem;
    padding: 20px;
    min-height: 100%;
}

/* Opis w lewym dolnym rogu */
.carousel-caption {
    background-color: #fff;
    color: #000;
    font-weight: 200;
    font-size: 1.375rem;
    text-align: left;
    padding: 20px;
    width: 100%;
    max-width: 420px;
    height: auto;
    min-height: 0;
    right: auto;
    left: 0;
    bottom: 0;
}

.carousel-indicators {
    position: absolute;
    right: 0 !important;
    bottom: 0 !important;
    left: auto;
    width: fit-content;
    margin: 20px;
    padding: 0 !important;
    list-style-type: none;
}

.carousel-indicators li {
    position: relative;
    height: 40px !important;
    width: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background-color: #000 !important;
    opacity: 0.3;
}

.numbers-container {
    pointer-events: none;
    display: flex; 
    flex-flow: row; 
    position: absolute; 
    bottom: 0; 
    right: 0; 
    width: fit-content;
}

.numbers-container p{
    position: relative; 
    width: 40px; 
    height: 40px; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 0.688rem !important;
    color: #fff;
}