/* Variáveis de Cores */
body[theme="dark"] {
    --primary-color: #dfdfdf;
    --secondary-color: #1f2327;
    --invite-color: #5bda35;
    --accent-color: #ffffff;
    --negative-color: #ff3b3b;
    --text-color: #ffffff;
    --background-color: #0F1011;
    --bg-segundary-color: #1f2327;
    --font-family: "Montserrat Alternates", sans-serif;
    --font-weight: 500;
    --font-style: normal;
    --margin: 0 auto;
}

body[theme="dark"] .nav-bar {
    --text-color-nav: #bebebe;
    --text-size: 15pt;
    --text-weight: semibold;
    --text-decoration: none;
}

body[theme="dark"] .nav-bar a:hover {
    color: var(--text-color);
    font-size: var(--text-size);
    font-weight: var(--text-weight);
    text-decoration: var(--text-decoration);
}

body[theme="dark"] button {
    color: var(--text-color);
    background-color: var(--invite-color);
    cursor: pointer;
    transition: 0.3s;
}

body[theme="dark"] button:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
    transition: 0.3s ease-in-out;
    scale: 1.1;
}

body[theme="dark"] .btn-secondary {
    background-color: var(--secondary-color);
}

body[theme="dark"] .btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
    transition: 0.3s ease-in-out;
    scale: 1.1;
}

body[theme="dark"] .btn.negative {
    background-color: var(--negative-color);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    transition: 0.3s;
    padding: 10px 15px;
    border-radius: 5px;
}

body[theme="dark"] .btn.negative:active {
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    scale: 1.2;
    transition: 0.1s ease-in-out;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight);
    font-style: var(--font-style);
    margin: 0 auto;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

body.flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.containe-body.flex {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.containe.flex {
    width: 65%;
}

.nav-bar {
    background-color: var(--background-color);
    height: 64px;
    max-width: 100%;
    overflow-x: hidden;
}

.nav-bar.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

.nav-bar, .nav-bar a {
    color: var(--text-color-nav);
    font-size: var(--text-size);
    font-weight: var(--text-weight);
    text-decoration: var(--text-decoration);
}

.nav-list.flex {
    display: flex;
    flex-direction: row;
}

.nav-list .left {
    float: left;
}

.nav-list .right {
    float: right;
}

.right .btn {
    display: none;
}

.nav-item {
    display: flex;
    margin: 0 15px;
}

.containe-m.flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.i-f {
    margin: 0 10px;
    fill: var(--text-color);
}

body[theme="dark"] .footer {
    --background-footer-color: #141516;
}

.footer.flex {
    background-color: var(--background-footer-color);
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
}

.footer-content.flex {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer-items {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 70%;
    padding: 20px 20px;
    box-sizing: border-box;
}

.footer-item {
    display: flex;
    flex-direction: column;
    text-align: left;
    height: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.footer-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-item ul li::marker {
    display: none;
    white-space: none;
    letter-spacing: 0;
}

.footer-item a, .footer-item .th-5 {
    color: var(--text-color);
    text-decoration: none;
    font-size: 12pt;
    font-weight: 400;
    line-height: 1.7;
}

.footer-item.brand {
    width: 350px;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 50%;
}

.footer-item .social {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: 50%;
    padding: 10px 0;
}

.footer-item .social a {
    display: flex;
    width: 20px;
    height: 20px;
    margin: 0px;
}

.brand .th-2 {
    font-size: 20pt;
}

.footer-item .enterprise {
    width: 150px;
}

.footer-item .projects {
  width: max-content;
}

.footer-item .donate {
    width: 430px;
}

.donate p {
    margin: 0 0 1em 0;
}

.footer-item.donate .btn {
    font-weight: bold;
    padding: 10px 20px;
    background-color: var(--invite-color);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    body {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        text-size-adjust: 100%;
        box-sizing: border-box;
    }

    .containe-body {
        width: 100%;
        display: block;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        overflow-x: hidden;
    }

    .containe {
        flex-direction: column;
        width: 90%;
    }

    .nav-bar.flex {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .nav-list.flex {
        flex-direction: column;
        width: 90%;
        justify-content: center;
    }

    .nav-bar .left {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: left;
        margin: 5px 0;
    }

    .nav-bar .left .nav-item {
        width: 100%;
    }

    .nav-bar .left img {
        height: 20px !important;
    }

    .nav-bar .right {
        display: block;
        position: absolute;
        width: 100%;
        height: 0;
        background-color: var(--background-color);
        top: 64px;
        left: 0;
        transition: 0.3s ease-in-out;
        overflow: hidden;
        padding: 0 0 0 0;
        line-height: 1.7;
        flex-wrap: no-wrap;
        border-bottom: #000 solid 1px;
    }

    .right .btn {
        display: none;
        position: absolute;
        top: 20px;
        right: 20px;
        margin: 0 15px;
        line-height: 1.5;
    }

    .footer-content.flex {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
    }

    .footer-items {
        flex-direction: column;
        align-items: left;
        width: 100%;
        text-size-adjust: 80%;
        justify-content: center;
    }

    .footer-item {
        width: 100% !important;
        box-sizing: border-box;
    }

    .footer-item.brand {
        justify-content: left;
    }

    .footer-item .social, .footer-item .th-4 {
        font-size: 13pt;
    }

    .footer-item.social {
        width: 100%;
        box-sizing: border-box;
        justify-content: space-around;
        align-items: center;
        margin: 10px 0;
    }

    .footer-item .social a {
        display: flex;
        width: 30px;
        height: 20px;
        align-items: center;
    }

    .footer-item .enterprise {
        width: 100%;
        box-sizing: border-box;
    }

    .footer-item .projects {
        width: 100%;
        box-sizing: border-box;
    }

    .footer-item .donate {
        width: 100%;
        box-sizing: border-box;
    }
}