@font-face {
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Outfit-Regular.woff2') format('woff2');
  font-display: swap;
  font-family: 'Outfit';
}

@font-face {
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Outfit-Bold.woff2') format('woff2');
  font-display: swap;
  font-family: 'Outfit';
}

:root {
  --color-paragraph: #68778D;
  --color-header: #1F314F;
  --color-blue-600: #2C7DFA;
  --color-blue-500: #3685FF;
  --color-card-bg: #FFFFFF;
  --font-size-base: 15px;
  --font-size-lg: 22px;
  --spacing-500: 40px;
  --spacing-300: 24px;
  --spacing-200: 16px;
  --card-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  --color-background: #D5E1EF;
}

body {
  display: flex;
  height: 100vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-style: normal;
  font-size: var(--font-size-base);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: var(--color-paragraph);
  background-color: var(--color-background);
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  white-space: nowrap;
}

.card {
  display: flex;
  width: 320px;
  flex-direction: column;
  text-align: center;
  margin: 0 auto;
  padding: 16px 16px 40px; /* top, sides, bottom — как в макете */
  background-color: var(--color-card-bg);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

.card-image {
  width: 288px;
  height: 288px;
  margin: 0 auto;
  margin-bottom: 24px;
  padding-top: 16px;
}

.image {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  border-radius: 10px;
}

.card-text {
  display: flex;
  flex-direction: column;
  align-items: center; 
  width: 256px;
  margin: 0 auto;
  overflow: hidden;
}
    
h3 {
  
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-style: normal;
  font-size: var(--font-size-lg);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0px;
  margin-bottom: 16px;
  color: var(--color-header);
}

.attribution {  
  display: block; 
  width: 256px; 
  margin: 0 auto;
  text-align: center;
}

/* @media (min-width: 768px) — There are not changes yet */
