/* fonts */
@font-face {
  font-family: 'Figtree';
  src: url('./assets/fonts/Figtree-VariableFont_wght.ttf');
}
@font-face {
  font-family: 'Figtree-SemiBold';
  src: url('./assets/fonts/static/Figtree-SemiBold.ttf');
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: 'Figtree-ExtraBold';
  src: url('./assets/fonts/static/Figtree-ExtraBold.ttf');
  font-style: normal;
  font-weight: 800;
}

/* global rules */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Figtree';
}

/* vars */

:root {
  --primary-color: hsl(47, 88%, 63%);
}

/* css */

main {
  background-color: var(--primary-color);
  min-height: 100lvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

article {
  background-color: #fff;
  border: 2px solid #00000070;
  border-radius: 20px;
  padding: 25px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 10px 7px #000;
}

article header img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}

article header img + p {
  background-color: var(--primary-color);
  padding: 6px 15px;
  width: fit-content;
  font-size: 14px;
  font-weight: 800;
  border-radius: 5px;
}

article header p:last-child {
  font-size: 14px;
  font-weight: 600;
}

article .content h1 {
  font-weight: 800;
  margin-top: 0;
}

article .content p {
  color: #5f5f5f
}

article footer {
  display: flex;
  align-items: center;
  gap: 15px;
}

article footer img {
  width: 40px;
}

article footer span {
  font-weight: 800;
}