* {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0px;
}

body {
    background-color: #ffffff;
    margin: 0;
    padding: 0px;
}

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

h1 {
    font-size: 2em;
    font-weight: 900;
    margin-bottom: 10px;
}

.container_text {
    padding: 20px;
}

.linha {
    border: none;
    height: 4px;
    background-color: #9A1915;
    margin: 10px 0;
    width: 15rem;
    border-radius: 10px;
    display: flex;
}

p {
    font-size: 1.2em;
    font-weight: 400;
    text-align: justify;
    margin-bottom: 75px;
    max-width: 900px;
    margin: 0;
}

.content {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    gap: 1rem;
}

.container_text {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.3rem;
    max-width: 100%;
}

.image-container {
    flex-shrink: 0;
    margin-left: 110px;
    display: flex;
    justify-content: center;
}

.imagem-lado-a-lado {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    /* Garante que a imagem mantenha a proporção */
    margin-top: -90px;
}

.text-block {
    flex: 1;
    margin-right: 30px;
    height: auto;
    overflow: hidden;
}

/*blocos carreiras*/
.career-block h1,
.career-block p {
    margin: 0;
    padding: 0;
}

.container_text {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.3rem;
    max-width: 1400px;
}

.text-career {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px;
}

.career-block {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 10px;
    width: calc(30% - 20px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: justify;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-block:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.career-block h2 {
    color: #9A1915;
    font-size: 1.5em;
    text-align: center;

    background-color: rgb(236, 226, 226);
}

.career-block p {
    font-size: 1.2em;
    line-height: 1.5;
    font-size: 1.2em;
    line-height: 1.5;
    margin: 0;
    padding: 10px 0;
}

.title-container {
    background-color: rgb(236, 226, 226);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.title-container h1 {
    color: #333;
    font-size: 1.8em;
    margin: 0;
    font-weight: bold;
}

.imagem-carreira {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    height: 300px;
    border-radius: 4px;
    margin-bottom: 15px;
    margin-top: 1rem;
    object-fit: cover;
    position: relative;
}


.banner-site {
    background-image: linear-gradient(to Left, rgba(0, 0, 0, 0.848), rgba(0, 0, 0, 0.634)), url('../img/CARREIRAS.jpg');
}

@media (max-width: 1355px) {
    .content {
        flex-direction: column;
        align-items: center;
    }

    .image-container {
        margin-left: 0;
        margin-bottom: 20px;
    }

    .text-career {
        flex-direction: column;
        align-items: center;
    }

    .career-block {
        width: 90%;
        margin: 15px auto;
    }

    .imagem-lado-a-lado {
        margin-top: 0;
        display: flex;
        justify-content: center;
    }

    .imagem-carreira {
        margin-top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: auto;
    }
    .container_text {
        max-width: 100%;
        align-items: center;
    }
    .container_text h1 {
        text-align: center;
        font-size: 2em;
    }
    p {
        text-align-last: center;
    }
}


@media (max-width: 480px) {
    .container_text {
        max-width: 100%;
        align-items: center;
    }

    .career-block {
        width: 95%;
        padding: 10px;
        margin: 10px auto;
    }

    .career-block h2 {
        font-size: 1.2em;
    }

    .career-block p {
        font-size: 0.9em;
    }

    .container_text h1 {
        text-align: center;
        font-size: 1.2em;
    }

    .h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
        margin-right: 0;
    }

    .imagem-lado-a-lado {
        width: 200px;
        height: 200px;
    }

    .imagem-carreira {
        margin-top: 0;
        width: 100%;
        height: auto;
    }

    .content {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 1rem;
    }
    .linha {
        width: 10rem;
    }
}
@media (max-width: 768px) {
    .banner-site {
        height: 200px;
    }
}