
* {
    font-family: 'Montserrat', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    margin: 0;
}

#titulo_principal_site {
    min-width: 500px;
    text-align: center;
    margin-top: 15px;
    font-size: 35px;
    font-weight: bold;
    color: #000;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    margin-bottom: 250px;
}

/* NAVBAR */
#logo {
    flex: 1;
}

#logo img {
    width: 50px;
}

#navbar {
    flex: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

#navbar li {
    margin: 0 15px;
}

#navbar ul {
    display: flex;
    margin: 0;
    padding: 0;
}

#navbar .nav-link {
    color: #f2e8cf;;
    text-decoration: none;
    transition: .5s;
    font-size: 16px;
    text-transform: uppercase;
}

#navbar .nav-link:hover {
    color: #999;
}

header {
    width: 100%;
    background-color: #6a040f;
    padding: 10px 0; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#titulo_consultoria {
    text-align: center;
}

p {
    text-align: justify;
    line-height: 1.6; 
  }

/* PAGINA SERVICOS */
#servicos-main {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    flex-wrap: wrap; 
}

.left-column_servicos, .right-column_servicos {
    padding: 10px;
    width: 100%; 
    box-sizing: border-box; 
}

.left-column_servicos h2, .right-column_servicos h2 {
    font-size: 22px;
    margin-bottom: 10px; 
}

.left-column_servicos .item {
    display: flex;
    align-items: center;
    justify-content: space-between; 
}
  
.left-column_servicos #icon {
    margin-left: 20px; 
}
  
.left-column_servicos p {
    margin: 5px 0;
}

.right-column_servicos h2 {
    text-align: center;
}

.right-column_servicos p {
    margin-top: 15px;
    font-size: 18px;
    text-align: center;
}

/* PAGINA SOBRE */
#sobre_nos_titulo{
    font-size: 22px;
    text-align: center;
}
#sobre-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px;
}
.left-column_sobre, .right-column_sobre {
    width: 100%; 
    max-width: 100%; 
    box-sizing: border-box;
}
.sobre-image {
    float: right; 
    margin-left: 20px; 
    max-width: 40%; 
    height: auto;
}
.sobre-text {
    text-align: justify; 
    text-indent: 30px;
}

hr {
    margin: 20px 0; 
}
/* PAGINA CONTATO */
#contato_titulo {
    margin-top: 60px;
    text-align: center;
}

#contato-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    min-height: calc(10vh - 10px);
}

/* PAGINA DE CONTATOS */
#contato-main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; 
    margin: 0 auto;
}
  
.contact-container {
    display: flex;
    gap: 40px; 
}
  
.contact-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 250px; /* Largura dos blocos */
    height: 250px; /* Altura dos blocos */
    border-radius: 20px; 
    background-color: #fff; 
    border: 2px solid rgba(0, 0, 0, 0.2); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); 
    text-align: center;
    padding: 20px; 
    text-decoration: none; 
    color: inherit;
}
  
.icon {
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    background-color: #6a040f; 
    color: #fff; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px; 
    margin-bottom: 15px; 
}
  
.title {
    font-family: 'Helvetica';
    font-size: 28px;
    font-weight: 500; 
    font-style: normal; 
    color: #3c3433;
   
}
.descricao_contact {
    font-size: 18px;
    font-family: 'Montserrat', sans-serif; 
    font-weight: 500;
    font-style: normal;
    text-decoration: none; 
    color: #000;
}

/* HOME */
#title-container {
    min-width: 500px;
    text-align: center;
    margin-top: 5px;
}

#title-container h1 {
    font-size: 50px;
}

#title-container p {
    margin-top: 10px;
    text-transform: uppercase;
    color: #999;
}

#posts-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
}

.post-box:first-child {
    min-width: 100%;
}

.post-box {
    flex: 1 1 0;
    margin-bottom: 20px;
}

.post-box:nth-child(3) {
    margin: 0 1%;
}

.post-box img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.standard-image {
    height: 350px !important; /*Altura das imagens abaixo na tela principal */
}

.post-box .post-title {
    font-size: 24px;
    margin: 10px 0;
}

.post-box .post-title a {
    color: #000;
    text-decoration: none; 
    transition: .5s;
    font-family: 'Oswald', sans-serif;
}

.post-box .post-title a:hover {
    color: #999;
}

.post-box .post-description {
    color: #666;
}

/* INICIO posts */
#post-container {
    display: grid;
    grid-template-columns: 1fr; 
    grid-template-rows: auto;
    grid-template-areas: "main";
    grid-gap: 10px;
    padding-top: 30px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 250px;
}

.more-info a {
    text-decoration: none;
    color: #000;
}
  
.more-info a:hover {
    /* text-decoration: underline; */
    color: #007bff;
}
.content-container {
    grid-area: main;
}

#main-title {
    font-size: 36px;
    margin-bottom: 30px;
}

#post-description {
    margin-bottom: 40px;
    text-indent: 40px;
}

.post-content {
    line-height: 1.8;
    margin: 10px 0;
    text-indent: 40px;
}

.img-container {
    margin-bottom: 30px;
    text-align: center;
}

.img-container img {
    width: 50%;
}

/* POST ASIDE */
.nav-container {
    grid-area: sidebar;
}

#categories-title {
    font-size: 24px;
    margin-bottom: 10px;
    background-color: #801a1a;
    color: #FFF;
    text-align: center;
    padding: 10px;
    font-weight: 300;
}

#tag-list, #categories-list {
    list-style: none;
}

#tag-list li, #categories-list li {
    margin-bottom: 10px;
}

#tag-list a, #categories-list a {
    color: #666;
    transition: .5s;
}

#tag-list a:hover, #categories-list a:hover {
    color: #000;
}

main {
    flex: 1;
}

.instagram-text {
    display: flex;
    align-items: center; 
    text-align: center;
}
.whatsapp-text {
    display: flex;
    align-items: center; 
    text-align: center;
}

.instagram-container,
.whatsapp-container {
    display: flex; 
    align-items: center;
    margin-bottom: 10px;
}

.instagram-container h3,
.whatsapp-container h3 {
    margin: 0;
    color: #FFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
}

.instagram-container a.login-button {
    margin-top: 10px; 
}

.instagram-container svg,
.whatsapp-container svg {
    fill: #FFF; 
    width: 24px; 
    height: 24px; 
}

.login-button:hover {
    background-color: #d8cdd8; 
    color: #6a040f; 
    border: 1px solid #6a040f; 
}
.login-button {
    background-color: #6a040f;
    color: #f2e8cf;
    /* border: 1px solid #d8cdd8; */
    border-radius: 4px;
    padding: 8px 8px;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    transition: .5s;
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dev {
    margin-top: 30px; 
}

.dev p {
    margin: 0;
    color: #f2e8cf; 
    font-size: 10px; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 300; 
    text-align: center;

}

.msg_erro_carregar {
    background-color: #dc3545; 
    color: #fff; 
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 16px;
    max-width: 600px; 
    width: 100%;
}

/* FEEDBACKS */
#feedback-container {
    /* background-color: #ffe8ff; */
    padding: 60px;
    margin: 0; 
    border-radius: 8px;
}

#feedback-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.feedback-box-container {
    display: flex;
    justify-content: space-between;
}

.feedback-box {
    background-color: #ffefff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 0 10px;
    flex: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 30%;
}

.feedback-box p {
    margin: 0;
}

.feedback-box p:last-child {
    text-align: right;
    text-align: justify;

}

/* LOGIN */
.login-page {
    height: 100vh;
    background-color: #262120;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
/* BOTAO DE VOLTAR AO TOPO */
#back-to-top {
    display: none; 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    background-color: transparent;
    color: #4a030c;
    border: 2px solid #4a030c; 
    border-radius: 50%; 
    width: 40px; 
    height: 40px; 
    text-align: center; 
    line-height: 10px; 
    cursor: pointer; 
    font-size: 15px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

#back-to-top:hover {
    background-color: transparent; 
    color: #6a040f; 
    border-color: #6a040f;
}

/* FOOTER */
footer {
    display: flex; 
    flex-direction: column;
    align-items: center;
    text-align: left;
    background-color: #6a040f; 
    padding: 20px 0; 
    position: relative; 
    z-index: 1; 
}

/* ------------------ MOBILE ---------------- */
@media only screen and (max-width: 320px) and (-webkit-device-pixel-ratio: 2) {
    html, body {
        height: 100%;
        margin: 0;
        overflow-x: hidden;
    }
}

@media screen and (max-width: 768px) {
   
    /* HOME */
    header {
        height: auto; 
        padding: 10px; 
    }
    .container {
        display: flex;
        /* justify-content: space-between;  */
        justify-content: center;
        align-items: center; 
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    #logo img {
        width: 40px;
    }
    #logo {
        margin-left: 0px;
    }
    #navbar {
        display: flex; 
        flex: 2;
        align-items: center; 
        justify-content: center; 
        padding: 0;
        margin: 0;
        list-style: none;
        background-color: transparent; 
    }
    
    #navbar ul {
        display: flex;
        padding: 0;
        margin: 0;
    }

    #navbar li {
        margin: 0 10px; 
    }
    
    #navbar .nav-link {
        color: #f2e8cf;
        text-decoration: none;
        transition: .5s;
        font-size: 13px;
        text-transform: uppercase;
    }
    
    #titulo_principal_site {
        font-size: 25px;
        text-align: center;
        margin-top: 10px;
        font-weight: bold;
    }
    #title-container {
        min-width: 100%;
        margin-top: 0px;
    }

    main {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    html, body {
        /* height: 100%; */
        /* margin: 0; */
        /* overflow-x: hidden; */
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden;
    }

    /* POSTs */
    #posts-container {
        margin-top: 20px;
    }

    .post-box {
        flex: 100% 1 0;
        padding: 15px;
        margin: 0;
    }
    #post-container {
        grid-template-columns: 100%;
        padding: 15px;
        grid-template-areas: "main"
        "sidebar";
    }
    .img-container img {
        width: 100%;
    }
    
    #main-title {
        font-size: 30px;
        text-align: center;
    }

    .feedback-box-container {
        flex-direction: column;
    }
    
    .feedback-box {
        background-color: #dfdadf; /*Cor dos blocos */
        margin: 10px 0;
        max-width: none;
    }
    /* BOTAO DE VOLTAR AO TOPO */
    #back-to-top {
        display: none; 
        position: fixed; 
        bottom: 20px; 
        right: 20px; 
        background-color: transparent;
        color: #4a030c;
        border: 2px solid #4a030c; 
        border-radius: 50%; 
        width: 40px; 
        height: 40px; 
        text-align: center; 
        line-height: 10px; 
        cursor: pointer; 
        font-size: 15px; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
        z-index: 1000;
        overflow: visible; 
    }
    
    #back-to-top:hover {
        background-color: transparent; 
        color: #6a040f; 
        border-color: #6a040f;
    }
    /* PAGINA SERVICOS */
    #servicos-main {
        flex-direction: column; 
    }
    .left-column_servicos, .right-column_servicos {
        flex: 1 1 100%; 
        margin: 0; 
    }
    
    .left-column_servicos h2 {
        text-align: center;
    }

    .left-column_servicos .item {
        flex-direction: column; 
        text-align: center; 
    }

    .left-column_servicos .icon {
        margin: 10px 0; 
    }

    /* PAGINA SOBRE */
    .sobre-image {
        float: right; 
        margin-left: 20px; 
        margin-bottom: 15px; 
        max-width: 100%; 
        height: auto; 
    }
    
    .left-column_sobre {
        text-align: justify; 
    }

    /* PAGINA CONTATOS */
    #contato-main {
        height: auto; 
        padding: 20px; 
        /* overflow: hidden; */
    }

    .contact-container {
        flex-direction: column;
        gap: 20px; 
    }
  
    .contact-box {
        width: 100%; 
        height: auto; 
        margin: 0; 
        padding: 5px;
    }
  
    .icon {
        width: 60px; 
        height: 60px; 
        font-size: 24px; 
    }

    .title {
        font-size: 24px; 
    }

    .descricao_contact {
        font-size: 16px; 
    }
    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center; 
        background-color: #6a040f; 
        padding: 20px 0; 
        position: relative; 
        z-index: 1; 
    }

    .instagram-container,
    .whatsapp-container {
        display: flex; 
        align-items: center;
        justify-content: center; 
        margin-bottom: 10px;
        width: 100%;
    }

    .instagram-text,
    .whatsapp-text {
        display: flex;
        align-items: center; 
        justify-content: center; 
        text-align: center;
    }

    .instagram-container h3,
    .whatsapp-container h3 {
        margin: 0;
        color: #FFF;
        font-family: 'Montserrat', sans-serif;
        font-size: 15px;
        text-align: center;
    }

    .instagram-container a.login-button,
    .whatsapp-container a.login-button {
        margin-top: 10px; 
        justify-content: center;
        align-items: center; 
        display: flex;
        /* display: inline-block; */
    }

    .instagram-container svg,
    .whatsapp-container svg {
        fill: #FFF; 
        width: 24px; 
        height: 24px; 
    }
}