﻿.main-galeria {
    padding: 4rem 0;
}

    .main-galeria .titulo-box {
        margin-bottom: 30px;
    }

    .main-galeria h1 {
        font-weight: 900;
        font-size: 35px;
        color: #003f1f;
        text-transform: uppercase;
    }

.card-galeria {
    background: var(--cor-primaria);
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 2rem;
}

    .card-galeria .card-galeria-img {
        width: 100%;
        aspect-ratio: 4/3;
        height: auto;
        position: relative;
        overflow: hidden;
        background-image: url(img/logo.svg);
        background-position: center;
        background-size: 60%;
        background-repeat: no-repeat;
    }

        .card-galeria .card-galeria-img .card-galeria-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            transform: translate(-50%, -50%) scale(0);
            transition: all 0.2s ease;
            z-index: 0;
            display: flex;
            justify-content: center;
            flex-direction: column;
            align-items: center;
            color: #fff;
            border-radius: 100px;
        }

    .card-galeria:hover .card-galeria-img .card-galeria-overlay {
        transform: translate(-50%, -50%) scale(1);
        border-radius: 0px;
    }

    .card-galeria .card-galeria-overlay-texto {
        
        font-size: 16px;
        font-weight: 600;
    }

    .card-galeria .card-galeria-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .card-galeria .galeria-card-titulo {
        color: #fff;
        font-weight: 700;
        font-size: 2rem;
        padding: 1rem
    }


/*detalhe*/
.galeria-data {
    font-size: 1.5rem;
    display: block;
}

.tools-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem
}

.tools-box .btn {
    transition: all 200ms ease;
    display: flex; 
    gap: 0.75rem;
    align-items: center;
}

.img-galeria-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 7px;
}

.img-galeria-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 200ms ease;
}
.img-galeria-item:hover img{
   transform: scale(1.1)
}