@import url("https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@100..900&display=swap");
*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: "Kumbh sans", sans-serif;
  min-height: 100vh;
  background-color: hsl(185, 75%, 39%);
  background-image: url("../images/bg-pattern-top.svg"), url("../images/bg-pattern-top.svg");
  background-position: -300px -500px, 850px 300px;
  background-repeat: no-repeat, no-repeat;
}

main {
  max-width: 380px;
  width: 100%;
  margin-inline: 1rem;
  border-radius: 15px;
  overflow: hidden;
  background-color: white;
}

.background {
  height: 140px;
  background-image: url("../images/bg-pattern-card.svg");
}
.background img {
  border-radius: 50%;
  border: 5px solid white;
  margin-top: 85px;
  transform: translateY(10px);
}

.profile {
  margin: 75px 0 30px;
}
.profile h1 {
  font-size: 20px;
  margin-bottom: 10px;
}
.profile p,
.profile span {
  color: hsl(0, 0%, 59%);
}
.profile span {
  font-weight: 300;
  margin-left: 5px;
}

.stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 35px;
  padding: 20px;
}
.stats h1 {
  font-size: 20px;
  margin-bottom: 5px;
}
.stats p {
  color: hsl(0, 0%, 59%);
  font-size: 12px;
  letter-spacing: 2px;
}