@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Figtree:ital,wght@0,300..900;1,300..900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kumbh+Sans:wght@100..900&family=League+Spartan:wght@100..900&family=Lexend+Deca:wght@100..900&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Overpass:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&family=Roboto:wght@100;300;400;500;700;900&family=Work+Sans:ital,wght@0,100..900;1,100..900&family=Young+Serif&display=swap');

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

:root {

  /* Primary Colors */
  --color-blue-600: hsl(185, 75%, 39%);
  --color-navy-950: hsl(229, 23%, 23%);
  --color-gray-500: hsl(227, 10%, 46%);

  /* Neutral Colors */
  --color-gray-100: hsl(225, 10%, 92%);

  /* Typography */
  --font-family-base: 'Kumbh Sans', sans-serif;
  --font-size-body: 18px;

  /* Font Weights */
  --font-weight-regular: 400;
  --font-weight-bold: 700;
}


.attribution { font-size: 11px; text-align: center; margin: 20px 0px 20px 0px;}
.attribution a { color: hsl(228, 45%, 44%); }


@media only screen and (min-width: 600px) {

    body {
        position: relative;
        width: 100vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        background-color: var(--color-blue-600);
        font-family: var(--font-family-base);
    }

    .top {
        width: 900px;
        position: absolute;
        top: -400px;
        left: 0px;
    }

    .bottom {
        width: 900px;
        position: absolute;
        z-index: -1;
        bottom: -400px;
        right: 0px;
    }

    .card {
        width: 400px;
        background-color: var(--color-gray-100);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 20px;
    }

    .card span {
        font-weight: 400;
        font-size: 20px;
    }

    .card h1 {
        font-size: 20px;
    }

    .card p {
        margin-top: 10px;
        font-size: 16px;
        color: var(--color-gray-500);
    }

    .card__bacgroundImg {
        width: 100%;
        border-radius: 20px 20px 0px 0px;
    }

    .card__mainImg {
        margin-top: -50px;
        border-radius: 100%;
        border: 4px solid var(--color-gray-100);
    }

    .card__stats {
        margin-top: 20px;
        padding-top: 20px;
        margin-bottom: 20px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        border-top: 1px solid var(--color-gray-500);
    }

    .card__stats h2 {
        font-size: 18px;
        text-align: center;
        color: var(--color-navy-950);
    }

    .card__stats h3 {
        margin-top: 4px;
        text-align: center;
        font-size: 16px;
        color: var(--color-gray-500);
    }
}

@media only screen and (max-width: 600px) {

    body {
        position: relative;
        width: 100vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow-x: hidden;
        background-color: var(--color-blue-600);
        font-family: var(--font-family-base);
    }

    .top {
        width: 600px;
        position: absolute;
        z-index: -2;
        top: -300px;
        left: -300px;
    }

    .bottom {
        width: 400px;
        position: absolute;
        z-index: -1;
        bottom: 0px;
        right: -100px;
        display: none;
    }

    .card {
        width: 300px;
        background-color: var(--color-gray-100);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 20px;
    }

    .card span {
        font-weight: 400;
        font-size: 20px;
    }

    .card h1 {
        font-size: 20px;
    }

    .card p {
        margin-top: 10px;
        font-size: 16px;
        color: var(--color-gray-500);
    }

    .card__bacgroundImg {
        width: 100%;
        border-radius: 20px 20px 0px 0px;
    }

    .card__mainImg {
        margin-top: -50px;
        border-radius: 100%;
        border: 4px solid var(--color-gray-100);
    }

    .card__stats {
        margin-top: 20px;
        padding-top: 20px;
        margin-bottom: 20px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        border-top: 1px solid var(--color-gray-500);
    }

    .card__stats h2 {
        font-size: 18px;
        text-align: center;
        color: var(--color-navy-950);
    }

    .card__stats h3 {
        margin-top: 4px;
        text-align: center;
        font-size: 16px;
        color: var(--color-gray-500);
    }
}