:root {
    --primary-color: #618264;
    --secondary-color: #79AC78;
    --clear-color: #B0D9B1;
    --bright-color: #FAF2D3;
    --primary-color-dark: #354737;
    --background-color: #161e17;

    font-family: 'Montserrat', sans-serif;
}

body {
    width: 100vw;
    height: 100vh;
    background-color: var(--background-color);
}

.logo {
    width: 72px;
    margin-left: 5%;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 72px;
    /* padding: 0% 5%; */
    background-color: var(--bright-color);
}

.nav-links {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    font-size: 1rem;
}

.link {
    color: var(--primary-color-dark);
    font-weight: 700;
    align-items: center;
    display: flex;
    margin-top: 0.25rem;
    padding-bottom: 0.25rem;
    position: relative;
}

.link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.25s ease-out;
}

.link:hover::before {
    width: 100%;
}

.dropdown {
    position: relative;
    display: inline-block;
    height: 100%;
}

.btn-investimentos {
    border: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    background: none;
    font-weight: 700;
    color: var(--primary-color-dark);
    height: 100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bright-color);
    min-width: 160px;
    text-align: center;
    z-index: 1;
    left: -8%;
}

.drop-link {
    line-height: 16px;
    padding: 16px 16px;
    color: var(--primary-color-dark);
    font-weight: 700;
    align-items: center;
    display: flex;
    justify-content: center;
}

.dropdown-content a:hover {
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.footer-links-box {
    margin: 0 5%;
    margin-top: 64px;
    display: flex;
    height: 400px;
    justify-content: space-evenly;
}

.produtos-box {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 250px;
}

.foot-title {
    font-size: 20px;
    font-weight: 700;
    color: #FFF;
}

.foot-link {
    font-size: 16px;
    font-weight: 400;
    color: #FFF;
    margin: 15px;
    cursor: pointer;
}

.foot-links2 {
    height: 200px;
}

.contato-box {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 300px;
}

.foot-link-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFF;
    margin: 15px;
    margin-top: 25px;
    margin-bottom: 5px;
    width: 230px;
}

.footer-trademark {
    font-size: 16px;
    font-weight: 500;
    color: #FFF;
    text-align: center;
    height: 72px;
}

@media screen and (min-width: 768px) and (max-width: 1000px) {
    .nav-links {
        width: 50%;
    }
}

/* Footer */
@media screen and (min-width: 768px) and (max-width: 1240px) {
    .footer-links-box {
        flex-wrap: wrap;
        height: max-content;
    }

    .produtos-box {
        margin: 5%;
    }

    .contato-box {
        margin: 5% 0;
        height: max-content;
    }

    .footer-trademark {
        margin-top: 5%;
    }
}

@media screen and (min-width: 320px) and (max-width: 767px) {
    .footer-links-box {
        flex-wrap: wrap;
        height: max-content;
    }

    .produtos-box {
        margin: 5%;
    }

    .contato-box {
        margin: 5% 0;
        height: max-content;
    }

    .footer-trademark {
        margin-top: 5%;
    }

    .nav-links {
        width: 70%;
    }

    .link {
        font-size: 14px;
    }

    .btn-investimentos {
        font-size: 14px;
    }

    .drop-link {
        font-size: 14px;
    }

}

@media screen and (min-width: 320px) and (max-width: 459px) { 

    .logo {
        width: 36px;
        margin: auto;
    }

    .link {
        font-size: 10px;
    }

    .btn-investimentos {
        font-size: 10px;
    }

    .dropdown-content {
        min-width: auto;
    }

    .drop-link {
        font-size: 10px;
    }

}