:root {
    --color-primary: #292F5C;
    --color-secondary: #FF7828;
    --fs-sm: .75rem;
    --fs-md: 1rem;
    --fs-extra-md: 1.125rem;
    --fs-lg: 1.5rem;
    --fs-extra-lg: 2rem;
    --fs-bg: 3rem;
}

body {
    overflow-x: hidden;
}

.header-home {
    padding-bottom: 102px;
}

.link-business {
    color: white;
    transition: color 0.5s ease;
}

.link-business:hover, .link-business:focus {
    color: var(--color-secondary);
}

@media (max-width: 64rem) {
    .header-home {
        padding-bottom: 72px;
    }
}

.navbar {
    background-color: var(--color-primary);
}

.navbar-container-img {
    width: auto;
    margin: 0% 0% 0% 2.5rem;
}
.navbar-img {
    width: 65%;
}

.navbar-links {
    position: relative;
    margin: 2px;
    color: rgb(150, 150, 150);
    text-decoration: none;
    border: none;
    transition: all 0.3s ease-in
}

.navbar-links:hover, .navbar-links:focus, .navbar-links:active {
    color: white;
}

.navbar-links::before {
    content: "";
    position: absolute;
    bottom: 10px;
    display: block;
    width: 85%;
    height: 3.5px;
    background-color: white;
    transform: scaleX(0%);
    transform-origin: left;
    transition: all 0.3s ease-out;
}

.navbar-links:hover::before {
    transform: scaleX(100%);
}

.btn-profile {
    color: white;
    font-size: 1rem;
    background-color: var(--color-secondary);
    transition: all 0.3s ease-in;
}

.btn-profile:hover {
    color: white;
    background-color: var(--color-secondary);
    transform: scale(1.05);
}

@media (max-width: 64rem) {
    .navbar-container-img {
        margin: 0% 0% 0% 1rem;
    }

    .navbar-img {
        width: 40%;
    }

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

    .navbar-links:hover {
        color: rgb(150, 150, 150);
    }
}
@media (max-width: 27rem) {
    .navbar-container-img {
        margin: 0% 0% 0% 0.25rem;
    }
}

footer {
    background-image: linear-gradient(120deg, var(--color-primary) 70%, color-mix(in srgb, var(--color-primary) 90%, white));
    color: white;
}

.footer-section-container {
    display: flex;
    justify-content: space-around;
}

.footer-section {
    padding: 2rem;
    overflow: hidden;
}

.footer-title {
    font-size: var(--fs-lg);
    font-weight: bold;
}

.footer-description {
    font-size: var(--fs-md);
}

.footer-description a {
    text-decoration: none;
}

.footer-contats-section {
    width: 24.9999%;
    padding: 1rem 2rem;
    text-align: center;
}

.footer-contats::before {
    content: '';
    display: block;
    margin: 1rem 0;
    border: 1px solid white;
}

.footer-contats {
    font-size: var(--fs-lg);
    font-weight: 500;
    margin: 0;
}

.footer-contats-icons {
    display: flex;
    justify-content: space-around; 
    padding: 0 20%;
}

.footer-contats-icons a {
    font-size: var(--fs-extra-lg);
}

.footer-copyright-container {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 5rem;
    border-top: 2px solid white;
    background-image: linear-gradient(120deg, var(--color-primary) 70%, color-mix(in srgb, var(--color-primary) 90%, white));
}

.footer-copyright-container span {
    font-size: var(--fs-extra-md);
}

.terms-and-privacy {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    font-size: var(--fs-md);
}

@media (max-width: 64rem) {
    .footer-section:nth-child(3) {
        display: none;
    }

    .footer-contats-icons {
        padding: 0%;
    }

    .footer-copyright-container {
        padding: 1.5rem 2rem;
    }

    .footer-copyright-container span {
        font-size: 1.25rem;
    }

    .terms-and-privacy {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 27rem) {
    .footer-section-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        padding: 0% 2rem;
    }

    .footer-section::before {
        content: '';
        display: block;
        margin: 1rem 0;
        border: 1px solid white;
    }

    .footer-section:nth-child(3) {
        display: block;
    }

    .footer-contats-section {
        width: 100%;
    }

    .footer-contats-icons {
        padding: 0 20%;
    }

    .footer-copyright-container {
        flex-direction: column;
    }

    .footer-copyright-container span {
        font-size: var(--fs-md);
        text-align: center;
    }

    .terms-and-privacy {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        font-size: var(--fs-sm);
    }
}