::-webkit-scrollbar {
    width: 5px;
    height: 9px;
   
 }
 
 ::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 5px;
 }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    min-height: 100vh;
    width: 100%;
    font-size: 16px;
    background: #1a1919;
    color: #777;
    display: flex;
    justify-content: center;
    align-items: center;
}

header {
    height: 137px;
    width: 100%;
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo {
    font-size: 2rem;
    margin-bottom: 10px;
}

.search-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#searchBar {
    padding: 10px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 15px;
    background-color: #18537a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0a3c5d;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 120px;
}

.item-container {
    position: relative;
    margin: 24px;
    width: 280px;
    height: 500px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    border-radius: 5px;
}

.img-container,
.body-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.img-container img {
    background-size: cover;
    width: 100%;
    height: 90%;
    border-radius: 5px;
    object-fit: cover; /* Change to 'contain' if you want to keep the full image visible */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    top: -4rem;
}


.body-container {
    position: relative;
    
}

.overlay {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: rgba(24, 83, 122, 0.6);
    opacity: 0;
    transition: height linear 0.4s, opacity linear 0.2s;
}

.item-container:hover .overlay {
    opacity: 1;
    height: 120px;
}

.business-info {
    height: 500px;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px;
    text-align: center;
    max-height: 300px; /* Adjust as needed */
    overflow-y: auto;
}

.title {
    color: #0684d8;
    font-size: 1.4em;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 10px 0;
    position: sticky;
    top: 0;
    background-color: #000;
    padding: 10px 0;
    z-index: 10;
}

.category {
    color: #fff;
    font-size: 0.9em;
    margin: 5px 0;
    position: relative;
    top: 1.4rem;
}

.info {
    color: #fff;
    font-size: 0.9em;
    margin: 5px 0;
}

.info:hover {
   color: #fff;
}

.info a, .copyable {
    color: #0684d8; 
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
}

.info a:hover, .copyable:hover {
    color: #444; 
}

.separator {
    width: 50px;
    height: 5px;
    background-color: #17537a;
    margin: 10px 0;
}

.business-info a {
    color: #0684d8;
    text-decoration: none;
    font-weight: bold;
}

.business-info a:hover {
    text-decoration: underline;
}

.social-links {
    margin-top: 10px;
}

.social {
    margin: 0 5px;
    font-size: 1.4em;
    color: #18537a;
    text-decoration: none;
}

.social:hover {
    color: #0a3c5d;
}

.action {
    color: #fff;
    border: 3px solid #fff;
    background-color: #18537a;
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    outline: none;
    cursor: pointer;
    padding: 10px;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: bold;
    letter-spacing: 2px;
    transition: background-color 0.4s, top 0.4s;
    border-radius: 5px;
}

.item-container:hover .action {
    top: 50px;
}

.action:hover {
    background-color: #0a3c5d;
}

.copied-tooltip {
    position: absolute;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    margin-left: -40px;
    opacity: 0;
    animation: fadeInOut 1s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

.delete-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: red;
    color: white;
    border: none;
    padding: 8px 12px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}
.delete-button:hover {
    background-color: darkred;
}