:root {
    --twitch-color: #9146ff;
    --github-color: #333;
    --discord-color: #7289da;
    --youtube-color: #ff0000;
    --steam-color: #00adee;
    --bg-color: #eeeeee;
    --link-color: #e5e5e5;
    --link-button-color: #c9c9c9;
    --link-button-outline-color: #939393;
    --title-color: #2E93FF;
    --link-text-color: #000000;
    --darkmode-button-color: #555;
    --shadow-color: #8e8e8e;
    --inactive-text: #bbb;
    --avatar-frame-color: var(--bg-color);
}

body.dark {
    --twitch-color: #9146ff;
    --github-color: #f5f5f5;
    --discord-color: #7289da;
    --snapchat-color: #fff600;
    --youtube-color: #ff0000;
    --steam-color: #00adee;
    --bg-color: #111111;
    --link-color: #1f1f1f;
    --link-button-color: #363636;
    --link-button-outline-color: #000000;
    --title-color: #2E93FF;
    --link-text-color: #f5f5f5;
    --darkmode-button-color: #999;
    --shadow-color: black;
    --inactive-text: #666;
    --avatar-frame-color: var(--bg-color);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

.bottomnav {
    background-color: var(--link-color);
    overflow: hidden;
    border-radius: 10px;
    padding: 5px 1px;
    align-items: center;
}

.bottomnavtext {
    color: var(--link-text-color);
    text-decoration: none;
    font-size: 14px;
    border-radius: 10px;
    text-align: center;
    display: block;
}

footer {
    max-width: 560px;
    width: 100%;
    margin-top: 15px;
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
    .cover > .avatar {
        bottom: 5% !important;
    }
    .name {
        margin-top: 10px !important;
    }
}

body {
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: all 0.2s;
}

body > .container {
    border-radius: 5px;
    overflow: hidden;
    padding: 20px;
    max-width: 600px;
    width: 100%;
}



.cover {
    background-size: cover;
    position: relative;
    width: 100%;
    height: 230px;
    border-radius: 10px;
}

.cover::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.cover > .avatar {
    position: absolute;
    z-index: 2;
    border-radius: 50%;
    background: var(--link-color);
    bottom: -37%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    width: 35%;
}
.cover > .image {
    position: absolute;
    left: 50%;
    display: block;
    max-width: 100%;
    max-height: 100%;
    transform: translateX(-50%) translateY(0%);
    border: 5px solid var(--bg-color);
    border-radius: 15px;
}

.name {
    margin-top: 90px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--title-color);
}

.title {
    margin-top: 12px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--title-color);
}

.bio {
    margin-top: 12px;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--link-text-color);
    background-color: var(--link-color);
    padding: 10px;
    border-radius: 10px;
    margin-left: 2px;
    margin-right: 1px;
}

.links {
    padding: 1px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 25px;
    border-radius: 5px;
    background-color: var(--link-color);
}

.link .first {
    display: flex;
    align-items: center;
}

.link > p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--link-text-color);
}
.link .first > p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--link-text-color);
}
.link > a {
    background-color: var(--link-button-color);
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    border: 1px outset var(--link-button-outline-color);
}
.link > a:hover {
    background-color: #ddd;
    color: black !important;
}

.link > a.twitch {
    color: var(--twitch-color);
}

.link > a.twitch:visited {
    color: var(--twitch-color);
}

.link > a.github {
    color: var(--github-color);
}

.link > a.github:visited {
    color: var(--github-color);
}

.link > a.discord {
    color: var(--discord-color);
}

.link > a.discord:visited {
    color: var(--discord-color);
}

.link > a.steam {
    color: var(--steam-color);
}

.link > a.steam:visited {
    color: var(--steam-color);
}

.link .logo {
    width: 60px;
    padding-right: 10px;
}






