@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Young+Serif&display=swap");
body {
  /* max-width: 1440px; */
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  /* justify-content: center; */
  font-family: "poppins";
  /* background-color:hsl(0, 0%, 100%) ; */
}
.firstpart {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.firstpart p {
  margin-top: 0px;
}
.card {
  /* border: 1px solid black; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px;
  /* border: none; */
  /* width: 100%; */
  /* background-color: hsl(212, 6%, 44%); */
  /* opacity: 0.1; */
}
.card-box {
  display: grid;
  grid-template-columns: repeat(3, 230px);
  grid-template-rows: repeat(2, 180px);
  gap: 20px;
  padding: 10px;
  border: none;
}
.frst {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-top: 150px;
  /* margin-bottom: 200px;  */
}
.card-box1 {
  font-weight: 300;
  border-top: 5px solid;
  border-top-color: hsl(180, 62%, 55%);
  border-radius: 5px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 10px;
  box-shadow: 0px 5px 5px 5px hsl(0, 0%, 90%);
  background-color: white;
  /* height: 180px; */
}
.card-box1 p {
  font-size: 10px;
  margin-top: -14px;
  color: hsl(212, 6%, 44%);
}
.mid {
  gap: 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-box2 {
      border-top: 5px solid;
  border-top-color: hsl(0, 78%, 62%);
  border-radius: 5px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  /* grid-column: 2; */
  padding: 10px;
  background-color: hsl(0, 0%, 100%);
  box-shadow: 0px 5px 5px 5px hsl(0, 0%, 90%);
  /* border-top: 5px solid;
  /* grid-column: 2; 
  border-top-color: hsl(0, 78%, 62%);
  border-radius: 5px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 10px;
  background-color: hsl(0, 0%, 100%);
  box-shadow: 0px 5px 5px 5px hsl(0, 0%, 90%); */
}
.card-box2 p {
  font-size: 10px;
  margin-top: -6px;
  color: hsl(212, 6%, 44%);
}

.card-box3 {
  border-top: 5px solid;
  border-top-color: hsl(34, 97%, 64%);
  border-radius: 5px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  grid-column: 2;
  padding: 10px;
  background-color: hsl(0, 0%, 100%);
  box-shadow: 0px 5px 5px 5px hsl(0, 0%, 90%);
}
.card-box3 p {
  margin-top: -6px;
  font-size: 10px;
  color: hsl(212, 6%, 44%);
}
.last {
  padding-top: 98px;
}
.card-box4 {
  padding: 10px;
  border-top: 5px solid;
  border-top-color: hsl(212, 86%, 64%);
  border-radius: 5px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  /* grid-column: 3; */
  /* margin-top: -90px;
    margin-bottom: 90px; */
  background-color: hsl(0, 0%, 100%);
  box-shadow: 0px 5px 5px 5px hsl(0, 0%, 90%);
}
.card-box4 p {
  font-size: 10px;
  color: hsl(212, 6%, 44%);
  margin-top: -6px;
}
.img {
  /* margin-top: 0px; */
  padding-left: 166px;
  padding-bottom: 5px;
  width: 40px;
  display: flex;
  flex-direction: column;
}
h4 {
  margin-top: 0px;
  font-weight: 500;
  font-size: 14px;
}

@media (max-width: 600px) {
  body {
    /* max-width: 1440px; */
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* justify-content: center; */
    font-family: "poppins";
    /* background-color:hsl(0, 0%, 100%) ; */
  }
  .firstpart {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .firstpart p {
    margin-top: 0px;
    text-align: center;
    display: flex;
  }
  .card {
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
    padding: 0px 0px;
    
  }
  .card-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* padding: 10px; */
    border: none;
  }
  .frst {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 0px;
    /* margin-bottom: 200px;  */
  }
  .card-box1 {
    font-weight: 300;
    border-top: 5px solid;
    border-top-color: hsl(180, 62%, 55%);
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    /* padding: 10px; */
    box-shadow: 0px 5px 5px 5px hsl(0, 0%, 90%);
    background-color: white;
    /* height: 180px; */
  }
  .card-box1 p {
    font-size: 10px;
    max-width: 200px;
    margin-top: -14px;
    color: hsl(212, 6%, 44%);
  }
  .mid {
    gap: 20px;
    border-radius: 5px;

  }

  .card-box2 {
    border-top: 5px solid;
    border-top-color: hsl(0, 78%, 62%);
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    grid-column: 2;
    padding: 10px;
    background-color: hsl(0, 0%, 100%);
    box-shadow: 0px 5px 5px 5px hsl(0, 0%, 90%);
  }
  .card-box2 p {
    font-size: 10px;
    max-width: 190px;
    margin-top: -6px;
    margin-right: 10px;
    color: hsl(212, 6%, 44%);
  }

  .card-box3 {
    border-top: 5px solid;
    border-top-color: hsl(34, 97%, 64%);
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    grid-column: 2;
    padding: 10px;
    background-color: hsl(0, 0%, 100%);
    box-shadow: 0px 5px 5px 5px hsl(0, 0%, 90%);
  }
  .card-box3 p {
    margin-top: -6px;
        max-width: 200px;
    font-size: 10px;
    color: hsl(212, 6%, 44%);
  }
  .last {
    padding-top: 0px;
    /* margin: auto; */
  }
  .card-box4 {
   border-top: 5px solid;
    border-top-color: hsl(180, 62%, 55%);
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    grid-column: 2;
    padding: 10px;
    background-color: hsl(0, 0%, 100%);
    box-shadow: 0px 5px 5px 5px hsl(0, 0%, 90%);
  }
  .card-box4 p {
    font-size: 10px;
    color: hsl(212, 6%, 44%);
    margin-top: -6px;
        max-width: 190px;

    /* margin: 0px -50px; */
  }
  .img {
    /* margin-top: 0px; */
    padding-left: 166px;
    padding-bottom: 5px;
    width: 40px;
    display: flex;
    flex-direction: column;
  }
  h4 {
    margin-top: 0px;
    font-weight: 500;
    font-size: 14px;
  }
}
