/* ============================================================
   CSS 07.02 — background-size: cover vs contain
   ============================================================
   cover   → no empty space, some of the picture is cut     (banners, hero images)
   contain → whole picture visible, empty space may remain  (logos)

   All 3 boxes are 200 × 180 — almost square, but the picture is wide (2:1).
   So the picture cannot fit perfectly: cover cuts the sides, contain leaves gaps.
   ============================================================ */

.size-box {
  width: 200px;
  height: 180px;
  background-color: #FFF6E0;        /* shows through where the picture does not cover */
  background-image: url("../assets/campus.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.size-cover   { background-size: cover; }      /* fill the box, cut what does not fit  */
.size-contain { background-size: contain; }    /* fit the whole picture, leave gaps    */
.size-stretch { background-size: 100% 100%; }  /* force width AND height → squashed    */
/* Try it: change .size-cover to  background-size: 50%;  → the picture
   becomes half the box width. */


/* ------------------------------------------------------------
   Only to make the boxes visible — not part of this lesson
   ------------------------------------------------------------ */
.size-box {
  border: 2px solid #C9C9C9;
}
