.container-fluid.container02 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 90px;
    min-height: 100vh;
}
.second-text-second-page{
    color: #666666;
    font-size: 55px;
    margin-right: 300px;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('/ICONES/IMAGENS/FUNDO 3.png') no-repeat center center;
    background-size: cover;
}

/* Organiza o texto e a imagem lado a lado, centralizados */
.text-and-image-container {
    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    max-width: 1200px;
    flex-wrap: wrap;
}

/* Texto principal */
.text-container.second-page {
    flex: 1;
    text-align: right; /* Texto alinhado à direita ao lado da imagem */
    margin-right: 20px;
}

.box-second-text-second-page {
    background-color: transparent;
}

.edit-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 36px;
    color: #003399;
}

/* Imagem ao lado direito do texto */
.img-capa {
    flex: 1;
    text-align: left;
}

.img-capa img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Texto abaixo da imagem e do primeiro texto */
.full-width {
    width: 100%;
    text-align: left;
    margin-top: 25px;
}

/* Texto inferior */
.second-text {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 23px;
    color: #666666;
}

/* Responsividade */
@media (max-width: 1199px) {
    .container-fluid.container02 {
        padding: 10px;
    }
    .second-text-second-page{
        font-size: 45px; /* Diminui o tamanho do texto em telas menores */
        margin-right: 0;
        text-align: center;
    }
    .text-and-image-container {
        flex-direction: column; /* Coloca o texto e imagem em coluna */
        align-items: center;
        text-align: center;
    }

    .text-container.second-page {
        text-align: center;
        margin-bottom: 20px;
    }
    .edit-text{
        text-align: center;
    }

    .img-capa {
        text-align: center;
    }

    .img-capa img {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .container-fluid.container02 {
        padding: 10px;
    }
    .second-text-second-page {
        font-size: 35px; /* Ajuste adicional do tamanho da fonte */
    }

    .text-and-image-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-container.second-page {
        text-align: center;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .img-capa {
        text-align: center;
    }

    .img-capa img {
        max-width: 100%; /* Garantir que a imagem se ajuste em telas pequenas */
    }
}

