#github-events {
    width: 100%;
    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-events>h1 {
    background: linear-gradient(var(--background-color), var(--main-color));
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: var(--main-color);

    font-family: Varela;

    padding: 15px;
    margin-block-start: 0;
    margin-block-end: 0;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

#github-events>h1>img {
    max-width: 50px;
    transform: translateY(25%);
    padding-right: 15px;
}

#github-events>div {
    display: flex;
    flex-direction: row;
    max-height: 50px;
    overflow: hidden;

    backdrop-filter: var(--blur);
}

#github-events>div>img {
    max-height: 50px;
    padding: 5px;
    border-radius: 12px;
}

#github-events>div>a>img {
    max-height: 25px;
}

#github-events>div>a {
    display: flex;
    align-items: center;
}

#github-events>div>p {
    display: flex;
    align-items: center;
    padding: 10px;
}

#github-events>div>:last-child {
    margin-left: auto;
    background-color: var(--main-color);
    padding: 5px;
}

#github-events>div>:nth-last-child(2) {
    border-right-style: solid;
    border-right-width: 2px;
    border-right-color: var(--main-color);
}

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

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

#github-events>div>img,
#github-events>div>a {
    max-width: 50px;
    max-height: 50px;
}

#github-events>div>:nth-child(2) {
    min-width: 6vw;
    max-width: 10vw;
    overflow: hidden;
}

#github-events>div>:nth-child(3) {
    min-width: 5vw;
    max-width: 10vw;
    overflow: hidden;
}

#github-events>div>:nth-child(4) {
    max-width: 55px;
}

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

    #github-events>div>:nth-child(4) {
        display: none;
    }
}