
.cardGalery:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}
.cardGalery {
    height: 25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.cardGalery:hover {
    transform: scale(1.2);
}

.cardGalery:hover .card-button {
    background: rgb(255, 255, 255);

}

.cardGalery:hover .card-button .btn {
    color: rgb(255, 255, 255) !important;
    border: #000 solid 1px;
    background-color: #032a64;
}

.card-footer {
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    transition: opacity 0.3s ease-in-out;
}

.card-button {
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    transition: opacity 0.3s ease-in-out;
}


.cardGalery:hover .card-footer {
    opacity: 0;
}

.card-footer .btn {
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.cardGalery:hover .card-footer .btn {
    opacity: 1 !important;
}

.cardGalery .card-footer h5 {
    transition: opacity 0.3s ease-in-out;
}

.cardGalery:hover .card-footer h5 {
    opacity: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}
