@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap');

:root{
    --Fondo1: hsl(185, 75%, 39%);
    --Title1: hsl(229, 23%, 23%);
    --paragraps: hsl(227, 10%, 46%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.Fondo1 {
    position: fixed;
    z-index: 1;
    top: -500px;
    left: -300px;
  }
  .imgF2 {
      position: fixed;
      right: -300px;
      bottom: -500px;
  }

body {
  font-family: 'Kumbh Sans', sans-serif;
  background-color: var(--Fondo1);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  width: 350px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.card-header {
  position: relative;
  height: 140px;
  background-image: url('./images/bg-pattern-card.svg');
}

.profile-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 5px solid white;
  position: absolute;
  bottom: -48px;
  left: 50%;
  transform: translateX(-50%);
}

.card-body {
  padding: 70px 20px 30px;
}

.name {
  color: var(--Title1);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.age {
  color: var(--paragraps);
  font-weight: 400;
}

.location {
  color: var(--paragraps);
  font-size: 14px;
  margin-bottom: 25px;
}

.stats {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid hsl(0, 0%, 90%);
  padding: 25px 0px  10px 0px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  color: var(--Title1);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 5px;
}

.stat-label {
  color: var(--paragraps);
  font-size: 12px;
  letter-spacing: 1px;
}

@media (min-width: 768px) {
    .Fondo1 {
        position: fixed;
        z-index: 1;
        top: -500px;
        left: -300px;
      }
      .imgF2 {
          position: fixed;
          right: -300px;
          bottom: -500px;
      }    
}