@import url("https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Kumbh Sans", sans-serif;
}

body {
    min-height: 100vh;
    background-color: hsl(185, 75%, 39%);
    display: flex;
    align-items: center;
    justify-content: center;
}

body::after {
    content: "";
    height: 50vh;
    width: 40vw;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(/images/bg-pattern-top.svg);
    transform: rotate(180deg);
}

body::before {
    content: "";
    height: 50vh;
    width: 40vw;
    position: absolute;
    bottom: 0;
    right: 0;
    background-image: url(/images/bg-pattern-bottom.svg);
}

main {
    background-color: hsl(0, 0%, 100%);
    width: 28rem;
    height: 28rem;
    border-radius: .8rem;
    margin: 1rem;
}

main .top {
    height: 10rem;
    background-image: url(/images/bg-pattern-card.svg);
    border-radius: .8rem .8rem 0 0;
    position: relative;
}

main .top img {
    border: 4px solid hsl(0, 0%, 100%);
    position: absolute;
    left: 50%;
    bottom: -3rem;
    transform: translate(-50%, 0%);
    border-radius: 50%;
}

main .infos {
    margin-top: 4rem;
    height: 14rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

main .infos .line {
    height: 1px;
    width: 100%;
    background-color: hsl(227, 10%, 46%, .2);
}

main .infos .stats {
    height: 6.25rem;
    width: 100%;
    padding: 1.4rem;
    display: flex;
    justify-content: space-around;
}

main .infos .stats .stat {
    text-align: center;
}

h3, h2 {
    color: hsl(229, 23%, 23%);
}

p, span {
    font-weight: 400;
    color: hsl(227, 10%, 46%);
}