/* Estilo para o fundo escuro do modal */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
}
{{--  /* Estilos para o modal */
.modal {
    display: none; /* Esconder o modal inicialmente */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 550px;
    max-height: 550px;
    background: none !important;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
} --}}

.modal-content {
    background-color: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    top: 0%;
    position: absolute;
}

.closeRich {
    position: relative;
    top: 6px;
    font-size: 5em;
    font-weight: bold;
    cursor: pointer;
    color: #cb0606;
    opacity: inherit;
    z-index: 99999;
}

img {
    max-width: 100%;
    max-height: 100%;
}          

.layout-container .text-dark-grey img {
    margin: 0 auto;
    padding: 20px 0 20px 0;
    width: 50%;
}

@media (max-width: 991px) {
    .modal {
        width: 90%;
        height: 90%;
        top: 60%;
    }

    .closeRich {
        font-size: 3.8em;
        top: 6px;
        right: 8px;
    }
}


@media (max-width: 799px) {

    .layout-container .text-dark-grey img {
        width: 100%;
    }

}