/* reference: https://en.wikipedia.org/wiki/Flag_of_Morocco */

:root {
  --flag-height: 2;
  --flag-width: 3;
  --morocco-red: #c1272d;
  --morocco-green: #006233;
  --morocco-star-size: 60%;
}

#morocco {
  position: relative;
  height: 180px;
  aspect-ratio: var(--flag-width) / var(--flag-height);
  background: var(--morocco-red);
}

#morocco::before {
  content: "";
  position: absolute;
  width: var(--morocco-star-size);
  height: var(--morocco-star-size);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90000 60000"><path fill="none" stroke="%23006233" stroke-width="1426" d="m45000 17308 7460 22960-19531-14190h24142L37540 40268z"/></svg>');
}
