:root {
    --fall-duration: 18s;
    --fall-color: snow;
    --footer-bg: black;
    --footer-text-color: snow;
}


:root.light-theme {
    --footer-bg: snow;
    --footer-text-color: black;
    --fall-color: #FF8C00;

}

footer {
    display: flex;
    padding: 1rem 0;
    align-items: center;
    justify-content: center;
    color: var(--footer-text-color);
    font-family: "Gabriela", serif;
    position: relative;
    z-index: 1;
    flex-direction: column;
}



.footer-container {
    display: flex;
    justify-content: center;
    border: 2px solid skyblue;
    border: 1px solid var(--project-border-color);
    border-radius: 0.5rem;
    background: var(--footer-bg);
    padding: 1rem 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
    overflow: hidden;
    color: var(--body-text-color);
}

.footer-container-child {
    display: flex;
}

.footer-container-copy-right {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem 0;
    border-radius: 0.5rem;
    background: var(--footer-bg);
    width: 100%;
    border: 1px solid var(--project-border-color);
    gap: 0.5rem;
}

footer div {
    z-index: 2;
}

footer .img-box {
    display: flex;
    align-items: center;
    justify-self: end;
}


footer .text-box {
    padding-left: 2rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-family: "Gabriela", serif;

}


@media (min-width:700px) {
    footer .text-box {
        font-size: 2rem;
    }
}

.pri {
    border-radius: 51% 49% 46% 54% / 31% 27% 73% 69%;
    max-width: 200px;
}

.heart {
    display: inline-block;
    animation: heartbeat 1s infinite ease-in-out;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.2);
    }

    60% {
        transform: scale(1.4);
    }

    80% {
        transform: scale(1);
    }
}

i {
    overflow: hidden;
    height: 5rem;
    position: absolute;
    border-radius: 1rem;
    animation: star-fall var(--fall-duration) linear infinite;
    transform: translateY(-50vh) rotate(45deg);
}

@keyframes star-fall {
    100% {
        transform: translateY(80vh) translateX(-120vh) rotate(45deg);
    }
}


.social-icon-box {
    color: var(--footer-text-color);
    padding: var(--skill-padding-y) var(--skill-padding-y);
    border-radius: 0.5rem;
    border: 1px solid var(--skill-border-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--skill-padding-y);
}


.social-icon-box:hover {
    border: 1px solid var(--body-text-color);

}

.border-svg {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 3;
}

.footer-border-path {
    fill: none;
    stroke: var(--footer-text-color);
    stroke-width: 4;
    transition: stroke-dashoffset 0.5s linear;
}


#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* 🔹 allows clicks to pass through */

}

/* =============================================
   MOBILE VIEW CUSTOM OVERRIDES (under 768px)
   ============================================= */
@media (max-width: 767px) {
    /* Adjust giant background text size & spacing on mobile so it fits completely without cutting off */
    .footer-huge-text {
        font-size: clamp(2rem, 11vw, 5rem) !important;
        letter-spacing: 2px !important;
    }
}