/* Main CSS Stylesheet
 * This stylesheet demonstrates various CSS comment styles
 */

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

/* Body styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

/* Container styles */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header section */
header {
  background-color: #2c3e50;
  color: #fff;
  padding: 1rem 0;
  text-align: center;
}

/* Navigation styles */
nav {
  /* Display flex for layout */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

/* Button styles */
.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

/* Button hover effect */
.button:hover {
  background-color: #2980b9;
}

/* Main content area */
.main-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Card component */
.card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Footer styles */
footer {
  background-color: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  /* Adjust container width */
  .container {
    width: 100%;
    padding: 10px;
  }

  /* Stack navigation items */
  nav {
    flex-direction: column;
  }

  /* Single column layout */
  .main-content {
    grid-template-columns: 1fr;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* End of stylesheet */
