@import url(imports/variables.css);
@import url(imports/general.css);
@import url(imports/scrolly.css);
@import url(imports/navigation.css);
@import url(imports/about.css);
@import url(imports/sidebar.css);
@import url(imports/filters.css);
@import url(imports/trends.css);
@import url(imports/globe.css);
@import url(imports/balloons.css);

.byline {
  margin-bottom: 24px;
}

.byline img {
  display: inline-flex;
  height: 1.2em;
  transform: translateY(25%);
}

#stars {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  height: 100vh;
  height: 100lvh;
  /* opacity: 0.25;  */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 1;
}

#stars.hidden {
  display: none;
}

#stars img {
  transform-origin: center center;
  transform: scale(2);
  height: 100vh;
  height: 100lvh;
}

#stars circle {
  fill-opacity: 0.25 !important;
  transition: fill 0.2s, fill-opacity 0.2s;
}

html[data-category="astronomy"][data-step="explore"]
  #stars
  [data-category="astronomy"],
html[data-category="physics-earth"][data-step="explore"]
  #stars
  [data-category="physics-earth"],
html[data-category="biological"][data-step="explore"]
  #stars
  [data-category="biological"],
html[data-category="math-computing"][data-step="explore"]
  #stars
  [data-category="math-computing"],
html[data-category="chemistry"][data-step="explore"]
  #stars
  [data-category="chemistry"] {
  fill-opacity: 1 !important;
}

html[data-country] #stars circle {
  fill: var(--primary) !important;
}

html[data-country="EU"] #stars circle {
  fill: var(--secondary) !important;
}
