@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght@400&icon_names=arrow_back,help,info,sms,verified');

:root {
  --md-sys-color-primary: #fff9ee;
  --md-sys-color-surface-tint: #fff9ee;
  --md-sys-color-on-primary: #18130B;
  --md-sys-color-important-container: #603c25;
  --md-sys-color-on-important-container: #ffdcca;
  --md-sys-color-primary-container: #4e3527;
  --md-sys-color-on-primary-container: #deb7a3;
  --md-sys-color-secondary-container: #30231c;
  --md-sys-color-on-secondary-container: #f8e1d6;
  --md-sys-color-background: #130d09;
  --md-sys-color-on-background: #F9DFBB;
  --md-sys-color-on-surface: #F9DFBB;
  --md-sys-color-inverse-surface: #F9DFBB;
  font-family: "Google Sans", Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: light dark;
  color: var(--md-sys-color-on-background);
  background-color: var(--md-sys-color-background);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#rinimuweb {
  max-width: 1280px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

button {
  cursor: pointer;
  border: 0px;
  padding: 12px 24px;
  margin-right: 3px;
  transition: 0.25s ease-in-out;
  font-weight: 450;
  font-size: medium;
  font-family: "Google Sans";
}

.banner {
  width: 88px;
  height: 31px;
  margin-right: 4px;
  image-rendering: pixelated;
}

.signature {
  height: 7em;
  will-change: filter;
  transition: filter .3s;
  border-radius: 15px;
}

.signature:hover {
  filter: drop-shadow(0 0 8em var(--md-sys-color-primary));
}

.rounded-button {
  cursor: pointer;
  background: var(--md-sys-color-primary);
  padding: 10px 20px;
  border-radius: 50px;
  color: var(--md-sys-color-background);
}

.scope-card {
  width: max-content;
  padding: 20px 20px;
  border-radius: 15px;
  display: inline-table;
  margin-right: 5px;
  margin-top: 5px;
}

.scope-button {
  width: max-content;
  padding: 10px 20px;
  border-radius: 15px;
  display: inline-table;
  margin-right: 5px;
  margin-top: 5px;
}

.scope-card.important {
  background-color: var(--md-sys-color-important-container);
  color: var(--md-sys-color-on-important-container);
}

.scope-card.primary {
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}

.scope-card.secondary {
  background-color: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}

.scope-button.important {
  background-color: var(--md-sys-color-important-container);
  color: var(--md-sys-color-on-important-container);
}

.scope-button.primary {
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}

.scope-button.secondary {
  background-color: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}

.factsbox {
  box-sizing: border-box;
  flex: 1 1 280px;
  min-width: 280px;
  white-space: normal;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .factsbox {
    flex: 1 1 100%;
  }
}

a {
  color: var(--md-sys-color-primary);
  text-decoration: inherit;
  transition: .1s;
}

a:hover {
  text-decoration-line: underline;
}

h1 {
  /* ало этот параметр не используется даже */
  font-size: 3.2em;
  line-height: 1.1;
}

h2 {
  font-weight: 500;
  font-size: 30px;
}

h4 {
  font-weight: 500;
  font-size: 20px;
}

h5 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 17px;
}

/* переназначаю значения в h(1..5) потому что мне делать нечего */

.code {
  font-family: "Google Sans Code", monospace;
}
