* {
    background-color: #2C2F33;
    color: lightgray;
}

h1 {
    background: linear-gradient(#1F2DC1 60%, #BA2020 40%);

    & > span {
        background: linear-gradient(#BA2020 60%, #1F2DC1 40%);
    }
}

h1, h1 > span {
    color: transparent;
    background-clip: text;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted lightgray;

    & .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: white;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        bottom: 150%;
        left: 50%;
        margin-left: -60px;

        &::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: black transparent transparent transparent;
        }
    }
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.fa-discord {
    color: #5865F2;
}

.fa-linkedin {
    color: #0077B5;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    display: inline-block;

    & + li {
        margin-left: 10px;
    }
}

table {
    border-spacing: 0;
}

td {
    text-align: center;

    & + td {
        border-left: 1px solid;
    }
}

.projects {
    display: grid;
    grid-template-columns: 50% 50%;

    & > * {
        border: 1px solid;
    }
}

#under-maintenance {
    text-transform: uppercase;
    font-size: 3rem;
    border: none;

    &::backdrop {
        background-color: #2C2F33;
    }

    &:focus-visible {
        outline: none;
    }
}

@media (prefers-color-scheme: light) {
    * {
        background-color: white;
        color: black;
    }
}