:root {
  --dark-cyan: hsl(185, 75%, 39%);
  --very-dark-desaturated-blue: hsl(229, 23%, 23%);
  --dark-grayish-blue: hsl(227, 10%, 46%);
}

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

body {
  background-color: var(--dark-cyan);
  background-image: url("images/bg-pattern-top.svg"),
    url("images/bg-pattern-bottom.svg");
  background-repeat: no-repeat;
  background-position-x: -35%, 137%;
  background-position-y: -400%, 600%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;

  font-family: "Kumbh Sans", sans-serif;
}

.card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
}
.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-picture {
  border: 4px solid #fff;
  border-radius: 100%;
  margin-top: -15%;
}

.text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  row-gap: 0.5rem;
  margin-top: 1rem;
}

.name {
  color: var(--very-dark-desaturated-blue);
}

.age {
  color: var(--dark-grayish-blue);
  margin-left: 0.3rem;
  font-weight: 400;
}

.location {
  color: var(--dark-grayish-blue);
  font-size: medium;
  font-weight: 400;
}

.text-container hr {
  margin: 1rem 0;
  width: 100%;
  border: none;
  height: 1px;
  background-color: rgb(230, 227, 227);
  color: rgb(230, 227, 227);
}

.text-container .stats-container {
  margin-bottom: 2.5rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.stats-container > h1 {
  position: relative;
  color: var(--very-dark-desaturated-blue);
  font-size: 1.2rem;
  font-weight: 700;
}

.stats-container > h1::after {
  position: absolute;
  content: "";
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 400;
  font-size: small;
  color: var(--dark-grayish-blue);
}

.stats-container .followers::after {
  content: "Followers";
}
.stats-container .likes::after {
  content: "Likes";
}
.stats-container .photos::after {
  content: "Photos";
}

@media screen and (max-width: 768px) {
  body {
    background-image: url("images/bg-pattern-top.svg"),
      url("images/bg-pattern-bottom.svg");
    background-repeat: no-repeat;
    background-position-x: 130%, -25%;
    background-position-y: -600%, 800%;
  }
}
