/* Comic Code font declarations */
@font-face {
  font-family: 'Comic Code';
  src: url('https://www.doughmination.win/fonts/ComicCode-Regular_2022-05-24-151938_hsmz.woff2') format('woff2'),
    url('https://www.doughmination.win/fonts/ComicCode-Regular_2022-05-24-151938_hsmz.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Comic Code';
  src: url('https://www.doughmination.win/fonts/ComicCode-Italic_2022-05-24-151939_rdtu.woff2') format('woff2'),
    url('https://www.doughmination.win/fonts/ComicCode-Italic_2022-05-24-151939_rdtu.woff') format('woff');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Comic Code';
  src: url('https://www.doughmination.win/fonts/ComicCode-Medium_2022-05-24-151941_ugqm.woff2') format('woff2'),
    url('https://www.doughmination.win/fonts/ComicCode-Medium_2022-05-24-151941_ugqm.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Comic Code';
  src: url('https://www.doughmination.win/fonts/ComicCode-Bold_2022-05-24-152309_zqkm.woff2') format('woff2'),
    url('https://www.doughmination.win/fonts/ComicCode-Bold_2022-05-24-152309_zqkm.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: 'Comic Code', sans-serif;
  background-color: #121212;
  /* dark background */
  color: #e0e0e0;
  /* light gray for general text */
  margin: 0;
  padding: 0;
}

header {
  background-color: #ff80b3;
  /* baby pink header stays */
  color: white;
  text-align: center;
  padding: 2rem 0;
  font-size: 2.5rem;
  font-weight: bold;
}

.homepage {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.cards-container {
  display: grid;
  gap: 1.5rem;
  max-width: 900px;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: #1e1e1e;
  /* dark card background */
  border-radius: 10px;
  padding: 1.5rem;
  text-decoration: none;
  color: #e0e0e0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
}

.card h2 {
  color: #ffb6c1;
  /* baby pink */
  margin-top: 0;
}

.card p {
  color: #a2d2ff;
  /* baby blue */
  margin-top: 0.5rem;
}