  body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: hsl(210, 46%, 95%);
font-family: sans-serif;
padding: 20px;
}
.wholecard{
  display: grid;
  grid-auto-flow: column;
  width: max-content;
  padding: 0;
  gap: 20px;
  margin: 0;
  justify-self: center;
  grid-template-columns: auto auto auto;
}
.card1{
  background-color:hsl(263, 55%, 52%);
  width: 70vh;
  min-height: 20vh;
    grid-column: 1 / 3;
        grid-row: 1;
  
}
.card2{
  background-color: hsl(217, 19%, 35%);
  width: 30vh;
   grid-column: 3;
        grid-row: 1;
}
.card3{
  background-color:hsl(0, 0%, 100%);
  width: 30vh;
  min-height: 30vh;
   grid-column: 1;
        grid-row: 2;
}
.card4{
background-color: hsl(219, 29%, 14%);
width: 70vh;
grid-column: 2 / 4;
grid-row: 2;
}
.card5{
background-color: white;
grid-column: 4;
grid-row: 2;
width: 30vh;
min-height: 90vh;
}
.card1,.card2,.card3,.card4,.card5{
border-radius: 8px;
padding: 24px;
box-shadow: 0px 50px 50px rgba(0, 0, 0, 0.1);

}
.part1{
display: grid;
grid-auto-flow: column;
gap: 20px;
}
.card1,.card2,.card4{
  color: white;
}
img{
  border-radius: 70px;
  width: 6vh;
  min-height: auto;
  object-fit: contain;
}
.infoprofile1,.infoprofile2,.infoprofile4{
  line-height: 0.5;
  font-size: 10px;
  color: white;
}
.infoprofile3,.infoprofile5{
  line-height: 0.5;
  font-size: 10px;
  color: grey;
}
.profile1,.profile2,.profile3,.profile4,.profile5{
  display: flex;
  column-gap: 20px;
}
p{
  text-align: left;
  font-size: larger;
}
.detail1,.detail2,.detail3,.detail4,.detail5{
  font-size: smaller;
}
.detail1,.detail2,.detail4{
  color: white;
}
.detail3,.detail5{
  color: grey;
}
@media(max-width:750px){
  .wholecard{
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .part1,.part2{
    display: flex;
    flex-direction: column;
  }
  .card1,.card2,.card3,.card4,.card5{
    width: 35vh;
  }
  .card5{
    min-height: 30vh;
  }
}