@font-face {
  font-family: 'Libre Barcode 128';
  src: url('./fonts/LibreBarcode128-Regular.woff2') format('woff2'),
      url('./fonts/LibreBarcode128-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fragment Mono';
  src: url('FragmentMono-Regular.woff2') format('woff2'),
      url('FragmentMono-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

 *:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
	all: unset;
	display: revert;
  }
  
  *,
  *::before,
  *::after {
	box-sizing: border-box;
  }
  
  a, button {
	cursor: revert;
  }
  
  ol, ul, menu {
	list-style: none;
  }
  
  img {
	max-width: 100%;
  }
  
  table {
	border-collapse: collapse;
  }
  
  input, textarea {
	-webkit-user-select: auto;
  }

  textarea {
	white-space: revert;
  }
 
  meter {
	-webkit-appearance: revert;
	appearance: revert;
  }

  ::placeholder {
	color: unset;
  }

  :where([hidden]) {
	display: none;
  }
  
  :where([contenteditable]:not([contenteditable="false"])) {
	-moz-user-modify: read-write;
	-webkit-user-modify: read-write;
	overflow-wrap: break-word;
	-webkit-line-break: after-white-space;
	-webkit-user-select: auto;
  }
  
  :where([draggable="true"]) {
	-webkit-user-drag: element;
  }

  body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    position: relative; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  #container {
    width: 100%;
    height: 100%;
    position: relative; 
  }
  
   #info {
    position: absolute;
    color: white;
    padding: 20px;
    top: 20px;
    left: 20px;
    font-family: 'Fragment Mono', monospace;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.5;
    text-align: left;
    max-width: 100vw;
    background: linear-gradient(to bottom, #000000, #777777 30%, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
  }
  
  #info::first-line {
    -webkit-text-fill-color: white; 
  }

   .coded {
    font-family:'Libre Barcode 128';
   }

   
  #description {
    position: absolute;
    color: white;
    padding: 10px;
    bottom: 0;
    left: 0;
    right: 0; 
    text-align: center;
    padding: 20px;
    font-family: 'Fragment Mono', monospace;
    font-size: 12px;
    width: 100vw;
    word-wrap: break-word;
    background: linear-gradient(to top, #000000, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
  }

  @media (max-width: 600px) {
    #info {
      top: 0;
      left: 0;
      right: 0;  
      text-align: center;
    }
  
    #description {
      bottom: 0;
      left: 0;
      right: 0; 
      text-align: center;
      width: 100vw;
    }
  }
  