/* This changes the whole page */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f6f8;
  color: #222;
}

/* This styles the top header */
.site-header {
  background-color: #fd0dd1;
  color: white;
  padding: 20px;
  text-align: center;
}

/* This keeps the page content from getting too wide */
.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

/* This styles the big welcome box */
.hero {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 30px;
}

/* This makes the big heading larger */
.hero h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

/* This styles the button */
button {
  background-color: #fd0dd1;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

/* This changes the button when the mouse is over it */
button:hover {
  background-color: #8a0672;
}

/* This puts the cards in a row */
.card-row {
  display: flex;
  gap: 20px;
}

/* This styles each card */
.card {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  flex: 1;
}

/* This styles the bottom footer */
.site-footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 15px;
}

.confetti {
  position: fixed;
  top: -10px;
  background-color: pink;
  border-radius: 50%;
  z-index: 9999;
  animation-name: fall;
  animation-timing-function: linear;
}

@keyframes fall {
  from {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }

  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* This makes the cards stack on small screens */
@media screen and (max-width: 700px) {
  .card-row {
    flex-direction: column;
  }
}