/*grand kids camp image carousel******************************************/
/* Carousel Container */
.carousel {
    position: relative;
    width: 100%;
    max-width: 100%
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #D3D3D3; /* Fill gaps with background color */
}

/* Carousel Inner Container */
.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
  	height: 100%;
}

/* Carousel Items */
.carousel-item {
    flex: 0 0 100%;
    transition: opacity 1s ease;
    height: 400px; /* Set a fixed height for consistency */
    display: flex;
    justify-content: center; /* Center image horizontally */
    align-items: center; /* Center image vertically */
  	position: relative;
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  	display: block;
    border-radius: 10px;
}

/* Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    line-height: 0.5;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

/* Hide inactive items */
.carousel-item:not(.active) {
    display: none; /* Hide inactive items */
    pointer-events: none;
}