/* Custom Styles */ 
.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    }
.footer { 
        padding: 2px; 
    }
.placeholder-img {
        max-width: 300px;
        margin: 20px auto;
        display: block;
    } 
.feedback-link{
        text-decoration: underline;
    }
.result-section {
        margin-top: 50px;
    }
.movie-list {
        max-width: 600px;
        margin: 0 auto;
    }
.uploaded-image {
        max-width: 300px;
        margin: 20px auto;
        display: block;
    }
.list-group-item a:hover {
        text-decoration: underline;
        color: #0d6efd; /* Bootstrap's primary color */
    }
    /* Center-align all h1 to h4 */
h1, h2, h3, h4, h5, p {
        text-align: center;
    }
    /* Center-align buttons */
.center-button {
        text-align: center;
        margin-top: 20px;
    }

input[type="file"] {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /* Optional: Adjust custom file input label */
.custom-file-label::after {
        content: "Browse";
        background-color: #0d6efd;
        color: white;
        border: none;
        padding: 0.375rem 0.75rem;
        border-radius: 0.25rem;
        cursor: pointer;
    }

ul {
    text-align: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    }

li {
    list-style: none;
    margin: 0;
    padding: 0;
    }

    /* Add a black background color to the top navigation */
.topnav { 
        width: 100%;
        text-align: center;
    }
    
    /* Style the links inside the navigation bar */
.topnav a {
        padding:1em;
        text-align: center;
        display:inline-block;
        text-decoration: none !important;
        margin:0 auto;

        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -ms-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
    }

.carousel-container {
    width: 80%;
}

/* Optional: Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-container {
        width: 95%; /* Increase width on smaller screens for better visibility */
    }
}