/* =============================================
FOOTER SECTION
============================================== */

#main_footer {
    position: relative;
    width: 100%;
    background-color: var(--light-bg);
    opacity: 1;
    overflow: visible;
}

#id_contact_p #main_footer {
    display: none;
}

#main_footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: var(--global-border);
    background-color: var(--dark-bg);
    transition: width var(--border-transition);
}

#main_footer.borders-v::before {
    width: 100%;
}

#id_work_p #main_footer::before {
    display: none;
}

.footer_container {
    padding: 40px 45px 40px 45px;
}

.footer_top, .content_footer_mob {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#main_footer.borders-v .footer_top, #main_footer.borders-v .content_footer_mob {
    opacity: 1;
}

.footer_bottom {
    width: 100%;
}

.footer_nav {
    display: flex;
    gap: 28px;
}

.footer_hash {
    width: 100%;
    height: 80px;
    background: repeating-linear-gradient(
        -45deg,
        var(--accent),
        var(--accent) 4px,
        transparent 4px,
        transparent 8px
    );
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 45px;
}

.footer_hash_text {
    font-family: 'Copper03', monospace;
    font-size: 32px;
    text-shadow: 0px 0px 5px var(--accent);
    font-weight: bold;
    color: var(--light-bg);
    pointer-events: none;
}

.footer_hash_copy {
    font-family: 'Copper03', monospace;
    font-size: 32px;
    text-shadow: 0px 0px 5px var(--accent);
    font-weight: bold;
    color: var(--light-bg);
    pointer-events: none;
}

.footer_page_indicator {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    margin-top: -2px;
    vertical-align: middle;
    transition: opacity 0.15s ease;
}

.content_footer_mob {
    gap: 28px;
}

@media screen and (max-width: 976px) {
    .footer_container {
        padding: 40px 12px 20px 12px;
    }

    .footer_hash {
        padding: 0 24px;
    }

    .footer_hash_text,
    .footer_hash_copy {
        font-size: 30px;
    }

    .footer_hash_text::before {
        content: 'C0Z1';
    }

    .footer_hash_text {
        font-size: 0;
    }

    .footer_hash_copy::before {
        content: '© 2025';
    }

    .footer_hash_copy {
        font-size: 0;
    }

    .footer_hash_text::before,
    .footer_hash_copy::before {
        font-size: 30px;
    }
    .footer_top {
        flex-direction: column;
        justify-content: space-between;
        gap: 30px;
    }

    .footer_time, .footer_email, .footer_nav_link {
        font-size: 14px;
    }

    .footer_nav {
        display: flex;
        gap: 20px;
    }
}