:root {
    --light: #ffffff;
    --dark: #000000;
    --primary: #ffb700;
    --secundary: #8e6b15;
    --third: #313131;
}

/*Custom Scrollbar*/
/* personalizar a barra em geral, aqui estou definindo 10px de largura para a barra vertical
e 10px de altura para a barra horizontal */
::-webkit-scrollbar {
    width: 8px;
    height: 10px;
}



/* aqui é para personalizar o fundo da barra, neste caso estou colocando um fundo cinza escuro*/
::-webkit-scrollbar-track {
    background: var(--dark);
}

/* aqui é a alça da barra, que demonstra a altura que você está na página
estou colocando uma cor azul clara nela*/
::-webkit-scrollbar-thumb {
    background: var(--primary);
}

/*End Custom Scrollbar*/

.fa-facebook {
    color: blue !important;
 }

.fa-instagram {
    color: #a700a7 !important;
}

.fa-envelope {
    color: lightblue !important;
}

.fa-whatsapp {
    color: #00b911 !important;
}

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

header {
    min-height: 150px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    width: 100%;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
}

@media screen and (max-width: 380px) {
    header {
        height: 180px;
        padding: 0;
    }

    .navbar-brand{
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .nav-icon {
        justify-content: center !important;
        text-align: center !important;
        margin-top: 40px;
    }

    .top-content h1 {
   
    }
}

header img {
    width: 150px;
    max-width: 100%;
}

.nav-link {
    font-weight: 600;
    color: var(--light) !important;
    font-size: 15px;
    letter-spacing: 1px;
}

.nav-link.active {
    border-bottom: 3px solid var(--primary);
}

.top-content {
    background-image: url("../img/bg.jpg");
    width: 100%;
    display: flex;
    height: 600px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    align-items: center;
    align-content: center;
    z-index: 0;
}

.nav-icon img {
    width: 35px;
    height: 35px;
}

.email-icon {
    width: 45px !important;
    height: 35px;
}

.overlay {
    position: absolute;
    width: 100%;
    display: flex;
    height: 600px;
    background-color: rgba(0,0,0,0.5);
    z-index: 0;
}

.top-content .container {
    position: relative !important;
    z-index: 1 !important;
}

.top-content h1 {
    font-weight: 600;
    font-size: 35px;
    letter-spacing: 1px;
}

.top-content p {
    font-weight: 400;
    font-size: 18px;
    font-style: italic;
    letter-spacing: 1px;
    padding-top: 30px;
}

.popup-container {
    display: none;
    flex-direction: row;
    align-items: center;
    align-content: center;
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;    
    z-index: 9999;
    background-color: rgba(0,0,0,0.2); 
    transition: 1s;   
}

.popup-container.show {
    top: 0;
}

.popup-container .popup {
    margin: 0 auto;
    width: 500px;
    min-height: 500px;
    max-width: 100%;
    background-image: url("../img/popup.jpg");
    background-color: yellow;
    position: relative;
    transform: calc(-50%,-50%);
    -ms-transform: calc(-50%,-50%);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;    
    display: flex;
}

.popup-container .popup span {
    width: 500px;
    min-width: 500px;
    max-width: 100%;
    text-align: right !important;
    padding: 10px !important;
    cursor: pointer;
}

.popup-container .popup span i {
    color: #000000 !important;
}

.card-top {
    padding: 50px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    background-color: rgba(0,0,0,0.2) !important;
}

.card-top h1 {
    font-size: 27px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--light) !important;
}

.card-top a {
    text-decoration: none;
    background-color: transparent;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 20px;
    width: 100%;
    text-align: center;
    color: var(--light);
    border: 2px solid var(--light);
    transition: all 250ms ease;
}

.card-top a:hover {
    color: var(--dark);
    background-color: var(--light);
}

.nav-icon {
    text-align: right;
    list-style-type: none;
    height: 100%;
    line-height: 100%;
    vertical-align: middle;
    display: flex;
    align-items: center;
    align-content: center;
    width: 100%;
    justify-content: right;
}

.nav-icon li {
    margin: 5px;
}

.nav-icon li a {
    text-decoration: none;
    color: var(--primary);
    font-size: 35px;
}

.dropdown-menu {
    background-color: var(--dark) !important;
}

.dropdown-menu a {
    color: var(--light) !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.dropdown-menu a:hover {
    background-color: var(--primary);
    color: var(--dark) !important;
}

.sobre {
    padding: 50px 0;
}

.sobre h1 {
    font-weight: 700;
    font-size: 35px;
    letter-spacing: 1px;
    margin 15px 0;
}

.sobre p {
    font-size: 21px;
    font-weight: 500;
    color: var(--dark);
}

.btn-large {
    padding: 15px 50px !important;
}

.btn-primary {
    color: var(--dark) !important;
    background-color: var(--primary) !important;
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--secundary) !important;
    color: var(--light) !important;
}

.produtos {
    padding: 50px 0;
    text-align: center !important;
}

.card-item {
    text-align: center !important;
}

.produtos h1 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 20px 0;
}

.card {
    margin: 20px 0;
}

.card-item {
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    text-decoration: none;
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.card-item i {
    width: 100%;
    text-align: center;
    font-size: 50px;
}

.card-item img {
    width: 80px;
    height: 80px;
}

.card-item:hover {
    color: var(--primary) !important;
}

footer {
    background-color: var(--dark);
    padding: 50px 0;
}

.a-madeireira {
    padding: 50px 0;
}

.a-madeireira img {
    width: 100%;
    max-width: 100%;
}

.a-madeireira h1 {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: right;
    margin: 20px 0;
}

.a-madeireira p {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: right;
}

.left {
    text-align: left !important;
}

.contato {
    padding: 50px 0;
}

.contato h1 {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 20px 0 !!important;
}

.frm-contato {
    margin: 0 !important;
    padding: 50px !important;
}

.form-container h1 {
    color: var(--primary);
}

.input {
    width: 100%;
    margin: 10px 0;
    padding: 15px;
    font-size: 18px;
    border: 2px solid var(--primary);
    border-radius: 10px;
}

.frm-contato .btn {
    width: 100% !important;
}

textarea {
    height: 250px;
    resize: vertical;
}

.sobre-produto {
    background-color: var(--third);
    padding: 50px 0;
}

.sobre-produto h1 {
    color: var(--primary);
    font-size: 40px;
    letter-spacing: 1px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}

.sobre-produto p {
    color: var(--light);
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 18px;
}

.show-mobile {
    display: none;
}

.border-white {
    border: 2px solid white;
    color: white;
}

.border-white:hover {
    background-color: white;
    color: black;
}

.hidden-mobile {
    display: inline-block;
}

.border {
    border-bottom: 2px solid var(--primary);
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 30px;
}

.sobre-produto img {
    width: 100%;
    max-width: 100%;
}

.toggle-nav {
    display: none;
}

@media screen and (max-width: 768px) {
    .navbar {
        display: flex !important;
        flex-wrap: wrap !important;
        width: calc(100% - 100px) !important;
        position: fixed !important;
        top: 150px !important;
        left: -110% !important;
        transition: all 300ms ease;
    }

    .navbar.active {
        left: 0 !important;
    }

    .navbar-brand {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
    }

    .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: 100vh;
    }

    .nav-item {
        text-align: center !important;
        width: 100% !important;
    }

    .show-mobile {
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .hidden-mobile {
        display: none;
    }

    .toggle-nav {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        padding: 20px;
        cursor: pointer;
        color: var(--light);
        letter-spacing: 1px;
    }

    .toggle-nav i {
        color: var(--light);
        font-size: 25px;
        margin-left: 5px;
    }

    .top-content h1 {

    }

    .title {
        font-size: 21px !important;
    }

    .sobre {
        text-align: center !important;
    }

    footer .navbar-brand {
        position: relative !important;
        display: flex !important;
        width: 100% !important;
        flex-direction: column; !important;
        align-items: center;
        align-content: center;
    }

    footer .navbar-brand img {
        text-align: center !important;
        width: 250px !important;
        max-width: 250px !important;
    }

    .copyright {
        text-align: center;
    }

    footer .nav-icon {
        justify-content: center !important;
        text-align: center !important;
    }

    .nav-icon li a {
        font-size: 45px !important;
    }

    .a-madeireira h1, .a-madeireira p {
        text-align: center !important;
    }
}