:root {
    --bg-color: rgb(25, 25, 25);
    --text-color: rgb(245, 245, 245);
    --logo-color: rgba(245, 110, 45, 1);
}

:root.light-mode {
    --bg-color: rgb(245, 245, 245);
    --text-color: rgb(25, 25, 25);
    --logo-color: rgba(25, 25, 25, 1);
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

.site-footer {
    width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
    color: var(--text-color);
}

.site-footer a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-row-1-desktop {
    display: block;
    width: 100%;
    text-align: justify;
    text-align-last: justify;
    margin-bottom: 50px;
}

.footer-info {
    flex-grow: 1;
    min-width: 200px;
}

.footer-row-1-mobile {
    display: none;
    text-align: left;
}

.footer-row-2 {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    align-items: flex-end;
    padding-left: 5px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.footer-texto p, .footer-texto div {
    margin: 0;
    padding: 0;
}

.footer-links {
    font-family: 'TT Rationalist Regular', serif;
    font-size: 48px;
    line-height: 34px;
    letter-spacing: -0.25px;
}

.footer-links:hover {
    color: rgba(245, 110, 45, 1);
}

.footer-barra {
    font-family: 'TT Rationalist Extra Light', serif;
    font-size: 21px;
    line-height: 34px;
    letter-spacing: -1px;
    vertical-align: 6px;
    opacity: 0.5;
    margin-right: 5px;
}

.footer-texto {
    display: block;
    font-family: 'Source Sans Regular', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0px;
}

a.footer-texto:hover {
    color: rgba(245, 110, 45, 1);
}

.footer-social-icons {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    justify-content: flex-start;
    width: 100%;
    padding-left: 5px;
    margin-top: 50px;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icons a img {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
    filter: invert(1);
    transition: filter 0.3s ease;
}

.light-mode .footer-social-icons a img {
    filter: invert(0);
}

.footer-social-icons a:hover img {
    filter: invert(65%) sepia(85%) saturate(2475%) hue-rotate(345deg) brightness(98%) contrast(92%);
}

.light-mode .footer-social-icons a:hover img {
    filter: invert(65%) sepia(85%) saturate(2475%) hue-rotate(345deg) brightness(98%) contrast(92%);
}










@media (max-width: 1200px) {
    .site-footer {
        width: calc(100% - 40px);
        margin: 0 20px;
        padding: 30px 0;
    }

    .footer-row-1-desktop {
        display: none !important;
    }

    .footer-row-1-mobile {
        display: block !important;
        margin-left: 5px;
    }

    .footer-row-1-mobile div {
        margin-bottom: 4px;
    }

    .footer-row-2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-links {
         font-family: 'TT Rationalist Regular', serif;
         font-size: 21px;
         line-height: 26px;
         letter-spacing: -0.25px;
         margin-left: -1px;
    }
    
    .footer-barra {
        font-family: 'TT Rationalist Extra Light', serif;
        font-size: 14px;
        line-height: 22px;
        letter-spacing: -0.25px;
        opacity: 0.5;
        vertical-align: 2px;
        margin-left: 3px;
        margin-right: 3px;
      }
    
    .footer-texto {
        display: block;
        font-family: 'Source Sans Regular', sans-serif;
        font-weight: 300;
        font-size: 14px;
        line-height: 22px;
        letter-spacing: 0px;
    }

    .footer-row-1-mobile {
        margin-top: 50px;
    }
    
    .footer-row-2 {
        margin-top: 35px;
    }
}