.main-header nav ul li a, .main-header nav ul .dropdown-menu li a {
    color: black;
    text-shadow: none;
    font-weight: 500;
}

.donate-button{
    color: white !important;
    font-weight: 600 !important;
}

.content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-image: url('/img/gallery-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: auto;
    box-sizing: border-box;
    min-height: 100vh;
}

.content .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
    z-index: 1;
}

.albums-list-content > *:not(.overlay) {
    position: relative;
    z-index: 2;
}

.albums-list-content{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-title {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.search-section {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

#search-input {
    width: 100%;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.albums-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.albums-container, .videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.albums-container{
    gap: 50px;
}

.album-card, .video-card {
    padding: 10px;
    box-sizing: border-box;
    width: 250px;
    margin: 15px auto; 
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.album-card{
    border: solid 1px #ccc;
    box-shadow: #ddd 4px 4px 12px,

    #fff 12px 12px,
    #ccc 12px 12px 0px 1px,
    #ddd 16px 16px 12px,

    #fff 24px 24px,
    #ccc 24px 24px 0px 1px,
    #ddd 28px 28px 12px;
}

.album-card:hover, .video-card:hover {
    background:#ffffff;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.album-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
}

.album-card .album-info, .video-info {
    padding: 15px;
    text-align: center;
}

.album-card h3, .video-card h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text);
}

.view-button {
    margin-top: 10px;
    padding: 10px 15px;
    font-size: 0.9rem;
    background-color: var(--donate-btn);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.5s ease, transform 0.3s ease;
}

.view-button:hover {
    background-color: var(--donate-btn-hover);
    transform: scale(1.05);
    color: var(--text);
    
}

@media (max-width: 768px) {

    .albums-container {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 15px;
    }
    
    .albums-list-content{
        margin-bottom: 60px;
        position: relative;
        top: 70px;
    }

    .search-section{margin-bottom: 0px;}

    #search-input {
        font-size: 0.9rem;
    }

    .search-section input {
        width: 280px !important;
    }

    .album-card h3, .video-card h3 {
        font-size: 1rem;
    }

    .album-card button, .video-card button {
        font-size: 0.8rem;
    }
}
