/* ============================================================
   CSS 07.01 — background-image and background-repeat
   ============================================================
   This lesson — Backgrounds & Borders:
     background-color      a plain colour (lesson 04)
     background-image      a picture or a gradient
     background-repeat     tile it or not
     background-size       cover / contain / exact size
     background-position   which part of the picture to show
     linear-gradient()     a colour fade made by CSS
     border-radius         rounded corners
     box-shadow            a shadow under the box
     outline               a line drawn outside that takes no space

   File paths in url():
     This CSS file is in   CSS/07 - backgrounds-borders/
     The images are in     CSS/assets/
     ../  means "go up one folder", so the path is  ../assets/badge.svg
   You can put your own picture in assets/ and change the url().

   background-image: url("../assets/badge.svg");   ← the path to the image file
   background-repeat: no-repeat;
   ============================================================ */

.bg-box {
  width: 230px;
  height: 140px;
  background-color: #FFFFFF;
  background-image: url("../assets/badge.svg");   /* the picture */
}

.rep-repeat { background-repeat: repeat; }         /* tiles in every direction (default) */
.rep-x      { background-repeat: repeat-x; }       /* one row, left to right             */
.rep-none   { background-repeat: no-repeat;        /* only once                          */
              background-position: center; }       /* …in the middle (example 03)        */
/* Try it: change repeat-x to repeat-y → one column, top to bottom. */


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