body {
    --min-width: 300px;
    min-width: var(--min-width);
    overflow-x: hidden;
}

section {
    padding-top: 4rem;
    padding-bottom: 8rem;
}

section.dark {
    background: #171C28;
}

section h2 {
    font-size: 4rem;
    font-weight: 100;
}

.cover {
    position: relative;
    min-width: var(--min-width);
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    background: url("/file.php?rid=19") center no-repeat;
    background-size: cover;
    
    --avatar-overlap: -24px;
    --avatar-size: 128px;
}

.cover-background-info {
    display: none;
}

.intro {
    margin-top: min(60px, calc(50vh - (310px / 2)));
}

.avatars {
    position: sticky;
    top: 1rem;
}

.avatars img {
    position: relative;
    width: var(--avatar-size);
    height: var(--avatar-size);
    z-index: 1;
    border-radius: 50%;
    border: 3px solid white;
}

.avatars img:first-child, .avatars img:last-child {
    width: calc(var(--avatar-size) * .75);
    height: calc(var(--avatar-size) * .75);
    z-index: 0;
    border: none;
}

.avatars img:first-child {
    margin-right: var(--avatar-overlap);
}

.avatars img:last-child {
    margin-left: var(--avatar-overlap);
}

.intro h1 {
    font-size: 3rem;
    color: white;
    --margin: 2rem;
    margin-top: var(--margin) !important;
    margin-bottom: var(--margin) !important;
}

.services {
    margin-bottom: 1rem;
}

.services a {
    display: inline-block;
    font-size: 3rem;
    color: white;
    border: none;
    border-radius: 50%;
}

.navigation {
    margin-bottom: 3rem;
}

.navigation .d-flex {
    gap: 1rem;
}

.navigation a {
    color: white;
    font-size: 1.2rem;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid white;
    background: #ffffff44;
}

.navigation a:hover {
    text-decoration: none;
    color: black;
    background: white;
}

.about {
    font-size: 1.25rem;
}

.repository-column {
    position: unset
}

.repository-owner {
    font-weight: normal;
}

.repository-description {
    height: 60px;
    font-size: .8rem;
}

.text-hover-outline-dark:hover {
    color: #343a40;
}

.text-hover-outline-danger:hover {
    color: #dc3545;
}

.text-hover-outline-primary:hover {
    color: #007bff;
}

.text-hover-outline-mastodon:hover {
    color: #5B4ADF;
}

.text-hover-outline-discord:hover {
    color: #5865F2;
}

@media (min-width: 513px) {
    .intro h1 {
        font-size: 4rem;
    }

    .about {
        font-family: 'Gabriola';
        font-size: 1.75rem;
    }
}

@media (min-width: 545px) {
    .intro h1 {
        font-size: 5.5rem;
    }

    .services a {
        font-size: 3rem;
    }

    .about {
        font-size: 2.25rem;
    }
}

/* LARGE */
@media (min-width: 992px) {
    .services {
        margin-bottom: 8rem;
    }

    .navigation {
        position: absolute;
        bottom: 3rem;
        width: 100vw;
        margin-bottom: 0;
    }

    .cover-background-info {
        display: block;
        position: absolute; 
        left: 20px; 
        bottom: 20px; 
        opacity: .5
    }
}