:root {
  --grey-500: #464f62;
  --grey-400: #6a7178;
  --white: #fff;
  --red: #ea5454;
  --cyan: #44d3d2;
  --blue: #549ef2;
  --orange: #fcae4a;
  --font-family: "Poppins", sans-serif;
  --font-bold: 600;
  --font-light: 200;
  --text-regular: 0.938rem;
  --spacing-500: 2.5rem; /* 40px */
  --spacing-400: 2rem; /* 32px */
  --spacing-300: 1.5rem; /* 24px */
  --spacing-200: 1rem; /* 16px */
  --spacing-100: 0.5rem; /* 8px */
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-regular);
  background: #fafafa;
  color: var(--grey-500);
  line-height: 1.4;
}

main {
  padding: var(--spacing-500) var(--spacing-400);
}

.page__title-container {
  margin: 0 auto;

  max-width: 19.75rem;
  margin-bottom: 3.75rem;
  text-align: center;
}

.page__title {
  font-size: 1.5rem;
  letter-spacing: 0.25px;
  line-height: 1.4;
  font-weight: var(--font-light);
  margin-bottom: var(--spacing-200);
}

.page__title > strong {
  font-weight: var(--font-bold);
}

.page__description {
  letter-spacing: 0.1px;
}

.feature-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-400);
}

.feature {
  background: var(--white);
  padding: var(--spacing-400);
  border-radius: 0.5rem;
  border-top: 3px solid;
  width: 19.65rem;
  height: 15.625rem;
  box-shadow: 0 15px 30px -11px rgba(131, 166, 210, 0.5);
}

.feature--cyan {
  border-color: var(--cyan);
}

.feature--red {
  border-color: var(--red);
}

.feature--orange {
  border-color: var(--orange);
}

.feature--blue {
  border-color: var(--blue);
}

.feature__text-container {
  flex-direction: column;
  margin-bottom: var(--spacing-400);
}

.feature__title {
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  line-height: 1.35;
  margin-bottom: var(--spacing-100);
}

.feature__icon-container {
  text-align: right;
}

.feature__icon {
  height: 4rem;
  width: 4rem;
}

@media only screen and (min-width: 48em) {
  main {
    padding: 6.375rem var(--spacing-400);
  }

  .page__title-container {
    max-width: 33.75rem;
    margin-bottom: 4.625rem;
  }

  .page__title {
    font-size: 2.25rem;
  }

  .feature {
    width: clamp(19.625rem, 5.357vw + 17.054rem, 21.875rem);
  }

  .feature-container--alignment-modifier {
    flex-direction: row;
  }
}

@media only screen and (min-width: 65em) {
  .feature-container {
    flex-direction: row;
    justify-content: center;
  }

  .feature-container--alignment-modifier {
    flex-direction: column;
  }
}
