.thumbnail-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

.thumbnail {
    width: 100%;
    transition: transform 0.3s ease-in-out;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail::before {
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.thumbnail-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    text-align: center;
    opacity: 0.4;
    transition: opacity 0.3s ease-in-out;
}

.thumbnail:hover .thumbnail-text {
    opacity: 1;
}