
/* ==========================================================================
   Color swatch samples (style guide)
   ========================================================================== */

/* Flex-grid container unchanged */
ul.color-list{
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Make each “card” a column flexbox that pushes its span to the bottom */
ul.color-list li{
  flex: 0 1 120px;
  height: 120px;
  margin: 8px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  box-shadow: 0px 13px 30px -18px rgba(0, 0, 0, 0.2);

  display: flex;
  flex-direction: column;
  justify-content: flex-end;   /* push inner content to the bottom */
  align-items: stretch;        /* make children (the span) fill full width */
  position: relative;
}

/* Full-width, bottom-aligned label */
ul.color-list li span {
  display: block;
  width: 100%;                 /* span now covers entire li width */
  background: #fff;             /* hides any colored edges */
  margin-top:0;				/* Pushes the Assignment text down the hex text top */
  margin-bottom:0;	
  padding: 4px 0;               /* adjust vertical padding as you like */
  font-family: monospace;
  font-size:clamp(1.6rem, 0.59vw + 1.122rem, 1.8rem);
  text-align: center;           /* center your hex code text */
  border-radius: 0;             /* remove rounding so it’s flush */
  z-index: 1;
}

/* ==========================================================================
   Color assignment swatch samples (style guide)
   ========================================================================== */

/* Make each “card” a column flexbox that pushes its span to the bottom */
ul.color-list.assignment li {
  flex: 0 1 240px;
}
ul.color-list.assignment li span.color-label{
  display: block;
  width: 100%;                 /* span now covers entire li width */
  background: #fff;             /* hides any colored edges */
  margin-top:auto;				/* Pushes the Assignment text down the hex text top */
  margin-bottom:0;				/* Removes the Assignment tex tbottom margin */
  padding: 4px 0;               /* adjust vertical padding as you like */
  font-family: normal;
  font-weight:400;
  font-size:clamp(1.6rem, 0.59vw + 1.122rem, 1.8rem);
  text-align: center;           /* center your hex assignment text */
  border-radius: 0;             /* remove rounding so it’s flush */
  z-index: 1;
}
/* ==========================================================================
   Dynamic Font Details (style guide)
   ========================================================================== */

span.current-font-zize-ofthis-element{ 
	font-size:clamp(1.6rem, 0.3vw + 1.46rem, 1.8rem); 
	font-family:monospace !important
}

span.current-viewport-width {
	font-size: 2em;
font-family:monospace !important
}

.label {
  font-weight: bold;
  color: #444;
  display: inline-block;
  min-width: 100px;
}