#finale-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    height: fit-content;
    background-color: rgba(0, 8, 16, 1);
    overflow: hidden;
}

#finale-bg-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: fit-content;
    height: fit-content;
    object-fit: none;
    mix-blend-mode: color-dodge;
    transform: translate(-50%, -57%);
}

#finale-bg-gradient-overlay {
    position: absolute;
    width: 16.9rem;
    height: 16.9rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -18%);
    background: radial-gradient(50% 50% at 50% 50%,
            rgba(215, 215, 215, 1) 0%,
            rgba(215, 215, 215, 0.96) 10%,
            rgba(215, 215, 215, 0.85) 20%,
            rgba(215, 215, 215, 0.72) 30%,
            rgba(215, 215, 215, 0.58) 40%,
            rgba(215, 215, 215, 0.43) 50%,
            rgba(215, 215, 215, 0.28) 60%,
            rgba(215, 215, 215, 0.15) 70%,
            rgba(215, 215, 215, 0.07) 80%,
            rgba(215, 215, 215, 0.02) 90%,
            rgba(0, 0, 0, 0) 100%);
    filter: blur(2rem) drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    mix-blend-mode: color-dodge;
    pointer-events: none;
    z-index: 100;
}

#finale-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    width: calc(100% - 8rem);
    height: fit-content;
    margin: 0 auto;
    justify-items: start;
}

#finale-content h1 {
    margin-top: 10rem;
}

#finale-content h3 {
    margin-top: 4rem;
    max-width: 60rem;
}

#finale-bottom {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    height: fit-content;
    margin-top: 12rem;
    margin-bottom: 4rem;
}

#finale-box-1,
#finale-box-2,
#finale-box-3 {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    justify-items: start;
}

#legal-info {
    position: relative;
    width: fit-content;
    height: fit-content;
    margin-top: auto;
}

#legal-info-copyright {
    color: rgba(255, 255, 255, 1);
}

#legal-info-rights {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.56);
}

#finale-bottom h5 {
    width: fit-content;
    height: fit-content;
    margin-top: 3rem;
    margin-left: 3rem;
    margin-bottom: 10.25rem;
    color: rgba(255, 255, 255, 1);
}

#socials,
#finale-box-2 a {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, auto);
    grid-auto-flow: column;
    gap: 0.5rem;
    width: fit-content;
    height: fit-content;
    margin-top: 0;
    margin-bottom: 3rem;
    margin-left: 3rem;
    color: rgba(0, 92, 183, 1);
}

#socials a {
    text-decoration: none;
    color: inherit;
}

#socials a:hover {
    text-decoration: none;
}

.finale-box-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 230, 255, 0.04);
    mix-blend-mode: color-dodge;
}

#github {
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
}

#github-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#github-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
    z-index: 200;
}

/* Tablet */
@media (max-width: 991px) {
    #finale-content {
        width: calc(100% - 6rem);
    }

    #finale-content h1 {
        margin-top: 6.5rem;
    }

    #finale-bottom {
        margin-top: 8rem;
        margin-bottom: 3.5rem;
    }

    #finale-bottom h5 {
        margin-top: 2.5rem;
        margin-left: 2.5rem;
    }

    #socials,
    #finale-box-2 a {
        margin-bottom: 2.5rem;
        margin-left: 2.5rem;
    }

}

/* Mobile (May actually want this a bit smaller in width) */
@media (max-width: 890px) {
    #finale-content {
        width: calc(100% - 3rem);
    }

    #finale-content h1 {
        margin-top: 4rem;
    }

    #finale-content h3 {
        margin-top: 2.25rem;
    }

    #finale-bottom {
        grid-template-columns: 1fr;
        margin-top: 4rem;
        margin-bottom: 1.5rem;
    }

    #finale-box-1 {
        order: 2;
        width: 100%;
        height: fit-content;
    }

    #finale-box-2,
    #finale-box-3 {
        width: 100%;
        height: fit-content;
    }

    #finale-box-2 {
        order: 0;
    }

    #finale-box-3 {
        order: 1;
    }

    #legal-info {
        margin-top: 1.5rem;
    }

    #finale-bottom h5 {
        margin-top: 2.25rem;
        margin-left: 2.25rem;
        margin-bottom: 2rem;
    }

    #socials,
    #finale-box-2 a {
        margin-bottom: 2.25rem;
        margin-left: 2.25rem;
    }

}