:root {
  --gold-dark: #9c6b14;
  --black: #4f4d47;
  --gold: #b78730;
  --blue: #1e3461;
}

html,
body {
  font-size: 15px;
  font-family: 'Noto Sans';
  line-height: 1.7;
  margin: 0;
  padding: 0;
  color: var(--black);
  overflow-x: hidden;
  overflow-y: auto;
}
.container {
  visibility: hidden;
  width: 900px;
  margin: 0 auto;
  padding: 1rem;
}
.container.ready {
  visibility: visible;
}
.container h2:not(:first-child) {
  margin-top: 5rem;
}
header {
  font-size: 2rem;
  margin: 0;
}
header.bordered {
  border-bottom: 2px solid var(--gold);
}
header .container {
  padding-bottom: 0.5rem;
}

section.main {
  background: var(--black);
  padding: 1rem 0;
  text-align: center;
  color: white;
}
section.main h2 {
  line-height: 2rem;
  margin-top: 0;
}
section.main p {
  opacity: 0.8;
}
.logo-container {
  margin-bottom: 2rem;
  width: 3000px;
}
.logo-container.night {
  background: var(--black);
  padding: 1rem;
  padding-bottom: 0.4rem;
  border-radius: 3px;
}
.logo-container[dir='rtl'] {
  margin-left: -2150px;
}
a {
  color: var(--gold-dark) !important;
}
button {
  border: none;
  padding: 0.4rem 0.7rem;
  border-radius: 0.3rem;
  font-weight: 500;
  font-family: inherit;
  color: white;
  background-color: var(--black);
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
}
button.btn-primary {
  background-color: var(--gold);
}
button.btn-outline-primary {
  border: 1px solid var(--gold);
  background-color: transparent;
  color: var(--gold);
}
button.btn-secondary {
  background-color: var(--blue);
}

button i {
  display: inline-block !important;
  margin-right: 0.25em;
  --ggs: 0.8;
}

select {
  color: var(--black);
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  background-color: white;
  background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #dee2e6;
  border-radius: 3px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.filters {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}

select,
button {
  margin-right: 0.5em;
}

.alert {
  font-size: 0.9em;
  background: #b787301c;
  padding: 0.7rem 1.2rem;
  margin-top: 0.25rem;
  display: inline-block;
  border-radius: 3px;
}

.main-links a {
  text-decoration: none !important;
}
.main-links a small {
  margin-top: 3px;
  font-size: 0.8em;
  opacity: 0.8;
  margin-left: 0.25em;
}
.main-links p {
  margin-bottom: 0;
}

.section-light {
  background: #4f4d471c;
  margin-top: 3rem;
  padding-bottom: 2rem;
  margin-bottom: 1rem;
}
.section-light .alert {
  background: #f8f9fa;
}
.section-light pre {
  background-color: white;
}

.color-container {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.color-container .background {
  height: 2.5rem;
  color: white;
  display: flex;
  align-items: center;
  width: 7rem;
  justify-content: center;
  border-radius: 3px;
}
.color-container .description {
  padding-left: 1rem;
}
footer {
  background: #4f4d471c;
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}
footer a {
  color: inherit !important;
}
pre {
  overflow: auto;
  border-radius: 3px;
  font-size: 0.9rem;
  padding: 1rem;
  background-color: #f8f9fa;
}
