:root {
    --dark: rgb(24, 24, 24);
    --paragraph: rgb(53, 53, 53);
    --darkred: #9b271d;
    --darkerred: #811b12;
    --lightgray: #f3f5f7;
}

.text-red {
    color: var(--darkred);
}

html, body {
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
}

.wrapper {
    padding-top: 15vh !important;
    min-height: 90%;
}

.title {
    position: relative;
    display: inline-block;
}

.title:hover::after,
.title:active::after,
.title:focus::after {
    height: 80%;
}

.title::after {
    content:"";
    position: absolute;
    bottom: 0;
    left: 0;
    background: #9b271d27;
    width: 100%;
    height:6px;
    transition: height .2s;
}

@media(max-width:767px) {
    .title {
        width: fit-content;
    }
}

p, small {
    font-family: 'Roboto', sans-serif;
    color: var(--paragraph);
}

nav {
    min-width: 100%;
    min-height: 10vh !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav.bg-light {
    background-color: #fff !important;
}

.logo-principal img {
    width:80%;
}

@media(max-width:767px) {
    .logo-principal img {
        width:100%;
    }
}

section {
    padding: 80px 0 40px 0;
}

/* Menos padding entre as sections quando width <= 767 */
@media(max-width:767px) {
    section {
        padding: 50px 0 20px 0 !important;
    }
}

/* Tornar logo escuro */
nav .navbar-brand img {
    filter: invert(70%) !important;
    transition: filter .5s;
}

nav .navbar-brand:hover img {
    filter: invert(80%) !important;
}

nav .navbar-nav {
    text-transform: uppercase;
    font-weight: 600;
}

nav .navbar-nav .nav-item.active .nav-link {
    color: var(--darkred) !important;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../../core/img/slider.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    text-align: center;
}

header h1 {
    font-size: 4em;
    color: #fff;
    text-shadow: 1px 2px 1px #000;
}

/* Dispositivos pequenos (smartphones, 544px a baixo) */
@media(max-width: 544px) {
    header h1 {font-size: 3em}
}

header span {
    font-size: 1.3em;
}

header .botoes {
    margin-top: 50px;
}

header .botoes a:last-of-type {
    margin-left: 10px;
}

@media(max-width: 767px) {
    header .botoes a {
        display: block;
    }

    header .botoes a:last-of-type {
        margin: 10px 0 0 0;
    }
}

.button {
    text-decoration: none !important;
    color: #fff !important;
    background-color: var(--darkred);
    padding: 13px 35px;
    border-radius: 30px;
    transition: background-color .3s ease-in-out;
    font-weight: 600;
}

.button-outlined {
    text-decoration: none !important;
    color: #fff !important;
    border: 1px solid var(--darkred);
    padding: 13px 35px;
    border-radius: 30px;
    background: rgba(155, 39, 29, 0.082);
    transition-duration: .3s;
    transition-property: border background;
    font-weight: 600;
}

.button:hover,
.button:active, 
.button:focus {
    background-color: var(--darkerred);
}

.button-outlined:hover,
.button-outlined:active, 
.button-outlined:focus {
    border-color: var(--darkerred);
    background-color: rgba(155,39,29,0.1);
}

header .first {
    width:50%;
}

.last {
    text-align: center;
}

.last img{
    width: 80%;
    max-height: 500px;
}


/* Clientes */
section.clientes {
    padding: 60px 0 40px 0;
}

section.clientes img {
    opacity: .5;
    filter: grayscale(100%);
    width: 60%;
    min-height: 60px;
    transition-duration: .3s;
    transition-property: opacity filter;
}

section.clientes img:hover, 
section.clientes img:active, 
section.clientes img:focus {
    opacity: .8;
    filter: grayscale(0%);
}

@media(max-width: 767px) {
    section.clientes img {
        opacity: .8;
    }
}

/* Publicações */
.post-title-index {
    font-size: 1.3rem;
}

.publicacao .info {
    display: flex;
    flex-direction: column;
}

@media(min-width:768px) {
    .container.publicacao-show {
        width: 801px !important;
    }
}

.container.publicacao-show .descricao {
    font-size: 21px;
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    line-height: 33px;
    word-wrap: break-word;
    overflow: hidden;
}

@media(max-width: 767px) {
    .publicacao {
        margin-bottom: 4rem !important;
    }
    .container.publicacao-show p{
        font-size: 18px !important;
    }
}

.publicacao-show img {
    cursor: pointer;
    transition: 0.2s;
}
  
.publicacao-show img:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    overflow: hidden;
    align-items: center;
    justify-content: center;
}
  
.modal-content {
    margin: auto;
    display: block;
    /* width: 50%; */
    /* min-height:200px; */
    max-width: 530px;
}

@media(max-width:767px) {
    .modal {
        z-index: 10000 !important;
    }
    
    .modal-content {
        width: 90% !important;
        margin: auto;
    }

    .close {
        right: 10px !important;
        top: 60px !important;
    }
}

@media(min-width: 768px) and (max-width: 1200px) {
    .close {
        right: 40px !important;
        top: 80px !important;
    }
}

@media(min-width:1201px) {
    .modal-content {
        width: 80% !important;
        margin: auto;
    }

    .close {
        right: 235px !important;
        top: 80px !important;
    }
}
  
/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.5s;
}
  
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
  
/* The Close Button */
.close {
    position: absolute;
    top: 115px;
    right: 235px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

.container.publicacao-show .descricao p {
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
}

.blog .link-red {
    color: var(--darkred);
}

.blog .link-red:hover,
.blog .link-red:active,
.blog .link-red:focus {
    filter: brightness(130%) !important;
}

.fixo {
    top: 95px;
    position: sticky;
}