.footer-top {
    min-height: 100vh;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    gap: 120px;
}

.footer-logo-big {
    max-width: 783px;
    width: 100%;
}

.footer-image {
    width: 100%;
    min-height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.footer .hero-download-container {
    position: relative;
    padding-bottom: 100px;
}

.rhombus-background-footer {
    position: absolute;
    bottom: 0px;
    left: var(--gap);
    right: var(--gap);
    color: var(--card-background-color);
    height: 350px;
    z-index: -1;
}

.footer-bottom {
    padding-top: 60px;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 24px 36px;
}

.footer-logo {
    width: 68px;
    min-width: 68px;
}

.footer-socials-wrapper .socials {
    margin-top: 0px;
}

.footer-credits {
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 24px;
    border-top: 1px solid #202020;
}

.footer-credits-inner {
    text-align: center;
    gap: 76px;
}

.footer-credits-inner small {
    letter-spacing: 0em;
    opacity: 0.6;
    transition: opacity .2s ease;
}

.footer-secondary-links {
    flex-wrap: wrap;
    gap: 10px;
}

.footer-secondary-link {
    color: var(--text-color);
    text-decoration: none;
}

.footer-secondary-links small:hover {
    opacity: 1;
}

.footer-logo-big-wrapper {
    width: 100%;
}

@media screen and (max-width: 1080px) {
    .footer-logo-big {
        max-width: 680px;
        width: 100%;
    }

    .footer-bottom {
        padding-top: 45px;
    }

    .footer-top {
        min-height: 60vh;
        padding-top: 68px;
    }

    .footer-image {
        top: 0;
    }

    .footer-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 40px;
        padding: 24px 36px;
    }

    .footer-logo {
        grid-column: 1;
        grid-row: 1; 
    }

    .footer-navigation {
        grid-column: 1 / span 2;
        grid-row: 2;
    }

    .footer-socials-wrapper {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        justify-content: flex-end;
    }

    .footer-secondary-links small:hover {
        opacity: 0.6;
    }

    .footer-navigation .nav {
        justify-content: space-between;
    }
}

@media screen and (max-width: 767px) { 
    .footer .hero-download-container {
        padding-bottom: 48px;
        gap: 14px;
    }

    .footer-top {
        padding-top: 68px;
        gap: 58px;
    }
    
    .footer-bottom {
        padding-top: 40px;
    }

    .footer-main {
        gap: 30px;
    }

    .footer-logo {
        grid-column: 1;
        grid-row: 1; 
        margin-bottom: auto;
    }

    .footer-navigation {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .footer-socials-wrapper {
        grid-column: 1;
        grid-row: 2;
        justify-content: flex-start;
        margin-top: auto;
    }

    .footer-socials-wrapper .socials {
        gap: 14px;
    }

    .footer-socials-wrapper .social {
        width: 32px;
        min-width: 32px;
        height: 32px;
    }

    .footer-socials-wrapper .social-inner {
        width: 14px;
        height: 14px;
    }

    .footer-socials-wrapper .social-inner.smaller {
        width: 10px;
        height: 10px;
    }

    .footer-navigation .nav {
        flex-direction: column;
        text-align: right;
    }

    .footer-credits-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}