:root {
    --background-body: #080808;
    --background-outer: #0c0c0c;
    --background-inner: #0e0e0e;
    --color-border: #1f1f1f;
    --color-heading: #ffffff;
    --color-text: #c8c8c8;
    --color-link: #0084ff;
    --color-highlight: #2bc67e;
    --color-blue: #007bff;
    --color-red: #e74e4e;
    --color-gold: #ccad00;
    --color-yellow: #f1d743;
    --color-green: #7cdd36;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    height: 100%;
}

body {
    scroll-behavior: smooth;
    background-color: var(--background-body);
    height: 100%;
}

section {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    gap: 30px;
    width: 500px;
    max-width: calc(100% - 20px);
    padding: 30px 10px;
    border-radius: 0 0 10px 10px;
    display: grid;
    grid-auto-flow: row;
    justify-items: center;
    background-color: var(--background-outer);
}

.container.error {
    border-top: 3px solid var(--color-red);
}

.container.success {
    border-top: 3px solid var(--color-green);
}

.center {
    text-align: center;
}

.avatar-container {
    gap: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.avatar {
    width: 128px;
    height: 128px;
    pointer-events: none;
}

.avatar.discord {
    border-radius: 50%;
}

/* .avatar.minecraft {
    border-radius: 10px;
} */

.icon {
    color: var(--color-text);
}

button,
.button {
    transition: 100ms;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    color: white;
    background-color: var(--color-blue);
}

h1,
h2,
h3,
h4 {
    font-weight: 400;
    text-align: center;
    color: var(--color-heading);
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 20px;
}

ul,
ol {
    list-style-position: inside;
}

p,
li {
    color: var(--color-text);
}

a {
    width: fit-content;
    display: block;
    text-decoration: none;
    color: var(--color-link);
}

#confetti {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 1000;
    pointer-events: none;
}

@media (min-width: 576px) {

    .avatar-container {
        flex-direction: row;
    }
}
