/* Default style is for mobile view */


.collection-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    gap: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.collection-card {
    background-color: #333; /* Card background */
    overflow: hidden;
    text-decoration: none; /* Remove the default underline */
    color: inherit; /* Ensure the text color is inherited from parent */
}

.collection-card:hover {
    transform: scale(1.10);
}

.collection-thumbnail {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0); /* transparent by default */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    text-align: center;
    padding: 10px;
}

.collection-thumbnail:hover .thumbnail-overlay {
    background-color: rgba(0, 0, 0, 0.7); /* 80% black overlay */
    opacity: 1;
}

.collection-info {
    padding: 10px;
}

.video-collection {
    background-color: #000000;
    font-size: 10px;
    text-align: left;
    font-weight: bold;
    padding: 2px 10px;  /* 2px top and bottom, 5px left and right */
    display: inline-block;
    white-space: normal;
    width: auto;
    border-radius: 10px;  /* Rounded corners */
}

.collection-date {
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 0px;
}

.collection-title {
    font-size: 18px;
    color: #FFDF00;
    text-align: center;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 0px;
}

/* For tablets (up to 768px) */
@media (min-width: 768px) {
    .collection-container {
        grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    }
}

/* For desktops (min-width: 1024px) */
@media (min-width: 1024px) {
    .collection-container {
        grid-template-columns: repeat(5, 1fr); /* 5 cards per row */
    }

}
