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

:root {
  --flag-height: 2;
  --flag-width: 3;
  --cameroon-green: #007a5e;
  --cameroon-red: #ce1126;
  --cameroon-yellow: #fcd116;
  --cameroon-star-size: 30%;
}

#cameroon {
  position: relative;
  height: 180px;
  aspect-ratio: var(--flag-width) / var(--flag-height);
  background: linear-gradient(
    90deg,
    var(--cameroon-green) 0%,
    var(--cameroon-green) 33.333%,
    var(--cameroon-red) 33.333%,
    var(--cameroon-red) 66.666%,
    var(--cameroon-yellow) 66.666%,
    var(--cameroon-yellow) 100%
  );
}

#cameroon::before {
  content: "";
  position: absolute;
  width: var(--cameroon-star-size);
  height: var(--cameroon-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 30 30"><polygon fill="%23fcd116" points="15,0 19,11 30,11 21,17 24,28 15,22 6,28 9,17 0,11 11,11"/></svg>');
}
