.section {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 15rem;
  padding-bottom: 5rem;
}

.intro-section {
  padding-top: calc(3rem + 15rem);
  padding-bottom: 5rem;
  /* margin-bottom: 10rem; */
}

.intro-text {
  margin-top: 5rem;
}

h1 {
  font-family: 'wikiFontFancy';
  font-weight: bold !important;
  font-size: 5vw;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
  text-transform: capitalize;
  letter-spacing: 10px;
}

h2 {
  font-family: 'wikiFont';
  font-weight: 900;
  font-size: 2.5vw;
  text-align: center;
  margin-top: 0;
  margin-bottom: 4rem;
  width: 80%;
  margin-right: auto;
  margin-left: auto;
}

h3 {
  font-family: 'wikiFont';
  font-weight: bold;
  font-size: 2vw;
  margin-top: 0;
  margin-top: 3rem;
  margin-bottom: 1rem;
  text-align: left;
}

h4 {
  font-family: 'wikiFont';
  font-weight: bold;
  font-size: 1.5vw;
  margin-top: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.text {
  font-family: 'wikiFont';
  margin-bottom: 2rem;
  font-size: 1.3vw;
}

a {
  font-family: 'wikiFont';
  margin-bottom: 2rem;
  font-size: 1.3vw;
  text-decoration: none;
    margin: 0!important;
}

.table-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 5rem; /* лютый костыль */
}

.fig-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.fig-container {
  position: relative;
  width: 100%;
}

.fig-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

/* .fig-row-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  flex: 1 1 0;
} */

.table-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.table-header {
  font-family: 'wikiFont';
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1.3vw;
}

.table-header > b {
  font-weight: 900;
}

.sasnaja-table {
  font-family: 'wikiFont';
  font-weight: normal;
  font-size: 1vw;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  box-sizing: border-box;
  border-width: 2px;
  border-style: solid;
  border-radius: 16px;
  overflow: hidden;
}

.sasnaja-table thead tr {
  text-align: center;
}

.sasnaja-table tbody tr {
  text-align: center;
}

.sasnaja-table th,
.sasnaja-table td {
  padding: 12px 15px;
  font-family: 'wikiFont';
  word-wrap: break-word;
}

/* DARK MODE */
.dark-mode .sasnaja-table {
  border-color: #8f9130;
}

.dark-mode .sasnaja-table thead th {
  font-weight: 600;
  background-color: #9b8e56;
}

.dark-mode .sasnaja-table tbody tr {
  border-bottom: 1px solid #8f9130;
}

.dark-mode .sasnaja-table tbody tr:hover {
  background-color: #232323;
}

/* LIGHT MODE */
.light-mode .sasnaja-table {
  border-color: #52591e;
}

.light-mode .sasnaja-table thead th {
  font-weight: 800;
  background-color: #c7c9b3;
}

.light-mode .sasnaja-table tbody tr {
  border-bottom: 1px solid #52591e;
}

.light-mode .sasnaja-table tbody tr:hover {
  background-color: #dddddd;
}

.navigation-buttons-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navigation-button {
  text-transform: uppercase !important;
  padding: 5rem !important;
  font-size: 3vw !important;
  border-radius: 5rem !important;
}
