/* dm sans medium */
@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/DMSans-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 400, 600;
}
/* color */
/* typography */
/* spacer */
/* reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
  line-height: 1.2;
}

body,
h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  line-height: 1.6;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  color: #121212;
  background: #f6f5f6;
}

.text-preset-1 {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 2.625rem;
  line-height: 93.5%;
  letter-spacing: -3px;
}

.text-preset-2 {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 90%;
  letter-spacing: -2px;
}

.text-preset-3 {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 1.625rem;
  line-height: 87.5%;
  letter-spacing: -2px;
}

.text-preset-4 {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 111%;
  letter-spacing: 0px;
}

@media (min-width: 40rem) {
  .text-preset-1 {
    font-size: 3.875rem;
  }
  .text-preset-2 {
    font-size: 2.5rem;
  }
  .text-preset-3 {
    font-size: 2rem;
  }
}
/* Utility classes */
.flow-content > * + * {
  margin-top: var(--flow-space, 1rem);
}

.split {
  display: flex;
  flex-direction: column;
}

.rounded-img {
  border-radius: 1rem;
}

.rounded-img--sm {
  border-radius: 0.5rem;
}

.yellow {
  color: #ffcc6a;
}

.purple {
  color: #7551dc;
}

.img-70 img {
  width: 70%;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 75rem;
}

.grid__item {
  border-radius: 0.625rem;
  padding: 2rem;
}

.grid__item:nth-of-type(1),
.grid__item:nth-of-type(5) {
  background: #7551dc;
  color: #fff;
  text-align: center;
}

.grid__item:nth-of-type(2),
.grid__item:nth-of-type(6) {
  background: #fff;
}

.grid__item:nth-of-type(3),
.grid__item:nth-of-type(8) {
  background: #ffcc6a;
}

.grid__item:nth-of-type(4) {
  background: #dbd1fc;
}

.grid__item:nth-of-type(7) {
  background: #f9eee2;
}

.grid__item:nth-of-type(1) {
  text-align: center;
}
.grid__item:nth-of-type(1) .text-preset-1 {
  max-width: 11ch;
  margin-inline: auto;
}
.grid__item:nth-of-type(1) img {
  max-width: 12rem;
  margin-inline: auto;
}

.grid__item:nth-of-type(2) {
  padding: 1rem;
}

.grid__item:nth-of-type(3) {
  padding: 1rem;
  padding-bottom: 0;
  overflow: hidden;
}
.grid__item:nth-of-type(3) img {
  margin-bottom: -1rem;
}

.grid__item:nth-of-type(4) {
  text-align: center;
  --flow-space: 2rem;
  padding: 2rem 1rem;
}
.grid__item:nth-of-type(4) .text-preset-3 {
  font-weight: 500;
}
.grid__item:nth-of-type(4) img {
  max-width: 22rem;
  margin-inline: auto;
}

.grid__item:nth-of-type(5) {
  text-align: left;
}

.grid__item:nth-of-type(8) {
  padding: 1.5rem;
}

@media (min-width: 40rem) {
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 2rem;
  }
  .span-2 {
    grid-column: span 2;
  }
  .grid__item:nth-of-type(4) p {
    max-width: 28ch;
    margin-inline: auto;
  }
  .grid__item:nth-of-type(5) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
  }
  .grid__item:nth-of-type(5) p {
    max-width: 10ch;
  }
  .grid__item:nth-of-type(6) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: start;
  }
  .grid__item:nth-of-type(6) img {
    max-width: 11rem;
    justify-self: end;
  }
}
@media (min-width: 60rem) {
  body {
    display: grid;
    place-items: center;
  }
  .grid {
    grid-auto-columns: 1fr;
    grid-auto-rows: 3.75rem;
    grid-template-areas: "a b b c" "a b b c" "a b b c" "a b b c" "a d e c" "f d e c" "f d e c" "f g h h" "f g h h" "f g h h";
  }
  .span-2 {
    grid-column: unset;
  }
  .grid__item:nth-of-type(1) {
    grid-area: b;
  }
  .grid__item:nth-of-type(2) {
    grid-area: d;
    max-width: 16.75rem;
    overflow: hidden;
  }
  .grid__item:nth-of-type(2) img {
    width: 140%;
    max-width: unset;
  }
  .grid__item:nth-of-type(3) {
    grid-area: e;
  }
  .grid__item:nth-of-type(3) img {
    padding-top: 1rem;
  }
  .grid__item:nth-of-type(4) {
    grid-area: c;
    max-width: 15rem;
    overflow: hidden;
  }
  .grid__item:nth-of-type(4) .text-preset-3 {
    text-align: left;
  }
  .grid__item:nth-of-type(5) {
    grid-area: h;
  }
  .grid__item:nth-of-type(5) img {
    width: 90%;
  }
  .grid__item:nth-of-type(5) p {
    margin-top: 0;
  }
  .grid__item:nth-of-type(6) {
    grid-area: g;
    grid-template-columns: 1fr;
  }
  .grid__item:nth-of-type(6) img {
    justify-self: start;
    width: 100%;
  }
  .grid__item:nth-of-type(7) {
    grid-area: a;
    display: grid;
    align-content: center;
    gap: 1rem;
  }
  .grid__item:nth-of-type(8) {
    grid-area: f;
  }
  .grid__item:nth-of-type(8) img {
    width: 100%;
  }
}/*# sourceMappingURL=style.css.map */