body {
    background-color: #fff;
    font-family: poppins-medium;
    height: auto;

}

.card-container-fotografias {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: repeat(auto-fit, minmax(45rem, 1fr));
    align-items: center;
    justify-items: center;
    margin-top: 0;
    margin-bottom: 5em;
    /* border: 2px solid red; */
    overflow-x: hidden;
    overflow-y: hidden;

}

.card-fotografias {
    width: 98%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 1em auto;
    /* border: 1px solid #000; */
    border-radius: 5px;
    transition: transform 0.3s;

    /* border: 2px solid blue; */
    /* z-index: 10000; */
    &.convite {
        width: 30%;
        margin-bottom: 1em;
    }

    img {
        width: 70%;
    }

    p {
        width: 69%;
        height: auto;
        text-align: left;
        margin: .5em auto;
        line-height: 1;
        background: rgba(0, 0, 0, .05);
        background-color: rgb(189, 178, 139, .5);
        border-radius: 5px;
        padding: .5em;
    }

}




.img-card-fotografias {
    /* cursor: pointer; */
    max-width: 85%;
    height: auto;
    text-align: left;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgb(0, 0, 0, 0.7);
    transition: .3s;
}

/* .img-card-fotografias:nth-child(3) {
    border: 5px solid red;
} */

/* .card-fotografias:hover {
    transform: scale(1.1);
    transition: .3s;
} */

/* .card-fotografias p {
    width: 30em;
    text-align: left;
    margin: .5em auto;
    line-height: 1;
    background: rgba(0, 0, 0, .05);
    background-color: rgb(189, 178, 139, .5);
    border-radius: 5px;
    padding: .5em;
} */

#fotoCremilda {
    /* width: 32rem; */
}

#card1fotogImg3 {
    max-width: 55%;
}

#card1fotogImgBottom {
    max-width: 75%;
}

#card1fotogImgBottom2 {
    width: 45%;
}

.txt-ampliar-foto {
    visibility: hidden;
}


@media screen and (max-width: 1500px) {
    .card-fotografias p {
        background-color: rgb(189, 178, 139, 1);

    }

    .card-fotografias.convite {
        width: 40%;
        margin-bottom: 1em;
    }

}

@media screen and (max-width: 1000px) {

    .card-fotografias.convite {
        width: 60%;
        margin-bottom: 1em;
    }

}


@media screen and (max-width: 700px) {

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .card-container-fotografias {
        /* width: 100%; */
    }


    .card-fotografias {
        width: 60%;
        margin: 0 auto;
        margin-bottom: 1em;
    }

}