* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Barlow Semi Condensed";
  background-color: hsl(260, 100%, 95%);
  font-size: 13px;
}

.container {
  max-width: 1200px;
  width: 80%;
  max-height: 760px;
  min-height: 100vh;
  margin: 0 auto;
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  column-gap: 2rem;
  row-gap: 2rem;
}

.box {
  box-shadow: hsl(224, 10%, 45%) 0px 8px 24px;
}

.box1 {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  background-color: hsl(263, 55%, 52%);
  background-image: url(images/bg-pattern-quotation.svg);
  background-position: top right calc(20%);
  background-repeat: no-repeat;
  padding: 2rem;
  border-radius: 10px;
  color: hsl(0, 0%, 100%);
}

.box1 .header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.box1 .header img {
  width: 35px;
  border-radius: 50%;
  border: 2px solid hsl(264, 82%, 80%);
}

.box1 .header .info span {
  font-size: 0.7rem;
}

.box1 .description {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.box2 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  background-color: hsl(217, 19%, 35%);
  padding: 2rem;
  border-radius: 10px;
  color: hsl(0, 0%, 100%);
}

.box2 .header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.box2 .header img {
  width: 35px;
  border-radius: 50%;
  border: 2px solid hsl(0, 0%, 81%);
}

.box2 .header .info span {
  font-size: 0.7rem;
}

.box2 .description {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.box3 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  background-color: hsl(0, 0%, 100%);
  padding: 2rem;
  border-radius: 10px;
  color: hsl(217, 19%, 35%);
}

.box3 .header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.box3 .header img {
  width: 35px;
  border-radius: 50%;
  border: 2px solid hsl(0, 0%, 81%);
}

.box3 .header .info span {
  font-size: 0.7rem;
}

.box3 .description {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.box4 {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
  background-color: hsl(219, 29%, 14%);
  padding: 2rem;
  border-radius: 10px;
  color: hsl(0, 0%, 100%);
}

.box4 .header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.box4 .header img {
  width: 35px;
  border-radius: 50%;
  border: 2px solid hsl(0, 0%, 81%);
}

.box4 .header .info span {
  font-size: 0.7rem;
}

.box4 .description {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.box5 {
  grid-column: 4 / 5;
  grid-row: 1 / 3;
  background-color: hsl(0, 0%, 100%);
  padding: 2rem;
  border-radius: 10px;
  color: hsl(217, 19%, 35%);
  height: 100%;
}

.box5 .header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.box5 .header img {
  width: 35px;
  border-radius: 50%;
  border: 2px solid hsl(0, 0%, 81%);
}

.box5 .header .info span {
  font-size: 0.7rem;
}

.box5 .description {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.container footer p {
  font-size: 0.9rem;
  line-height: 1.5;
}

@media only screen and (max-width: 1300px) {
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    max-width: 768px;
    width: 100%;
    margin: 20rem auto;
  }
  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
  }
  .box5 {
    height: 100%;
  }
}

@media only screen and (max-width: 650px) {
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    max-width: 768px;
    width: 100%;
    margin: 25rem auto;
  }
}

@media only screen and (max-width: 600px) {
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    max-width: 768px;
    width: 100%;
    margin: 34rem auto;
  }
}

@media only screen and (max-width: 400px) {
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    max-width: 768px;
    width: 100%;
    margin: 40rem auto;
  }
}
