:root {
    font-size: 18px;
}

body {
    font-family: 'Kumbh Sans', sans-serif;
    min-height: calc(100vh - 2rem);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    background-color: hsl(185, 75%, 39%);
}

.top-bg-pattern {
    position: fixed;
    right: 50%;
    bottom: 50%;
    z-index: 1;
}

.bottom-bg-pattern {
    position: fixed;
    left: 50%;
    top: 45%;
    z-index: 1;
}

main {
    max-width: 375px;
    border-radius: .75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 20px 50px 10px hsl(229, 23%, 23%, .25);
    z-index: 2;
}

.bg-pattern-card {
    border-radius: .75rem .75rem 0 0;
    margin-bottom: 4.25rem;
    max-width: 100%;
    min-height: 140px;
    object-fit: cover;
}

.profile-photo {
    border-radius: 50%;
    border: 5px solid #fff;
    position: absolute;
    top: 5rem;
}

.profile-info-container {
    display: flex;
    flex-direction: row;
    gap: .5rem;
}

h1 {
    font-weight: 700;
    color: hsl(229, 23%, 23%);
}

.age {
    color: hsl(0, 0%, 59%);
}

.location {
    margin-top: .75rem;
    color: hsl(0, 0%, 59%);
    font-size: .75rem;
    letter-spacing: .025rem;
}

hr {
    width: 100%;
    margin-top: 1.5rem;
    height: 1px;
    border: none;
    background-color: hsl(0, 0%, 59%, .25);
}

.stats-flexbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    width: calc(100% - 5rem);
    padding: 1rem 2.5rem 1.5rem 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.stat-num {
    font-weight: 700;
    color: hsl(229, 23%, 23%)
}

.stat-title {
    font-size: .5rem;
    letter-spacing: .1rem;
    color: hsl(0, 0%, 59%);
}

footer {
    text-align: center;
    line-height: 1.5rem;
    color: #eee;
    z-index: 2;
}

footer a {
    font-weight: 700;
    color: #fff;
}
