:root {
  font-family: "IBM Plex Mono", "Courier New";
  --default-padding: 1rem;

  --default-link-color: #2b2b94;
}

body {
  margin: 0;
}

#root {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#root section {
  width: 80%;
  padding: 0 var(--default-padding);
}

#root section:first-child {
  padding-top: var(--default-padding);
}

#root section:last-child {
  padding-bottom: var(--default-padding);
}

.language-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 2.5%;
  right: 2.5%;
}

.language-switcher button {
  width: 2rem;
  height: 2rem;
}
.language-switcher button:hover {
  background-color: #e3e3e3;
  cursor: pointer;
}

.language-switcher a:first-child button {
  border-radius: 0.5rem 0 0 0.5rem;
}
.language-switcher a:last-child button {
  border-radius: 0 0.5rem 0.5rem 0;
  border-left: 0;
}

ul {
  padding-left: calc(var(--default-padding) * 2)
}

p, li {
  max-width: 80ch;
}

/* */

a {
  text-decoration-line: none;
}
a, a:visited {
  color: var(--default-link-color);
  font-weight: bolder;
}

section.projects li, section.skills li {
  margin-bottom: var(--default-padding)
}

section.projects a {
  font-weight: normal;
}

/* */

.skills__link-button {
    font-weight: normal;
}

.skills__link-button.active {
    font-weight: 900;
}

/* служебные */

.strong {
  font-weight: bold;
}

.print-only {
  display: none;
}

@media print {
  .no-print {
    display: none !important;
    visibility: hidden !important;
  }
  .print-only {
    display: block !important;
  }
}
