* {
    box-sizing: border-box;
}

:root {
    --background: #6b2dfa;
    --highlight: #a57eff;
    --base-font-size: 1.25rem;
    --title-font-size: calc(var(--base-font-size) * 1.15);
    --small-font-size: calc(var(--base-font-size) * 0.75);
    --card-width: 100%;
}

body {
    margin: 0;
    background: var(--background);
    font-family: monospace;
    font-size: var(--base-font-size);
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.container {
    width: 100%;
    min-height: 100vh;
    padding: 1rem;
    display: grid;
    place-items: center;
}

.card {
    border-radius: 0.75rem;
    box-shadow: 0 1.375rem 4.375rem 0.25rem rgba(255, 255, 255, 0.56), 0 0 0 0.063rem rgba(255, 255, 255, 0.3);
    background: rgb(15, 15, 30);
    min-width: var(--card-width);
    color: white;
    will-change: box-shadow;
    transition: box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 32rem) {
    .card {
        --card-width: 30rem;
        display: grid;
        grid-template-columns: 40% auto;
        align-items: center;
    }
}

@media (min-width: 48rem) {
    .card {
        --card-width: 46rem;
    }
}

.card:hover {
    box-shadow: 0 32px 80px 14px rgba(255, 255, 255, 0.36), 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.card__body {
    padding: 1rem;
    display: grid;
    gap: 2rem;
}

.title {
    font-size: var(--title-font-size) !important;
    font-weight: normal;
    margin: 0;
}

.card__image-wrapper {
    display: grid;
    place-items: center;
}

.avatar {
    fill: white;
    max-width: 100%;
}

.stats {
    margin: 0;
    list-style-type: none;
    display: grid;
    gap: 1rem;
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat__value {
    font-size: var(--small-font-size);
}

.stat__label {
    margin-top: 0.15rem;
    font-size: var(--small-font-size);
    font-weight: 600;
    color: var(--highlight);
}

.links {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.links--one-column {
    grid-template-columns: repeat(1, 1fr);
}

.links__item {
    font-size: var(--small-font-size);
    line-height: var(--title-font-size);
}

.link {
    color: white;
}
