* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: font-size 0.3s ease, padding 0.3s ease, margin 0.3s ease, width 0.3s ease;
}

:root {
    --title: #fdfdfd;
    --text: #ececec;
    --sub-text: #dadada;
    --card-bg: #ffffff2e;
    --card-border: #ffffff59;
    --accent1: #549ae2;
    --accent2: #fc4f4f;
}

html {
    scroll-behavior: smooth;
    background: linear-gradient(to bottom right, var(--accent2), var(--accent1));
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--text);
}

::selection {
    background-color: #0078d4;
    color: white;
}

body {
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-content: center;
    max-width: fit-content;
    margin: 0 auto;
}

img {
    user-select: none;
}

a {
    color: var(--text);
    text-decoration: none;
}

header {
    margin: 18px 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
    user-select: none;
}

header a {
    font-weight: 400;
    font-size: 18px;
    color: var(--text);
    text-shadow: 0 3px 6px #0000002a;
    transition: all 0.2s ease;
} header a:hover {
    color: var(--sub-text);
}

#profile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}

#profile .picture {
    width: 124px;
    height: 124px;
    box-shadow: 0 0 18px #00000063;
    border-radius: 50%;
    transition: all 0.3s ease;
} #profile .picture:hover {
    transform: scale(1.1);
    cursor: grab;
} #profile .picture:active {
    transform: scale(1);
    cursor: grabbing;
}
 
#profile .container {
    line-height: 1.35;
    margin-bottom: 10px;
}

#profile .name {
    font-size: 36px;
    color: var(--title);
    text-shadow: 0 3px 7px #0000004d;
}

#profile .motto {
    font-size: 18px;
    color: var(--sub-text);
    text-shadow: 0 3px 6px #00000033;
    user-select: none;
}

#profile .links {
    display: flex;
    align-items: center;
    gap: 16px;
}

#profile .links a {
    padding: 8px 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    user-select: none;
    transition: all 0.15s ease;
}

hr {
    margin: 24px 0;
    width: 100%;
    height: 3px;
    background-color: var(--card-border);
    border: none;
    border-radius: 8px;
}

#socials, #misc-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

#socials a, #misc-links a {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    font-size: 18px;
    transition: all 0.15s ease;
    user-select: none;
}

#misc-links svg {
    width: 22px;
    height: 22px;
    color: var(--text);
}

#socials a:first-child:nth-last-child(odd), #misc-links a:first-child:nth-last-child(odd) {
    grid-column: 1 / -1;
}

#profile .links a:hover, #socials a:hover, #misc-links a:hover  {
    background-color: var(--card-border);
    border: 1px solid var(--card-bg);
    color: var(--title);
}

.live-indicator {
    width: 10px;
    height: 10px;
    background-color: #ec1a1a;
    border-radius: 50%;
    box-shadow: 0 0 18px #ec1a1a63;
}

@media (max-width: 600px) {
    body {
        padding: 0 15px;
    }
    header {
        gap: 22px;
    }

    header a {
        font-size: 16px;
    }

    #profile .picture {
        width: 112px;
        height: 112px;
    }

    #profile .name {
        font-size: 26px;
    }

    #profile .motto {
        font-size: 16px;
    }

    #profile .links a {
        font-size: 14px;
    }

    hr {
        height: 2px;
    }

    #socials, #misc-links {
        grid-template-columns: repeat(1, 1fr);
    }

    #socials a, #misc-links a {
        font-size: 14px;
    }

    #misc-links svg {
        width: 17px;
        height: 17px;
    }
}