* {
    box-sizing: border-box;
}

:root {
    /*colors*/
    --color-grey: #6B7082;
    --color-light-grey: #E8E9EC;
    --color-dark-cyan: #10A1AE;
    --color-cyan: #41CBD3;
    --color-navy: #2E3349;
    --color-cyan-gradient: linear-gradient(#53FFEE, #0989B4);

    /*spacing*/
    --spacing-100: .5rem;
    --spacing-200: 1rem;
    --spacing-300: 1.5rem;
    --spacing-700: 3.5rem;

    /*background elements*/
    --circle-size: 40rem;
}

body {
    font-family: "Kumbh Sans", sans-serif;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
    min-height: 100vh;
    background-color: var(--color-dark-cyan);
    background-image:
    url("./images/bg-pattern-top.svg"),
    url("./images/bg-pattern-bottom.svg");
    background-repeat: no-repeat, no-repeat;
    background-position:
    calc(var(--circle-size) / -2) calc(var(--circle-size) / -2),
    right calc(var(--circle-size) / -2) bottom calc(var(--circle-size) / -2);
    background-size: var(--circle-size) var(--circle-size);
}

.card-container {
    min-width: 326px;
    max-height: 374px;
    background-color: white;
    border-radius: var(--spacing-200);
}

.card-banner {
    background: url('images/bg-pattern-card.svg');
    min-height: 124px;
    border-radius: 1rem 1rem 0 0;
}

h1 {
    font-size: var(--spacing-300);
}

h1, .location {
    position: relative;
    top: -3.25rem;
}

.profile {
    max-height: 140px;
}

.profile img {
    display: block;
    margin-inline: auto;
    position: relative;
    top: -3.25rem;
    justify-self: center;
    border-radius: 50%;
    border: 6px white solid;
}

.age {
    padding-left: var(--spacing-100);
    color: var(--color-grey);
    font-weight: 400;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.profile, .stat {
    line-height: var(--spacing-200)
}

.statistics {
    display: flex;
    max-height: 100px;
    justify-content: space-around;
    padding: 0rem 1rem;
    border-top: 1px var(--color-light-grey) solid;
}

h1, .stat-number {
    display: flex;
    justify-self: center;
}

.stat-number {
    font-size: 1.3rem;
}

.stat-label, .location {
    display: flex;
    justify-self: center;
    color: var(--color-grey);
}

.stat-label {
    letter-spacing: 2px;
    font-size: .75rem;
    position: relative;
    top: -.5rem;
}

@media (min-width: 48rem) {
    .card-container {
        min-width: 350px;
    }
}