
body {
  margin: 0;
  padding: 0;
  font-family: 'Kumbh Sans', sans-serif;
  background-color: hsl(185, 75%, 39%);
}

.attribution {
  font-size: 11px;
  text-align: center;
  margin-top: 20px;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}


.main {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Background Images */
.top {
  position: absolute;
  top: -500px;
  left: -200px;
  z-index: -1;
}
.bottom {
  position: absolute;
  bottom: -600px;
  right: -200px;
  z-index: -1;
}


.card {
  width: 350px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: scale(1.03);
  cursor: pointer;
}


.profile {
  background-image: url('bg-pattern-card.svg');
  background-size: cover;
  background-position: center;
  height: 140px;
  position: relative;

  background-color: hsl(185, 75%, 39%);
  height: 140px;
  position: relative;
}
.profileImg {
  border: 5px solid white;
  border-radius: 50%;
  width: 90px;
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
}

.details {
  margin-top: 60px;
  padding: 20px;
}
.details h1 {
  font-size: 18px;
  margin: 0;
}
.details .age {
  color: gray;
  font-weight: 400;
  margin-left: 10px;
}

.location {
  color: gray;
  font-size: 14px;
  margin: 8px 0 16px;
}


hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 0 30px;
}


.socialM {
  display: flex;
  justify-content: space-around;
  padding: 20px 0;
}
.socialM p {
  margin: 0;
  font-weight: 700;
}
.socialM span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: gray;
  margin-top: 4px;
}


@media (max-width: 400px) {
  .card {
    width: 90%;
  }

  .top {
    top: -250px;
    left: -250px;
  }

  .bottom {
    bottom: -250px;
    right: -250px;
  }
}


.bg-pattern-card {
    position: absolute;
    top: 100px;
    z-index: 1;
}
