#github-commit{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: center;
    align-items: flex-start;
}

.github-commits {
    max-width: fit-content;
    max-height: fit-content;

    border-style: solid;
    border-width: 2px;
    border-color: var(--main-color);
    border-radius: 10px;
    box-shadow: var(--box-shadow-all-inset-main-transparent-color);
}

.github-commits>:first-child>h1 {
    display: inline-block;

    font-family: Varela;

    padding: 15px;
    margin-block-start: 0;
    margin-block-end: 0;
}

.github-commits>:first-child {
    background: linear-gradient(var(--background-color), var(--main-color));
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: var(--main-color);
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.github-commits>:first-child>img {
    display: inline-block;
    max-width: 50px;
    transform: translateY(25%);
    padding-left: 15px;
    padding-right: 15px;
}

.github-commits>div:not(:first-child) {
    display: flex;
    flex-direction: row;
    max-height: 50px;
    backdrop-filter: var(--blur);
}

.github-commits>div:not(:first-child)>img {
    max-height: 50px;
    padding: 5px;
    border-radius: 12px;
}

.github-commits>div:not(:first-child)>a>img {
    max-height: 25px;
}

.github-commits>div:not(:first-child)>a {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.github-commits>div:not(:first-child)>p {
    display: flex;
    align-items: center;
    padding: 10px;
}

.github-commits>div:not(:first-child)>*:not(:first-child) {
    border-left-style: solid;
    border-left-width: 2px;
    border-left-color: var(--main-color);
    font-size: 10px;
}

.github-commits>div:not(:last-child) {
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: var(--main-color);
}

.github-commits>div:not(:first-child)>img,
.github-commits>div:not(:first-child)>a {
    max-width: 50px;
    max-height: 50px;
}

.github-commits>div:not(:first-child)>:nth-child(2) {
    min-width: 5vw;
    max-width: 5vw;
}

.github-commits>div:not(:first-child)>:nth-child(3) {
    min-width: 7vw;
    max-width: 7vw;overflow: hidden;
}

.github-commits>div:not(:first-child)>:nth-child(4) {
    max-width: 55px;
}

.github-commits>div:not(:first-child)>:nth-child(5) {
    max-width: 75px;
}

.github-commits>div:not(:first-child)>:last-child {
    background-color: var(--main-color);
    padding: 5px;
}

@media screen and (max-width: 425px) {
    .github-commits>div:not(:first-child)>:nth-child(2) {
        min-width: 10vw;
        max-width: 15vw;
    }

    .github-commits>div:not(:first-child)>:nth-child(4) {
        display: none;
    }

    .github-commits>div:not(:first-child)>:nth-child(5) {
        display: none;
    }
}