/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

:root {
  --font-family-system: "Twemoji Country Flags", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: #fff;
  font-family: var(--font-family-system);
}

.page__main {
  flex-grow: 1;
  margin-top: 1rem;
}

.page__container {
  width: 100%;
  max-width: 42rem;
  margin-right: auto;
  margin-left: auto;
}

/* Hide the triangle that appears next to the summary text */
details#language-switcher > summary {
  list-style: none;
}
/* Webkit browsers (Chrome, Safari, newer Edge) */
details#language-switcher > summary::-webkit-details-marker {
  display: none;
}
/* Firefox */
details#language-switcher > summary::marker {
  display: none;
}
/* Legacy Edge/IE (though Edge now uses Webkit) */
details#language-switcher > summary::-o-details-marker {
  display: none;
}
/* For older Firefox versions */
details#language-switcher > summary::-moz-list-bullet {
  list-style-type: none;
}

details summary {
  cursor: pointer;
}
