@import url('./components/base.css');
@import url('./components/reset.css');
@import url('./components/font.css');


body {
  font-family: var(--font-family);
  background: var(--primary-dark-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  font-family: var(--font-family);
 background-image: url("images/bg-pattern-top.svg"), url("images/bg-pattern-bottom.svg");
 background-repeat: no-repeat;
  background-position: right 45vw bottom 50vh, left 50vw top 50vh;
  
}


.profile-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  min-width: 350px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
   margin-inline: 50px;
}

.card-top-bg {
  background: url('images/bg-pattern-card.svg') center/cover no-repeat;
  height: 140px;
  position: relative;
}

.profile-avatar {
  aspect-ratio: 1/1;
  border: 5px solid #fff;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  bottom: -48px;
  transform: translateX(-50%);
}

.profile-info {
  margin-top: 56px;
  padding: 1rem;
}

.profile-name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-very-dark-desaturated-blue);
}

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

.profile-location {
  font-size: 0.875rem;
  color: var(--primary-dark-grayish-blue);
}

.profile-stats {
  display: flex;
  justify-content: space-around;
  padding: 1rem 0;
  border-top: 1px solid #eee;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-very-dark-desaturated-blue);
}

.stat span {
  font-size: 0.75rem;
  color: var(--neutral-dark-gray);
  font-weight: var(--primary-dark-grayish-blue);
}