:root {
  --bg-heavy: hsl(320, 37%, 8%);
  --bg-medium: hsl(256, 46%, 19%);
  --bg-light: hsl(312, 57%, 26%);
  --text-negative: hsl(143, 67%, 98%);
  --text-color: hsl(320, 37%, 8%);
  --accent-dark: hsl(123, 100%, 36%);
  --accent-color: hsl(97, 100%, 50%);
  --accent-light: hsl(104, 95%, 85%);
  --extra-dark: hsl(312, 57%, 26%);
  --extra-color: hsl(319, 100%, 61%);
  --extra-light: hsl(319, 100%, 92%);
  --font-text: "Roboto Mono", monospace;
  --font-heading: "Rubik", sans-serif;
  --padding: 0.7cm;
  --slant: var(--padding);
}

/* Layout */
*,
::before,
::after {
  box-sizing: border-box;
  line-height: 1.375;
  shape-rendering: geometricPrecision;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg-heavy);
  width: 21cm;
  height: 29.7cm;
  margin: 0 auto;
  word-spacing: -0.3em;
  font-family: var(--font-text);
  color: var(--text-color);
  font-size: 12px;
  line-height: 1.5;
}
body > svg {
  display: none;
}

a {
  color: inherit;
}

/* Printing */
main {
  background: white;
  display: block;
  margin: 0 auto;
  margin-bottom: 0.5cm;
  display: flex;
  flex-direction: column;
}

main[size=A4] {
  width: 21cm;
  height: 29.7cm;
}

@page {
  size: 21cm 29.7cm;
  padding: 0;
  margin: 0mm;
  border: none;
  border-collapse: collapse;
  overflow: hidden;
}
/* End Printing */
.main-content {
  flex-grow: 1;
  display: grid;
  grid-template-columns: 270px 1fr;
}

@media screen {
  .pdf-only {
    display: none;
  }
  body {
    margin: 20px auto;
    background-image: linear-gradient(30deg, var(--bg-medium) 0%, var(--bg-light) 100%);
  }
  page {
    box-shadow: 0 0 0.5cm rgba(0, 0, 0, 0.5);
  }
}
@media print {
  .screen-only {
    display: none;
  }
}
.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

p {
  margin: 0;
}
p + p {
  margin-top: 1em;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.small {
  font-size: 0.875em;
}

.list-item__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.list-item__icon {
  line-height: 0;
  font-size: 1.25em;
  color: var(--accent-color);
}

.slant-title {
  --h2-bg: var(--accent-color);
  background-color: var(--h2-bg);
  color: var(--text-color);
  font-family: var(--font-heading);
  font-weight: 600;
  word-spacing: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-block: 2px;
  padding-left: var(--padding);
  margin-left: calc(-1 * var(--padding));
  margin-bottom: 1.4em;
  position: relative;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
}

h3 {
  font-family: var(--font-heading);
  word-spacing: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color);
  overflow: hidden;
  padding-left: var(--padding);
  margin-left: calc(-1 * var(--padding));
  position: relative;
}
h3::before {
  content: "";
  width: calc(var(--padding) - 5px);
  height: 2px;
  background-color: var(--accent-color);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
h3 span {
  display: inline-block;
  position: relative;
}
h3 span::after {
  content: "";
  width: 270px;
  height: 2px;
  background-color: var(--accent-color);
  position: absolute;
  left: calc(100% + 5px);
  top: 50%;
  transform: translateY(-50%);
}

article {
  margin-block: 1.5em;
}

.exp-info {
  display: flex;
  column-gap: 1.25em;
}
.exp-info .list-item {
  display: flex;
  align-items: center;
  gap: 0.25em;
}
.exp-info .list-item__value {
  font-size: 13px;
  word-spacing: -0.4em;
  line-height: 1;
}
.exp-info.interests-info {
  font-weight: 500;
  column-gap: 0.25em;
  justify-content: center;
  font-size: 10px;
}
.exp-info.interests-info .list-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
  text-align: center;
}
.exp-info.interests-info .list-item__icon {
  font-size: 1.5em;
}
.exp-info.interests-info .list-item__value {
  font-size: 11px;
  word-spacing: -0.4em;
  line-height: 1.2;
}

.header {
  background-color: var(--bg-medium);
  color: var(--text-negative);
  padding: var(--padding);
  position: relative;
  clip-path: polygon(0 calc(var(--slant) / 1.5), calc(var(--slant) / 1.5) 0, 100% 0, 100% calc(100% - var(--slant) - var(--slant) / 3), calc(100% - var(--slant) - var(--slant) / 3) 100%, 0 100%);
}
.header__top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 2px solid var(--accent-color);
  color: var(--accent-color);
  font-family: var(--font-heading);
  word-spacing: normal;
  font-size: 1.5em;
}
.header__top > * {
  margin-block: 0;
}
.header__top h1 {
  text-transform: uppercase;
  padding-right: 3em;
  margin-bottom: -2px;
  line-height: 1.1;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant) - var(--slant) / 1.5) 100%, 0 100%);
}
.header__top p {
  color: var(--text-negative);
  text-transform: uppercase;
}
.header__bottom {
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 1cm;
  padding-top: 0.5cm;
}
.header__bottom h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.header__about p {
  text-align: justify;
}
.header__contacts ul {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  justify-content: space-between;
  height: 100%;
  font-size: 12px;
  padding-block: 5px;
}
.header__contacts__item > * {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.header .html-link {
  text-decoration: none;
  color: var(--accent-color);
  position: absolute;
  right: var(--padding);
  top: 0.25cm;
  font-size: 12pt;
}
.header .html-link span {
  text-decoration: underline;
  vertical-align: middle;
  display: inline-block;
}
.header .html-link span svg {
  margin-top: 0.3em;
}

.sidebar {
  background-color: var(--bg-medium);
  color: var(--text-negative);
  padding-inline: var(--padding);
  height: 100%;
  position: relative;
  container-name: sidebar;
  --tag-base: 10px;
  --tag-grow: 0.15em;
}
.sidebar::before {
  content: "";
  width: 100%;
  height: 3px;
  background-color: var(--bg-medium);
  position: absolute;
  left: 0;
  top: -2px;
}
.sidebar::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: var(--bg-medium);
  position: absolute;
  right: 0;
  bottom: 0;
}
.sidebar ul {
  display: flex;
  flex-flow: row wrap;
  column-gap: 0.75em;
  row-gap: 0.3em;
  justify-content: center;
  align-items: center;
  margin-bottom: 2em;
  line-height: 1.2;
}
.sidebar ul li[data-rate="1"] {
  font-size: max(var(--tag-base), 1 * var(--tag-grow));
  font-weight: 0;
}
.sidebar ul li[data-rate="2"] {
  font-size: max(var(--tag-base), 2 * var(--tag-grow));
  font-weight: 100;
}
.sidebar ul li[data-rate="3"] {
  font-size: max(var(--tag-base), 3 * var(--tag-grow));
  font-weight: 200;
}
.sidebar ul li[data-rate="4"] {
  font-size: max(var(--tag-base), 4 * var(--tag-grow));
  font-weight: 300;
}
.sidebar ul li[data-rate="5"] {
  font-size: max(var(--tag-base), 5 * var(--tag-grow));
  font-weight: 400;
}
.sidebar ul li[data-rate="6"] {
  font-size: max(var(--tag-base), 6 * var(--tag-grow));
  font-weight: 500;
}
.sidebar ul li[data-rate="7"] {
  font-size: max(var(--tag-base), 7 * var(--tag-grow));
  font-weight: 600;
}
.sidebar ul li[data-rate="8"] {
  font-size: max(var(--tag-base), 8 * var(--tag-grow));
  font-weight: 700;
}
.sidebar ul li[data-rate="9"] {
  font-size: max(var(--tag-base), 9 * var(--tag-grow));
  font-weight: 800;
}
.sidebar ul li[data-rate="10"] {
  font-size: max(var(--tag-base), 10 * var(--tag-grow));
  font-weight: 900;
}
.sidebar .education {
  margin-top: 2.5em;
}
.sidebar .education p + p {
  margin-top: 0.5em;
}
.sidebar .education p:first-of-type {
  font-size: 1.2em;
}
.sidebar .education .small {
  font-size: 1em;
  word-spacing: -0.3em;
  margin-bottom: 2.25em;
  margin-top: 0.25em;
}

.experiences {
  padding: 0 var(--padding);
  position: relative;
}
.experiences::before {
  content: "";
  width: 0.5cm;
  height: 0.5cm;
  background-color: var(--bg-medium);
  position: absolute;
  left: -0.05cm;
  top: -0.05cm;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.experiences::after {
  content: "";
  width: 2px;
  height: 100%;
  background-color: var(--bg-medium);
  position: absolute;
  left: -1px;
  top: 0;
}
.experiences h2 {
  --h2-bg: var(--bg-medium);
  color: var(--accent-color);
}
.experiences h2::before {
  content: "";
  height: 100%;
  width: 3px;
  position: absolute;
  left: -1px;
  top: 0;
  background-color: var(--h2-bg);
}
.experiences h3 {
  color: var(--bg-medium);
}
.experiences h3::before {
  background-color: var(--bg-medium);
}
.experiences h3 span::after {
  background-color: var(--bg-medium);
}
.experiences .list-item__icon {
  color: var(--bg-medium);
}
.experiences .exp-feature {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  margin-block: 2.3em;
  padding-left: 1.2em;
  font-size: 11px;
  margin-top: 1.5em;
}
.experiences .exp-feature li {
  position: relative;
}
.experiences .exp-feature li::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  display: block;
  background-color: var(--bg-medium);
  top: 0.4em;
  left: -1em;
  position: absolute;
  clip-path: polygon(0 0.1em, 0.1em 0, 0.5em 0, 0.5em 0.4em, 0.4em 0.5em, 0 0.5em);
}
.experiences .interests h2 {
  margin-bottom: 1em;
}

@media screen and (max-width: 20.99cm) {
  :root {
    --padding: max(1rem, calc(50vw - 250px));
    --slant: 1.5rem;
  }
  main[size=A4], body {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    font-size: 1rem;
  }
  h3 span::after {
    width: 100vw;
  }
  .main-content {
    grid-template-columns: 1fr;
  }
  .header {
    margin-bottom: 10px;
    padding-block: 2.5rem;
  }
  .header__top {
    flex-direction: column;
    align-items: stretch;
  }
  .header__top h1 {
    --slant: 1rem;
    font-size: clamp(1.5rem, 4.2vw + 1rem, 3.5rem);
    padding-right: 1em;
  }
  .header__top p {
    margin-top: 0.5em;
    text-align: right;
  }
  .header__bottom {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }
  .header__about {
    order: 2;
  }
  .header__about p {
    text-align: left;
    font-size: 0.8em;
  }
  .header__contacts {
    order: 1;
  }
  .header__contacts ul {
    justify-content: space-between;
    gap: 1em;
    font-size: 0.8em;
  }
  .header__contacts ul li {
    padding: 0;
  }
  .sidebar {
    --tag-base: 12px;
    --tag-grow: 0.2em;
  }
  .exp-info {
    flex-wrap: wrap;
    row-gap: 0.75em;
    margin-bottom: 20px;
  }
  .exp-info.interests-info {
    font-size: 1rem;
    row-gap: 1.25em;
  }
  .exp-info.interests-info .list-item {
    flex: 0 1 140px;
  }
}
@media screen and (max-width: 20.99cm) and (min-width: 530px) {
  .exp-info.interests-info .list-item {
    flex: 0 1 120px;
  }
}
@media screen and (max-width: 20.99cm) {
  .exp-info.interests-info .list-item__value {
    font-size: 0.8em;
  }
  .experiences .exp-feature {
    font-size: 0.8em;
    margin-block: 2.5em 4em;
  }
}
@media (max-width: 375px), (min-width: 21cm) {
  h3 span.longer::after {
    left: 176px;
  }
}

/*# sourceMappingURL=index.css.map */
