@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@100..900&display=swap');

:root {
    --dark-cyan: hsl(185, 75%, 39%);
    --very-dark-desaturated-blue: hsl(229, 23%, 23%);
    --dark-grayish-blue: hsl(227, 10%, 46%);
    --dark-gray: hsl(0, 0%, 79%);
}

html {
    box-sizing: border-box;
    font-size: 62.5%; /*1rem = 10px*/
}
*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: "Kumbh Sans", serif;
    font-size: 1.4rem;
    background-color: var(--dark-cyan);
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    color: var(--dark-grayish-blue);
    background-image: url(../images/bg-pattern-top.svg), url(../images/bg-pattern-bottom.svg);
    background-repeat: no-repeat, no-repeat;
    background-position: right 50vw bottom 50vh, left 50vw top 50vh;
}

.container {
    margin: 0 auto;
    text-align: center;
}

.card {
    max-width: 42rem;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    margin: 1rem;
}

.content img {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-top: -5.5rem;
    margin-bottom: 1rem;
}

.content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--very-dark-desaturated-blue);
    margin-bottom: 1rem;
}

.content h2 span {
    font-weight: 400;
    color: var(--dark-grayish-blue);
}

.stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--dark-gray);
    margin-top: 2.5rem;
    padding: 2rem 3rem;
}

.stats p {
    margin: 1rem;
    font-size: 1.2rem;
}

.stats .bold {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--very-dark-desaturated-blue);
}


.attribution {
    position: absolute;
    bottom: 10px; 
    left: 0;
    right: 0;
    font-size: 11px; text-align: center; 
    color: var(--very-dark-desaturated-blue);
}

.attribution a { 
    color: hsl(228, 45%, 44%); 
}