@import url("https://fonts.googleapis.com/css2?family=Kumbh+Sans&display=swap");
html {
  font-family: "Kumbh Sans", sans-serif;
  height: 100%;
}
body {
  margin: 0;
  box-sizing: border-box;
  max-width: 1440px;
  height: 100%;
  background-color: hsl(185, 75%, 39%);
  background-image: url(images/bg-pattern-top.svg),
    url(images/bg-pattern-bottom.svg);
  background-position: left top, right bottom;
  background-repeat: no-repeat;
  background-position: -350px -480px, 650px 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.main-card {
  position: relative;
  border-radius: 24px;
  background-color: white;
  width: 20rem;
  height: 21rem;
  margin-bottom: 10%;
}
.card-img {
  border-top-right-radius: 24px;
  border-top-left-radius: 24px;
  width: 100%;
}
.card-header {
  position: relative;
  width: 100%;
  height: 30%;
  background-image: url(images/bg-pattern-card.svg);
  border-top-right-radius: 24px;
  border-top-left-radius: 24px;
  display: flex;
  justify-content: center;
}

.prof-pic {
  position: absolute;
  width: min-content;
  height: min-content;
  border: 4px solid white;
  border-radius: 50%;
  top: 64%;
}

.card-details {
  text-align: center;
}
.name {
  display: inline-block;
  font-weight: bold;
  margin-right: 5%;
  margin-top: 4.3rem;
}
.age {
  color: gray;
}
.city {
  color: gray;
}
.card-footer {
  width: 100%;
  display: flex;
  justify-content: space-around;
  position: absolute;
  bottom: 5%;
  text-align: center;
  border-top: 1px solid #dcdcdc ;
  padding-top: 1.5rem;
}

.top {
  font-weight: bold;
  display: block;
  text-align: center;
}
.muted {
  font-size: 80%;
  color: gray;
}
@media screen and (max-width: 480px){
  body{
    margin: 0;
    box-sizing: border-box;
    max-width: 1440px;
    height: 100%;
    background-color: hsl(185, 75%, 39%);
    background-image: url(images/bg-pattern-top.svg),
      url(images/bg-pattern-bottom.svg);
    background-position: left top, right bottom;
    background-repeat: no-repeat;
    background-position: 147% 120%, -20% -93%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}