@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    margin: 0 auto;
    padding: 0;
    /* box-sizing: border-box; */
}

body {
    background-image: url(../images/construcao-e-reforma-souza-fernandes.jpg);
    background-size: cover;
    display: flex;
    flex-direction: column;
    font-family: 'Open Sans', sans-serif;
    background-position: center;
    width: 100%;
    height: auto;
}

header {
    background-color: #33333300;
    color: rgb(255, 255, 255);
    /* text-align: center; */
    /* padding: 0em 0; */
    width: 100%;
    height: 5em;
}

.container-home {
    justify-content: center;
}

.img-logo {
    margin-top: 2em;
    margin-bottom: 2em;
    text-align: center;
}

.return_to_dash {
    text-align: center;
}

.return_to_dash a {
    margin-left: 10px;
}


.d-flex {
    margin: 0 auto;
    width: 40em;
}

.tituloHome {
    margin-top: 32px;
    margin-bottom: 24px;
    color: #fff;
    text-align: center;
}

.descricao {
    color: #fff;
    font-size: 17px;
    padding-top: 10px;
    line-height: 1.5;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

strong {
    color: #ea7b1a;
}

/* Direcionamento AVATAR inicial */
.avatarHome {
    display: flex;
    justify-content: center;
    margin: 6em 41em 0em 0em;
    z-index: 2;
}

.avatarHome img {
    margin-top: -8em;
    width: 100%;
    max-width: 400px;
    display: block;
}

#esquerda {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

/* Direcionamento AVATAR inicial */

.balao {
    margin: -3em auto 0 auto;
    background: #f4f4f4;
    border-radius: 10px;
    width: 300px;
    height: 180px;
    position: relative;
    -webkit-box-shadow: 5px 5px 5px rgba(50, 50, 50, 0.77);
    -moz-box-shadow: 5px 5px 5px rgba(50, 50, 50, 0.77);
    box-shadow: 5px 5px 5px rgba(50, 50, 50, 0.77);
}

.balao:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #ffffff;
    bottom: -20px;
    left: 7%;
}

div h2.bemVindo {
    font-family: sans-serif;
    padding: 5px 15px 4px 10px;
    color: #2b2a2a;
    font-size: 22px;
}

div .balao p {
    padding: 5px 5px 5px 15px;
    font-size: 18px;
}

.caixaBr {
    margin: 3em auto;
    padding: 20px 10px 10px 10px;
    background: #f4f4f4;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    height: 400px;
    box-shadow: 0px 0px 30px #ea7b1a9e;
}

.div_noticias_home {
    border: 0px solid #ccc;
    padding: 10px;
    height: 300px;
    overflow-y: auto;
    text-align: center;
}

.noticia_data {
    font-size: 10px;
    /* margin-left: 2.3em; */
}

.mensagem-login {
    text-align: center;
    margin-top: 40px;
}

.mensagem-login p {
    font-size: 16px;
    color: #333;
}

.mensagem-login a {
    color: gray;
    font-weight: bold;
    text-decoration: underline;
}

.noticia {
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.094);
    border-radius: 5px;
}

.noticias {
    color: #007bff;
    text-decoration: none;
}

.noticias:hover {
    text-decoration: underline;
}

.preview {
    padding: 3px 0px 1px 0px;
    font-size: 17px;
    font-weight: 500;
    color: gray;
    font-family: sans-serif;
}

.noticias_lista {
    -webkit-box-shadow: 10px 10px 10px rgba(255, 255, 255, 0.77);
    -moz-box-shadow: 10px 10px 10px rgba(255, 255, 255, 0.77);
    box-shadow: 20px 20px 20px rgba(251, 251, 251, 0.77);
}

.noticia_item {
    border: 1px solid rgba(128, 128, 128, 0.288);
    /* background-color: red; */
    padding: 10px 7px 10px 10px;
    margin-top: 10px;
    -webkit-box-shadow: 10px 10px 10px rgba(255, 255, 255, 0.77);
    -moz-box-shadow: 10px 10px 10px rgba(255, 255, 255, 0.77);
    box-shadow: 1px 0px 5px rgba(110, 110, 110, 0.77);
}

.noticia_item h2 {
    color: #ea7b1a;
}

.noticia_item a {
    text-decoration: none;
    font-size: 15px;
    /* color: #581aea; */
}


div.sobreSf {
    background-color: #33333300;
    padding-top: 10px;
    color: #fff;
    text-align: center;
    justify-content: center;
}


.notGlobais {
    margin-top: -24em;
    margin-left: 0;
    z-index: -1;
}

.tituloNoticias {
    padding-top: 0px;
    /* align-items: center; */
    text-align: center;
}

.tituloNoticias h2 {
    color: #000;
    padding-top: 10px;
    padding-bottom: 20px;
    border-bottom: 5px #000;
    font-size: 26px
}

.noticias {
    color: #000
}


.view_noticia {
    margin-top: 50px;
    /* text-align: justify; */
}

.view_noticia h1 {
    color: #fff;
    font-size: 35px;
    padding: 0px 0px 30px 0px;
}

.view_noticia_conteudo {
    font-size: 17px;
    width: 100%;
    line-height: 1.8;
    background-color: #fff;
    padding: 10px 20px 10px 20px;
    border-radius: 10px;
    text-align: left;
}

.mvv {
    margin: 0 auto;
    align-self: center;
    display: flex;
    flex-wrap: wrap;
    /* Permite que os elementos se ajustem automaticamente */
    justify-content: center;
    width: 100%;
    /* Ocupar toda a largura disponível */
    max-width: 60em;
    /* Limite de largura para telas grandes */
    gap: 20px;
    /* Espaçamento entre os elementos */
}

.mvv div {
    background-color: #ffffffe6;
    /* margin: 20px; */
    padding: 15px;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    height: auto;
    /* Altura automática para ajustar o conteúdo */
    width: 280px;
    /* Ocupar a largura completa em telas pequenas */
    max-width: 280px;
    /* Limitar a largura em telas maiores */
    border-radius: 10px;
    box-shadow: 0px 0px 30px #ea7b1a9e;
    line-height: 1.4;
}

footer {
    /* width: 100%; */
    height: 25px;
    padding-top: 3px;
    background-color: #2A3035;
    color: white;
    font-size: 14px;
    text-align: center;
    font-weight: 200;
}

/* Versão Mobile */
@media (max-width: 1024px) {

    /* header {
        display: block;
        justify-content: center;
    } */

    a {
        padding: 15px 5px 5px 5px;
        list-style-type: none;
        text-transform: uppercase;
        font-size: 16px;
        text-decoration: none;
        color: #fff;
    }

    .container {
        padding: 0;
        width: 100%;
    }

    .form_home {
        max-width: 250px;
    }

    .avatarHome {
        margin: 0;
        margin-top: -2em;
        margin-left: 35px;
        margin-bottom: 3em;
        width: 370px;
    }

    .avatarHome img {
        width: 70%;
        max-width: 500px;
        margin: 0px 80px 0px 0px;
        display: block;
    }

    .balao {
        margin: 2em auto;
        background: #fff;
        border-radius: 15px;
        width: 80%;
        max-width: 300px;
        height: auto;
        padding: 1em;
    }

    .balao:after {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #ffffff;
        bottom: -10px;
        left: 10%;
    }

    .caixaBr {
        margin: 2em auto;
        width: 80%;
        max-width: 350px;
        height: auto;
        padding: 0px;
        font-size: 12px;
        box-shadow: 0px 10px #ea7b1a9e;
    }

    .descr {
        font-size: 12px;
        line-height: 1.4;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    }

    strong {
        font-size: 16px;
    }

    h2 {
        font-size: 1.3em;
        padding: 0px 15px 0px 15px;
    }

    div h2.bemVindo {
        font-size: 18px;
    }

    div .balao p {
        font-size: 16px;
    }

    .notGlobais {
        margin-top: -50px;
        margin-left: 10px;
    }

    .caixaBr {
        width: 380px;
        height: auto;
        color: #000;
        text-align: left;
        padding: 0px 5px 8px 8px;
    }

    .caixaBr a {
        color: #000;
        font-size: 14px;
    }

    .div_noticias_home {
        height: 150px;
    }



    .sobreSf {
        margin-left: 2em;
        text-align: center;
        padding-bottom: 15px;
    }

    .pg_login {
        width: 90%;
        margin: 10px 0px 0px 15px;
    }

    .mvv {
        flex-direction: column;
        /* Alinha os itens verticalmente em telas pequenas */
        width: 200px;
        /* Reduz a largura para se ajustar ao tamanho da tela */
    }

    .mvv div {
        margin: 10px 0;
        /* Menos margem em telas pequenas */
        width: 240px;
        /* Elementos ocupam toda a largura */
        height: auto;
        /* Deixa a altura dinâmica */
    }
}

/* Responsividade para telas muito pequenas (smartphones) */
@media (max-width: 480px) {
    .mvv div {
        font-size: 14px;
        /* Reduz o tamanho da fonte */
        padding: 10px;
        /* Menor padding para telas pequenas */
    }
}



/* CSS adicionais */
/* Caixa de SCROLL */

.scrollable-div {
    max-height: 400px;
    max-width: 100%;
    overflow-y: auto;
    overflow-x: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}