body {
  margin: 40px auto;
  max-width: 750px;
  line-height: 1.6;
  font-size: 18px;
  background-color: #eff1f5;
  color: #4c4f69;
  padding: 0 10px;
}

header {
  text-align: center;
}

a {
  color: #ea76cb;
}

.navigation {
  display: flex;
  flex-direction: row;
  align-content: center;

  margin: auto;
  margin-top: 1.1em;
  padding: 0.5em 0;

  justify-content: center;
  gap: 1.5em;

  border-top: 0.06em solid #6c6f85;
  border-bottom: 0.06em solid #6c6f85;
}

.nav_link {
  font-size: 22px;
  margin: auto;
}

.about li {
  display: inline;
  padding: 7px;
}

.public_key {
  font-size: 12px;
}

.experience h1 {
  font-size: 1.75em;
}

.experience h2 {
  font-size: 1.25em;
}

.experience_block {
  margin: 0.85em 0 1.05em;
  padding: 0.65em 0.8em 0.75em;
  border: 1px solid #a8adbf;
  border-radius: 0.55em;
  background-color: #e6e9ef;
}

.short_term {
  margin: 0.85em 0 1.05em;
  padding: 0.65em 0.8em 0.75em;
  border: 1px solid #a8adbf;
  border-radius: 0.55em;
  background-color: #e6e9ef;
}

.experience_dates {
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: -0.25em;
  margin-bottom: 0.25em;
}

.experience_short_description {
  margin-top: 0;
  margin-bottom: 0.75em;
}

.experience_tags {
  list-style: none;
  margin: 0.05em 0 0.35em;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45em;
}

.experience_tags li {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  gap: 0.18em;
  padding: 0.14em 0.34em 0.14em 0.42em;
  background-color: #ccd0da;
  border: 1px solid #6c6f85;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.2;
}

.experience_tag_text {
  overflow-wrap: normal;
}

.experience_more_tags {
  margin: 0.1em 0 0.7em;
}

.experience_more,
.experience_more_tags,
.experience_point_more,
.experience_less {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.26em 0.72em;
  border: 1px solid #6c6f85;
  border-radius: 999px;
  background-color: #dce0e8;
  color: #4c4f69;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}

.experience_more:hover,
.experience_more_tags:hover,
.experience_point_more:hover,
.experience_less:hover {
  background-color: #ccd0da;
}

.experience_more:focus-visible,
.experience_more_tags:focus-visible,
.experience_point_more:focus-visible,
.experience_less:focus-visible {
  outline: 2px solid #ea76cb;
  outline-offset: 2px;
}

.experience_more {
  margin-top: 0.1em;
}

.experience_expanded {
  margin-top: 0.45em;
  margin-bottom: 0.25em;
  padding: 0.2em 0 0;
}

.experience_expanded > :first-child {
  margin-top: 0;
}

.experience_expanded > :last-child {
  margin-bottom: 0;
}

.experience_point {
  margin: 0.45em 0;
  padding: 0.45em 0.55em;
  border: 1px solid #b5b9c8;
  border-radius: 0.45em;
  background-color: #eff1f5;
}

.experience_point_title {
  margin: 0;
  font-size: 1.02em;
  font-weight: 700;
  line-height: 1.25;
}

.experience_point_title > :first-child {
  margin-top: 0;
}

.experience_point_title > :last-child {
  margin-bottom: 0;
}

.experience_point_body {
  margin: 0.25em 0 0.45em;
}

.tag_level_block {
  width: 23px;
  height: 14px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 1px;
  flex: 0 0 auto;
}

.tag_level_star {
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1;
  color: #ea76cb;
  text-shadow:
    -1px 0 #4c4f69,
    1px 0 #4c4f69,
    0 -1px #4c4f69,
    0 1px #4c4f69;
}

.tag_level_wrapper {
  width: 7px;
  height: 100%;
  position: relative;
  flex: 0 0 7px;
}

.tag_level_1 {
  width: 100%;
  height: 33%;

  position: absolute;
  bottom: 0;
}

.tag_level_2 {
  width: 100%;
  height: 66%;

  position: absolute;
  bottom: 0;
}

.tag_level_3 {
  width: 100%;
  height: 100%;

  position: absolute;
  bottom: 0;
}

.filled {
  background-color: #ea76cb;
  border: 1px solid #4c4f69;
  border-radius: 0.1em;
  box-sizing: border-box;
}

.unfilled {
  background-color: #7c7f93;
  border: 1px solid #4c4f69;
  border-radius: 0.1em;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .experience h2 {
    font-size: 1.18em;
  }

  .experience_dates {
    font-size: 0.97em;
    margin-bottom: 0.2em;
  }

  .experience_short_description {
    margin-bottom: 0.65em;
  }

  .experience_block,
  .short_term {
    padding: 0.55em 0.65em 0.65em;
  }

  .experience_tags li {
    font-size: 0.86rem;
  }

  .tag_level_wrapper {
    width: 7px;
    flex-basis: 7px;
  }
}
