.person-carousel {
    max-width: 60%;
    margin: auto;
}

.person-carousel h3 {
    text-align: center;
    margin-bottom: 20px;
}

.carousel-caption h5 {
    font-size: 1.25rem;
    color: #fff;
}

.carousel-caption .btn {
    margin-top: 10px;
}

.carousel-item {
    min-height: 300px;
}

.carousel-control-prev, 
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 40px;
}


.carousel-control-prev {
    left: -1em;
}

.carousel-control-next {
    right: -1em;
}

@media (max-width: 1348px) {
    .carousel-control-prev {
        left: -2em;
    }

    .carousel-control-next {
        right: -3.5em;
    }
}

@media (max-width: 768px) {
    .carousel-control-prev {
        left: -2em;
    }

    .carousel-control-next {
        right: -2em;
    }
}

.carousel .card {
    width: 80%;
}

.card-img-small {
    max-height: 200px;
    object-fit: cover;
}

.carousel .card-title {
    font-size: 1.1rem;
}

.carousel .card-text {
    font-size: 1rem;
}

.carousel .card-body {
    padding: 10px;
}

.carousel .carousel-item {
    margin-left: 2em;
}

#personCarousel {
    width: 80%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    #personCarousel {
        width: 100%;
    }
}

.badge-purple {
    background-color: #6f42c1;
    color: #fff;
}

.alert.personAlert {
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    max-width: 400px;
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.alert-found-alive {
    background-color: #28a745;
    color: white;
    font-weight: bold;
    border: 2px solid #218838;
}

.alert-found-dead {
    background-color: #800000; 
    color: white;
    font-weight: bold;
    border: 2px solid #5c0000;
}

.alert-found-unknown {
    background-color: #6c757d;
    color: white;
    font-weight: bold;
    border: 2px solid #495057;
}

.alert-hidden-person {
    background-color: #ffc107;
    color: black;
    font-weight: bold;
    border: 2px solid #e0a800;
    text-align: center;
}

.container.personCarouselContainer {
    background-color: #f8f9fa;
}