@import url("https://fonts.googleapis.com/css?family=Exo+2:400,700&subset=cyrillic");
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@200;300;400;500;600;700;800&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  font-family: "Mukta", sans-serif;
  font-weight: 300;
  font-style: normal;
  line-height: 1.5;
}

.wrapper {
  margin: 0 auto;
  width: 100%;
  padding-left: 28%;
  padding-right: 5%;
  margin-bottom: 200px; /* space to scroll last section */
}

article {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.timeline__nav {
  position: fixed;
  z-index: 99;
  top: 0;
  transition: top 0.3s ease-out;
}

.timeline__nav ul {
  list-style: none;
  margin: 15px -20px;
}

.timeline__nav ul li {
  margin: 10px 0;
  padding-left: 0;
  list-style-type: none;
  color: #bfc1c3;
  border-bottom: 1.5px dotted #006e7f;
  cursor: pointer;
  transition: all 0.3s ease-out;
  font-size: 0.9em;
  font-weight: 200;
}

.timeline__nav ul li span {
  display: inline-block;
  width: 100%;
  padding: 3px 0px 0px 3px;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.timeline__nav ul li:active span {
  background-color: #e0f7fa;
  color: #007e91;
  border-radius: 4px;
}

.timeline__nav ul li.active {
  font-weight: bold;
  color: #008296;
  border-bottom: 1px dotted transparent;
  transform: scale(1.2);
  background-color: #e0f7fa;
}

.timeline__nav ul li:hover {
  color: #000;
}

h2 {
  text-align: left;
  margin-bottom: -15px;
}

.wrapper h2 {
  font-size: 1em;
}

p, p.conclusion {
  padding-right: 10px;
  margin-bottom: 3px;
  padding-left: 0;
  font-size: 1em;
  color: #333;
}
