/*Defaults all elements to border-box, and remove default margin and padding.*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/*Sets the font, background color, text color, minimum height, and flex layout for the entire page.*/
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0f1115;
  color: #e6e6eb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/*Adds padding and centers the text in the header section.*/
header {
  padding: 3rem 1rem;
  text-align: center;
}

/*Makes the main section flexible, centers its content, and adds padding.*/
main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 1rem;
}

/*Styles the card with a background color, padding, border radius, maximum width, and box shadow.*/
.card {
  background: #1a1d24;
  padding: 2rem;
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/*Centers the text in the footer, adds padding, sets a smaller font size, and reduces opacity for a subtle effect.*/
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  opacity: 0.6;
}
