@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  background-color: hsl(233, 47%, 7%);
  display: flex;
  align-items: center;
}
.container {
  max-width: 1020px;
  margin: 0 auto;
}
.wrapper {
  background-color: hsl(244, 38%, 16%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 12px;
  overflow: hidden;
  margin: 2rem;
}
.img-component img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-component {
  position: relative;
}
.img-component::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: hsl(277, 64%, 61%, 0.6);
}
.text-component {
  padding: 13%;
}
.title {
  color: hsl(0, 0%, 100%);
  font-weight: 700;
  margin-bottom: 25px;
}
.title span {
  color: hsl(277, 64%, 61%);
}
.subtitle {
  color: hsl(0, 0%, 100%);
  margin-bottom: 35px;
  font-size: 15px;
  line-height: 1.8;
}

.status-box {
  display: flex;
  justify-content: space-between;
  color: hsl(0, 0%, 100%);
  text-transform: uppercase;
}
.status-box p.num {
  font-weight: 700;
  font-size: 25px;
  margin-bottom: 7px;
}
.status-box .p {
  font-weight: 100;
}

/* Media Quries */

@media only screen and (max-width: 768px) and (min-width: 426px) {
  body {
    font-size: 12px;
  }
  .text-component {
    padding: 12%;
  }
  .title {
    font-size: 20px;
  }
  .status-box{
    padding-top: 30px;
  }
  .status-box p.num{
    font-size: 17px;
  }
/*   .status-box .p{
    font-size: 10px;
  } */
}

@media only screen and (max-width: 425px) {
  body {
    text-align: center;
  }
  .wrapper {
    grid-template-columns: 1fr;
  }
  .title {
    font-size: 23px;
    line-height: 1.4;
  }
  .img-component {
    order: -1;
  }
  .text-component {
    padding: 12% 8%;
  }
  .status-box {
    flex-direction: column;
    padding-top: 30px;
  }
  .status-box div {
    margin-top: 20px;
  }
}
