@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.content {
    flex: 1;
}
footer {
    text-align: center;
}

.custom-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.custom-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.custom-card-img {
    width: 100%;
    height: 300px; /* Adjust the height as needed */
    object-fit: cover;
    transition: transform 0.2s;
}

.custom-card:hover .custom-card-img {
    transform: scale(1.1);
}

.custom-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.2s;
}

.custom-card:hover .custom-card-overlay {
    opacity: 1;
}


.custom-card-name {
    font-size: 1.2em;
    color: #fff;
}

.swiper-slide {
    margin: 10px; /* Adjust the margin as needed for spacing between cards */
}

.custom-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.custom-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.custom-slide {
    min-width: 25%;
    box-sizing: border-box;
    padding: 10px;
}

.custom-card {
    position: relative;
    cursor: pointer;
}

.custom-card-img {
    width: 100%;
    height: auto;
}

.custom-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    text-align: center;
}

.custom-slider-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.custom-slider-prev, .custom-slider-next {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.custom-slider-prev:hover, .custom-slider-next:hover {
    background-color: #0056b3;
}

.dark-mode .custom-card {
    background-color: #1e1e1e;
    color: #ffffff;
    border: none;
}

.status-missing {
    background-color: #dc3545; /* Red */
}

.status-arrested {
    background-color: #17a2b8; /* Blue */
}

.status-remanded {
    background-color: #ffc107; /* Yellow */
}

.status-found {
    background-color: #28a745; /* Green */
}

.status-deceased {
    background-color: #6c757d; /* Grey */
}

.status-default {
    background-color: #007bff; /* Default Blue */
}
