/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
    --color-primary-red: hsl(0, 78%, 62%);
    --color-primary-cyan: hsl(180, 62%, 55%);
    --color-primary-orange: hsl(34, 97%, 64%);
    --color-primary-blue: hsl(212, 86%, 64%);

    --color-neutral-gray-500: hsl(234, 12%, 34%);
    --color-neutral-gray-400: hsl(212, 6%, 44%);

    --color-white: hsl(0, 0%, 100%);

    --fw-light: 200;
    --fw-medium: 400;
    --fw-bold: 600;
}

.border-cyan {
    border-top: 0.25rem solid var(--color-primary-cyan);
}

.border-red {
    border-top: 0.25rem solid var(--color-primary-red);
}

.border-yellow {
    border-top: 0.25rem solid var(--color-primary-orange);
}

.border-blue {
    border-top: 0.25rem solid var(--color-primary-blue);
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 40px 25px;
    font-family: "Poppins", sans-serif;
    font-size: 0.9375rem;
}

.header__primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.header__primary h1 {
    text-align: center;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    font-weight: var(--fw-light);
}

.header__primary span {
    font-weight: var(--fw-bold);
}

.header__primary h2 {
    max-width: 31.25rem;
    text-align: center;
    font-size: 1em;
    font-weight: var(--fw-medium);
}

.column__wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.column:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card {
    max-width: 34.375rem;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 25px;
    box-shadow: 0 2px 8px -3px black;
}

.card__header {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.card__header h2 {
    font-weight: var(--fw-bold);
    font-size: 1.2rem;
}

.card__header h3 {
    font-weight: var(--fw-light);
    font-size: 1em;
}

.card__image--wrapper {
    display: flex;
    justify-content: flex-end;
}


@media screen and (width >= 70rem) {
    .header__primary h1 {
        font-size: 2rem;
    }

    .column__wrapper {
        flex-direction: row;
    }

    .column {
        display: flex;
        align-items: center;
    }
    .card {
        max-width: 21.875rem;
    }
}

