#page-downloads {
    position: relative;
    background: url(../img/background.webp);
    background-size: cover;
    z-index: 2;
}

/* noise layer */
#page-downloads .content {
    position: relative;
    z-index: 3;
}

main h1 img,
main .left img,
a.btn {
    border-radius: 8px;
    border: 1px solid #000;
    box-shadow: 0 0 2px #000;
}

a.btn {
    color: inherit;
    text-decoration: none;
    padding: 5px 16px;
}

#page-downloads,
#page-downloads .content {
    display: flex;
    width: 100%;
    height: 100%;
}

#page-downloads .left,
#page-downloads .right {
    display: flex;
    width: 50%;
    height: 100%;
    justify-content: center;
    flex-direction: column;
}

#page-downloads .right p {
    margin-bottom: 2ch;
}

#page-downloads .left {
    padding: 32px;
    box-sizing: border-box;
    align-items: center;
}

#page-downloads .left img {
    box-shadow: 0 0 16px #000;
    width: 100%;
    max-width: 638px;
}

#page-downloads .right {
    flex-direction: column;
}

#page-downloads h1 {
    display: inline-flex;
    align-items: center;
    font-size: 48px;
    margin-bottom: 16px;
}

#page-downloads h1 img {
    width: 64px;
    background-image: linear-gradient(#fff2, #0000);
    margin-right: 8px;
    margin-top: 3px;
}

.download {
    display: inline-flex;
    font-size: 20px;
    flex-direction: column;
    background: #22882f;
    margin-right: 8px;
    margin-bottom: 8px;
}

.download .small {
    font-size: 11px;
}

#page-info {
    position: relative;
    padding: 32px;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#page-info > h1 {
    min-width: 100%;
    text-align: center;
}

#page-info .content,
#page-commits #commits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    height: 100%;
    max-width: 1620px;
}

.commit,
.feature {
    display: inline-flex;
    width: 100%;
    height: 140px;
    flex: 1;
    min-width: 450px;
    max-width: 508px;
    padding: 16px;
    border-radius: 8px;
    background: #292c35;
    margin: 16px;
    box-sizing: border-box;
}

.commit .icon,
.feature .icon {
    display: flex;
    height: 100%;
    min-width: 64px;
    align-items: center;
}

.feature .icon svg {
    height: 100%;
    max-width: 64px;
    max-height: 64px;
    margin-left: 16px;
    margin-right: 24px;
    fill: var(--accent);
}

.feature b {
    display: block;
    font-weight: normal;
    font-variation-settings: "wght" 800;
    margin-bottom: 4px;
}

.feature .right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

#page-commits {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    background: #030510;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #5464c1;
    margin: 3px;
    border-bottom: 0;
}

#page-commits h1 {
    display: flex;
    align-items: center;
    justify-content: center;
}

#page-commits #commits {
    padding: 32px;
    position: relative;
    z-index: 3;
    max-width: 1430px;
}

#page-commits::after {
    content:  "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    box-shadow: 0 0 64px 8px #5464c1;
    background: #5464c1;
}

.commit {
    align-items: center;
    max-width: 460px;
    padding: 8px;
    height: initial;
    font-size: 14px;
    margin: 8px;
}

.commit .icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
}

.commit .author {
    display: flex;
    align-items: center;
}

.commit .username {
    color: inherit;
    text-decoration: none;
}

.commit .info {
    width: 100%;
}

.commit .date {
    font-size: 11px;
    margin-left: auto;
    color: #fff5;
}

@media(max-width: 608px) {
    #page-info {
        padding: 16px;
    }

    .feature {
        min-width: 100%;
        align-items: center;
        flex-direction: column;
        max-width: 100%;
        height: 260px;
        margin-left: 0;
        margin-right: 0;
    }

    .feature .icon svg {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 850px) {
    #page-downloads .left {
        display: none;
    }

    #page-downloads .right {
        width: 100%;
        padding: 32px;
    }

    #page-downloads .content {
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 1020px) {
    #page-commits #commits {
        padding: 0;
        height: 60vh;
        overflow: hidden;
    }

    .commit {
        min-width: 250px;
    }

    #page-commits {
        padding-bottom: 0;
    }

    #page-commits::after {
        z-index: 4;
    }
}
