/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 
## Layout

The designs were created to the following widths:

- Mobile: 375px
- Desktop: 1440px

## Colors

- White: hsl(0, 0%, 100%)
- Light gray: hsl(212, 45%, 89%)
- Grayish blue: hsl(220, 15%, 55%)
- Dark blue: hsl(218, 44%, 22%)

## Typography

### Body Copy

- Font size (paragraph): 15px

### Font

- Family: [Outfit](https://fonts.google.com/specimen/Outfit)
- Weights: 400, 700 */

:root {
  /* Colors */

  --white: hsl(0, 0%, 100%);
  --light-gray: hsl(212, 45%, 89%);
  --grayish-blue: hsl(220, 15%, 55%);
  --dark-blue: hsl(218, 44%, 22%);

  /* Font  Weights*/

  --font-weight-400: 400;
  --font-weight-700: 700;

  /* Padding */
  --padding-sml: 5px;
  --padding-md: 12px;
  --padding-lg: 20px;
  --padding-xl: 30px;

  /* Border Radius */
  --border-radius-sml: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;

  /* Gap */

  --gap-sml: 5px;
  --gap-md: 10px;
  --gap-lg: 15px;
  --gap-xl: 20px;

  /* Box Shadow */

  --box-shadow: 0 0px 30px rgba(38, 38, 38, 0.15);
}

body {
  font-size: 15px;
  font-family: "Outfit", sans-serif;
  text-align: center;
  line-height: 1.25;
  background-color: var(--light-gray);
}

section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  /* Adding Changes */

  gap: var(--gap-xl);

  margin: auto;
  max-width: 80vw;

  height: 100vh;
  width: 600px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);

  background-color: var(--white);
  padding: var(--padding-md);
  padding-bottom: var(--padding-xl);

  border-radius: var(--border-radius-md);

  width: 200px;

  overflow-x: hidden;
  box-shadow: var(--box-shadow);
}

div img {
  height: min-content;
  width: auto;
  border-radius: var(--border-radius-sml);
  object-fit: cover;

  overflow-x: hidden;
}

h1 {
  font-size: 15px;
  font-weight: var(--font-weight-700);
  color: var(--dark-blue);
  padding: var(--padding-sml);
  padding-top: 0;
  padding-bottom: 0;

  overflow-x: hidden;
}

p {
  color: var(--grayish-blue);
  font-size: 11px;
  padding: var(--padding-sml);
  padding-top: 0;
  padding-bottom: 0;

  overflow-x: hidden;
}
