html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #f9f9f9;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.search-container {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.search-input {
    width: 50%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.card {
    margin-bottom: 20px;
}

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

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.card-text {
    font-size: 0.9rem;
    color: #555;
}

.carousel-item img {
    max-width: 80%; /* Adjust this value to make the image smaller */
    max-height: 400px; /* Optional: Limit the height */
    margin: 0 auto; /* Centers the image horizontally */
    display: block; /* Ensures the image is displayed as a block */
    object-fit: contain; /* Ensures the image scales well within the bounds */
}

.loading {
    display: none;
    font-size: 1.5em;
    color: gray;
}

.loading-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    animation: shimmer 1.5s infinite linear;
}

.placeholder-image {
    width: 100%;
    height: 150px;
    background-color: #e0e0e0;
    border-radius: 4px 4px 0 0;
    animation: shimmer 1.5s infinite linear;
}

.placeholder-text {
    display: block;
    background-color: #e0e0e0;
    height: 1em;
    margin-bottom: 0.5em;
    border-radius: 4px;
    animation: shimmer 1.5s infinite linear;
    width: 80%;
}

    .placeholder-text:last-child {
        width: 60%;
    }

@keyframes shimmer {
    0% {
        background-position: -150%;
    }

    50% {
        background-position: 150%;
    }

    100% {
        background-position: -150%;
    }
}

.loading-card,
.placeholder-image,
.placeholder-text {
    background: linear-gradient(90deg, #f9f9f9 25%, #e0e0e0 50%, #f9f9f9 75%);
    background-size: 200% 100%;
}

#loading {
    display: none; /* Hidden by default, visible only when triggered */
}

.logo {
    width: 15%;
}

.btn {
    background-color: #264b8b;
    border-color: #264b8b
}

    .btn:hover {
        background-color: #264b8bb3
    }
nav {
    background-color: #264b8b
}

.search-container {
    background-image: url('/images/banner.jpg');
    background-position: center;
    background-repeat: no-repeat; 
    padding: 100px; 
    border-radius: 8px;
}

@media (max-width: 768px) {
    .search-container {
        background-image: none;
        padding: 20px;
    }
    .logo{
        width:30%
    }
}

.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}