: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%, 59%);
    --font-size: 18px;
}

@font-face {
    font-family: 'Kumbh Sans';
    src: url('./KumbhSans-VariableFont_wght.ttf')
}


/* Mobile Layout */

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    background: url(./images/bg-pattern-top.svg) no-repeat, url(./images/bg-pattern-bottom.svg) no-repeat;
    background-position: -50vw -25vh, 45vw 60vh;
    background-size: 110%;
    background-color: var(--Dark-cyan);
}

@media (min-width: 576px) {
    body {
        background-position: -50vw -50vh, 45vw 60vh;
    }
}

@media (min-width: 768px) {
    body {
        background-position: -50vw -70vh, 40vw 50vh;
    }
}


/*Desktop Layout*/

@media (min-width: 992px) {
    body {
        background-position: -40vw -100vh, 40vw 50vh;
        background-size: 95%;
    }
}

.card {
    background-color: white;
    display: flex;
    flex-direction: column;
    font-family: 'Kumbh Sans';
    color: var(--Dark-gray);
    border-radius: 1rem;
    width: clamp(20rem, 85vw, 20% + 60px);
    height: clamp(25rem, 51.5vh, 30% + 100px);
    box-shadow: 0px 10px 60px -22px #062528;
}

#image-top {
    width: 100%;
    height: 100%;
    border-radius: 1rem 1rem 0 0;
}

.card-top {
    height: 30%;
}

#image-body {
    position: absolute;
    top: -20%;
    border-radius: 50%;
}

.card-paragraph {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 4.5rem;
    text-align: center;
}

.card-city {
    left: 60%;
}

.card-body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    height: 50%;
}

.card-bottom {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 20%;
    border-top: 1px solid var(--Dark-grayish-blue);
}

.followers,
.likes,
.photos {
    display: flex;
    flex-direction: column;
    text-align: center;
}

b {
    color: black;
}

.attribution {
    margin-top: 1rem;
    font-size: 11px;
    text-align: center;
    font-family: 'Kumbh Sans';
}

.attribution a {
    color: white
}