section.container{
    background-color: #f1eee8;
    margin-bottom: 12vh;
    position: relative;
    z-index: 20;
    /*margin bottom + tamanho aproximado do container sombra*/
    margin-bottom: calc(20vh + 2650px);
}

section.container .container_sombra{
    background-color: white;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, .1);
    padding-bottom: 130px;
    position: absolute;
        left: 50%;
        top: 95%;
        /* transform: translate(-50%, -3%); */
        transform: translate(-50%, -75px);
        -ms-transform: translate(-50%, -75px);
    margin: 0 auto;
    width: 80%;
}

section.container .titulo{
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}


section.container .titulo h2{
    font-size: 18px;
    font-weight: 400;
    line-height: 19.8px;
    position: relative;
    text-align: center;
}

section.container .titulo h2::before{
    content: "";
    width: 85px;
    height: 50px;
    position: absolute;
    left: -100px;
    top: -15px;
    background: url("../images/icon/lateral.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 30;
    transform: scaleX(-1);
}
section.container .titulo h2::after{
    content: "";
    width: 85px;
    height: 50px;
    position: absolute;
    right:-100px;
    top: -15px;
    background: url("../images/icon/lateral.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 30;
}

section.container .flex_container{
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-bottom: 8vh;
}

section.container .flex_container .flex_box{
    padding: 20px;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, .3);
    text-align: center;
    transition: .4s;
}

section.container .flex_container .flex_box:hover{
    box-shadow: 0px 5px 9px 5px rgba(0, 0, 0, .3);
    transform: scale(1.01);
}

section.container .flex_container .flex_box img{
    height: 360px;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, .3);
}

section.container .flex_container .flex_box a{
    text-decoration: none;
    color: unset;
}


section.container .flex_container .flex_box h4{
    margin-top: 20px;
    position: relative;
}
section.container .flex_container .flex_box h4::after{
    content: "";
    width: 150px;
    height: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -90%);
    -ms-transform: translate(-50%, -50%);
    background: url("../images/icon/divisor.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 30;
}


.flex-gallery{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding-inline: 20vw;
    padding-block: 8vh;
}

.flex-gallery .title{
    margin-bottom: 5vh;
    text-align: center;
}

.flex-gallery img{
    width: 80%;
}


@media screen and (max-height: 780px)  {
    section.container .container_sombra{
        position: absolute;
            left: 50%;
            top: 95%;
            transform: translate(-50%, -75px);
            -ms-transform: translate(-50%, -75px);
        width: 95%;
    }

    section.container .flex_container .flex_box{
        padding: 15px;
        text-align: center;
    }

}

@media screen and (orientation:portrait){
    section.container .container_sombra{
        position: unset;
            left: unset;
            top: unset;
            transform: unset;
            -ms-transform: unset;
        margin: 0 auto;
        margin-top: 20px;
        width: 90%;
    }

    section.container .flex_container{
        gap: 25px;
    }


    section.container{
        background-color: #f1eee8;
        position: relative;
        z-index: unset;
        margin-bottom: calc(12vh + 0px);
    }

    section.container .titulo h2::before,
    section.container .titulo h2::after{
        content: unset;
    }

    section.container .titulo{
        padding-top: 15px;
        position: relative;
    }

    section.container .titulo::before{
        content: "";
        width: 183px;
        height: 50px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -98%);
        -ms-transform: translate(-50%, -50%);
        background: url("../images/icon/header.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        /* z-index: 0; */
    }

    .flex-gallery{
        gap: 20px;
        padding-inline: 15px;
        padding-block: 8vh;
    }

    .flex-gallery img{
        width: 100%;
    }


}

