.github-section {
    --row-height: max(512px, 50vh);
    background: url('../img/github-background.jpg'), #000000;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position-y: center;
    background-position-x: min(calc(25% - var(--row-height) / 2), 0%);
    height: var(--row-height);
    display: flex;
    justify-content: end;
    align-items: center;
    overflow: hidden;
}

.github-section .content h1 {
    margin: 0px;
    margin-bottom: 16px;
    font-size: 50px;
    width: 100%;
    color: #ffffff;
    font-family: "Mona Sans", "Mona Sans Header Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.github-section .content .projects-link {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 0.5em;
    font-size: 15px;
}

.github-section .content .projects-link a {
    margin: 0px;
    color: #ffffff;
    font-family: "Mona Sans", "Mona Sans Header Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3em;
    text-decoration: none;
    transition-duration: 250ms;
    width: 10em;
    color: #8d96a0;
}

.github-section .content .projects-link a:hover {
    gap: 0.6em;
}

.github-section .content .projects-link a .arrow {
    font-size: 1.5em;
    margin-bottom: 0.125em;
}

.github-section .content {
    padding: 32px;
    width: 50%;
}

@media only screen and (min-width: 871px) {
    .github-section .content {
        background: linear-gradient(90deg, #00000000, #000000 50%, #000000);
        padding-top: 256px;
        padding-bottom: 256px;
    }
}

@media only screen and (max-width: 870px) {
    .github-section {
        background: linear-gradient(#00000000, #00000000 25%, #000000 75%, #000000), url('../img/github-background.jpg'), #000000;
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position-y: -10vw;
        background-position-x: center;
        height: auto;
        padding-top: 30vw;
    }

    .github-section .content {
        width: 100%;
    }

    .github-section .content h1 {
        font-size: 40px;
        text-align: center;
    }
}

@media only screen and (max-width: 641px) {
    .github-section .content h1 {
        font-size: 35px;
    }

    .github-section {
        background: linear-gradient(#00000000, #00000000 20%, #000000 65%, #000000), url('../img/github-background.jpg'), #000000;
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position-y: -10vw;
        background-position-x: center;
        padding-top: 27vw;
    }
}

@media only screen and (max-width: 571px) {
    .github-section {
        background: linear-gradient(#00000000, #00000000 15%, #000000 45%, #000000), url('../img/github-background.jpg'), #000000;
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position-y: -10vw;
        background-position-x: center;
        padding-top: 27vw;
    }
}

@media only screen and (max-width: 571px) {
    .github-section {
        background: linear-gradient(#00000000, #00000000 15%, #000000 45%, #000000), url('../img/github-background.jpg'), #000000;
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position-y: -10vw;
        background-position-x: center;
    }
}