.btn-img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.btn-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.btn-img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-img:hover .overlay {
    opacity: 1;
}

.btn-img .overlay i {
    color: white;
    font-size: 3rem;
}