:root {
  --theme-primary: #399e51;
  --theme-lighter-alt: #020603;
  --theme-lighter: #09190d;
  --theme-light: #112f18;
  --theme-tertiary: #225f30;
  --theme-secondary: #328b47;
  --theme-dark-alt: #47a85e;
  --theme-dark: #5db572;
  --theme-darker: #81c992;
  --neutral-lighter-alt: #262626;
  --neutral-lighter: #2f2f2f;
  --neutral-light: #3d3d3d;
  --neutral-quaternary-alt: #464646;
  --neutral-quaternary: #4d4d4d;
  --neutral-tertiaryalt: #6b6b6b;
  --neutral-tertiary: #c8c8c8;
  --neutral-secondary: #e0e0e0;
  --neutral-primary-alt: #dadada;
  --neutral-primary: #ffffff;
  --neutral-dark: #f4f4f4;
  --black: #f8f8f8;
  --white: #1c1c1c;
}


body, html {
  background-color: var(--white);
  color: var(--neutral-secondary);
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  scrollbar-color: #3d3f41 #252628;
}

/* Need to use universal selector to override fonts within native browser elements like buttons */
html, body, * {
  /* font-family: "Helvetica", "Arial", sans-serif; */
  /* Use same font set as extension */
  font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
}

header {
  color: white;
  margin-bottom: 2rem;
  text-align: center;
  background-color: var(--theme-light);
  border-bottom: 6px solid var(--theme-lighter);
  padding-bottom: 0.5rem;
  position: relative;
}

header a {
  text-decoration: none;
  display: inline-block;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 0;
  flex-wrap: wrap;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 0.85rem;
  background-color: rgba(33, 143, 53, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:hover, .nav-link.active {
  color: white;
  background-color: rgba(33, 143, 53, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-link:active {
  background-color: rgba(33, 143, 53, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
}

small {
  opacity: 0.7;
}

#root {
  margin-bottom: 2rem;
}

main {
  max-width: 700px;
  margin: auto;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 1rem;
}

.i18n-loading main {
  visibility: hidden;
}

header h1 {
  margin: 0;
  margin-top: 0.2rem;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.5rem;
}

.features-page h3 + ul {
  margin-top: 0.5rem;
}

.features-page h3 {
  margin-bottom: 0.5rem;
}

h1, h2, h3, h4, h5 {
  color: var(--black);
}

a:hover {
  color: var(--black);
}

a {
  color: inherit;
  transition: color .1s linear;
  background-color: transparent;
}

.standout {
  color: var(--black);
  text-decoration: none;
  padding: 3px;
  padding-top: 5px;
  border-radius: 3px;
  transition: background 200ms;
  background-color: var(--theme-primary);
}

a.standout:hover {
  background-color: var(--theme-light);
}

.title {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin: auto;
  /* row-gap: 2rem; */
  column-gap: 1.5rem;
  align-items: flex-end;
  justify-content: center;
  font-weight: normal;
  font-size: 2.2rem;
  padding: 0.5rem;
  text-align: center;
  max-width: 600px;
  line-height: 1.3;
}

.title img {
  /* display: flex; */
  /* margin-right: 2rem; */
  max-height: 100px;
  vertical-align: middle;
}

.title .title-for {
  font-weight: normal;
}

.slogan {
  text-align: center;
  font-style: italic;
}

.content {
  margin-top: 2rem;
}

img {
  max-width: 100%;
  border-style: none;
}

.content img {
  max-width: 340px;
}

.download-links>* {
  margin-right: 8px;
}

.download-links a {
  background-color: transparent;
  text-decoration: none;
}

.container {
  max-width: 600px;
}

.center-align {
  text-align: center;
}

footer, .subtle-text {
  color: var(--neutral-tertiaryalt);
  font-size: 0.7em;
}

footer {
  margin-top: 3em;
  text-align: center;
}

footer>div {
  margin-top: 0.5em;
}

.lang-chooser {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-chooser {
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.lang-icon {
  flex-shrink: 0;
  opacity: 0.7;
}

.lang-chooser:hover {
  opacity: 1;
}

.lang-select {
  background-color: rgba(33, 143, 53, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #fff;
  padding: 0.25rem 0.25rem;
  font-size: 0.7rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  text-align: center;
}

.lang-select:hover {
  background-color: rgba(33, 143, 53, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-select:focus {
  background-color: rgba(33, 143, 53, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

.lang-select option {
  background-color: var(--theme-light);
  color: white;
  text-align: left;
}

.lang-select option:disabled {
  /* display:none used to hide the option from the dropdown list but keep it selected for initial display */
  display: none;
}

ins.adsbygoogle[data-ad-status="filled"] {
  background: #d3d3d3;
  border-radius: 10px;
}

ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}
