/* Reset some default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: linear-gradient(to right, #f0f8ff, #e6f0ff);
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  background-color: #007bff;
  color: white;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Main */
main {
  flex: 1;
  padding: 2rem;
}

/* Footer */
footer {
  background-color: #333;
  color: #ddd;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Container for homepage and documentation cards */
.section-choice-container-home-page,
.section-choice-container-documentation-page {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Individual card styles */
.section-container-home-page {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid #007bff10; /* subtle blue border */
}

/* Card hover effect */
.section-container-home-page:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
  cursor: pointer;
}

/* Link inside card */
.section-container-home-page a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #007bff;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 12px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

/* On hover, change link text color slightly */
.section-container-home-page:hover a {
  color: #0056b3;
}

/* Optional: smooth transition effect for link text on hover */
.section-container-home-page a:focus,
.section-container-home-page a:hover {
  outline: none;
  text-decoration: none;
  background-color: #e0f0ff;
}
