.srcbar-con {
    width: 90%;
    display: flex;
}

.srcbar {
    height: auto;
    flex: 1; /* Allow the input field to grow and fill available space */
    padding: 8px 30px;
    border: none;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    font-size: 16px;
  
}

.srcbtn {
    width: 20%;
    height: 45px;
    border: none;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 8px 12px;
    background-color: #0D99FF;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.mag {
	width: 18px;
    filter: invert(100%);
    align-items: center;
    margin-left: 10px;
}

.wholebody {
    max-width: 1200px;
    margin: 0 auto;
}

.main-title {
    margin: 150px auto 0 auto;
    width: 90%; /* Set the width of the container */
    height: 160px; /* Set the desired height of the banners */
    overflow: hidden; /* Hide any overflow */
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.main-title img{
    width: 100%; /* Ensure the image fills the container horizontally */
    height: 100%; /* Ensure the image fills the container vertically */
    object-fit: cover; /* Scale the image while maintaining aspect ratio */
    margin-bottom: 20px;
	border-radius: 5px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap	:10px;
    padding: 20px;
    justify-content: center;
}

.item {
    width: 350px;
    height: auto;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: #eee;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.item:hover {
    transform: translateY(-5px);
}

.item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.details {
    padding: 5px 10px 10px 10px;
    background-color: #eee;
}

.date {
    font-size: 13px;
    color: #666;
}

.title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #007bff;
    cursor: pointer;
}

.title:hover {
    text-decoration: underline;
}


.user {
    font-size: 14px;
    font-weight: 100;
}

.bottom {
    margin-top: 8px;
}

.view-more {
    text-align: center;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 6px 25px;
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 5px;
}

.view-more:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: center;
}

.page-item {
    margin-right: 10px; /* Adjust spacing between page items */
}

.page-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #333; /* Text color */
    background-color: #eee; /* Background color */
    border: 1px solid #ccc; /* Border color */
    border-radius: 0.25rem; /* Border radius */
    transition: background-color 0.3s ease; /* Transition effect */
}

.page-link:hover {
    background-color: #bbb; /* Hover background color */
}

.page-item.active .page-link {
    z-index: 3;
    color: #eee; /* Active text color */
    background-color: #007bff; /* Active background color */
    border-color: #007bff; /* Active border color */
}

.page-item.disabled .page-link {
    color: #6c757d; /* Disabled text color */
    pointer-events: none; /* Disable click events */
    cursor: default; /* Change cursor style */
}

.page-link[aria-disabled="true"] {
    pointer-events: none; /* Disable click events */
    cursor: default; /* Change cursor style */
}

/* Style for search form container */
.src-form {
    display: flex;
    justify-content: left;
    margin-left: 40px;
}

/* Style for search input */
.src-bar {
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 300px;
}

/* Style for search button */
.src-btn {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Style for search button icon */
.search-icon {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    filter: invert(100%);
}

/* Style for search button text */
.src-text {
    font-weight: bold;
}

/* Style for hover effect on search button */
.src-btn:hover {
    background-color: #0056b3;
}


@media (max-width: 955px) {

    .src-text{
    	display: none;
    }

    .main-title {
        height: 100px; /* Set the desired height of the banners */
    }

    .container {
        padding: 0;
    }
    
    .item {
        max-width: 180px;
        margin-bottom: 20px;
    }
    
    .item img {
        height: 150px;
    }

    .title {
        font-size: 14px;
    }

    .user {
        font-size: 12px;
    }

    .date {
        font-size: 11px;
    }

    .view-more {
        text-align: center;
        background-color: #007bff;
        color: white;
        text-decoration: none;
        font-size: 10px;
        display: block;
        padding: 6px 15px;

    }

    .src-form {
        margin-left: 0;
        justify-content: center;
    }

    .src-text {
        display: none;
    }

    .search-icon {
        margin-left: 0;
    }

}