
/* ==========================================
   1. BASE STYLES (Mobile First)
   ========================================== */
body {
  margin: 0;
  padding: 15px;
  font-size: 32px;
  line-height: 1.5;
  font-family: sans-serif;
  background-color: #f4f4f4;
}

/* On mobile, items stack vertically by default */
.container {
  display: flex;
  flex-direction: column;
  
  width: 100%;
}

.main-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
}

.sidebar {
  background: #333;
  color: white;
  padding: 20px;
  border-radius: 8px;
}

/* Ensure images don't overflow the screen */
img {
  max-width: 100%;
  height: auto;
}



/* ==========================================
   2. LARGE SCREEN STYLES (768px and up)
   ==========================================*/
@media screen and (min-width: 768px) {
  body {
    padding: 2rem;
    font-size: 16px;
  }

  /*Change layout from vertical stack to horizontal rows */
  .container {
    flex-direction: row;
    max-width: 1200px; /* Prevents stretching too wide on massive screens */
    margin: 0 auto;    /* Centers the layout */
  }

  .main-content {
    flex: 3; /* Takes up 75% of the width */
  }

  .sidebar {
    flex: 1; /* Takes up 25% of the width */
  }
}

