:root {
  --desktop-content-inline-size: 1200px;

  --decorative-sans-serif-font: "Marcellus";
  --ordinary-sans-serif-font: "Libre Franklin";
  --code-font: "Roboto Mono";
  --text-color: #101010;
  --link-color: #0000ff;
  --bg-color: #F8F8F8;
  --accent-color: #FFB800;
  --border-color: #000000;
}

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

h1,
h2,
h3, 
h4,
h5, 
h6,
p,
address,
ul,
li,
figure,
figcaption,
pre,
body {
  padding: 0;
  margin: 0;

  font-weight: 400;
}

ul {
  list-style-type: none;
}

body {
  color: var(--text-color);
  background: var(--bg-color);
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  inline-size: var(--desktop-content-inline-size);
  padding: 0 1rem;
  margin: 0 auto;

  font-family: var(--decorative-sans-serif-font), sans-serif;
  line-height: 1.4;
  text-transform: uppercase;
}

.header,
.footer {
  margin-block: 1.5rem 3.5rem;
}

.nav__list {
  display: flex;
  justify-content: end;
  gap: 1.5rem;

  font-size: 1.25rem;
}

.link {
  text-decoration: none;
  color: inherit;
}

.link:hover {
  border-block-end: 2px solid var(--accent-color);
}

.main {
  flex-grow: 1;

  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: start;
  gap: 2.5rem;
}

.hero__description,
.about__text,
.skills__list,
.project-item__description,
.education__item > span:first-child,
.langs__list {
  font-family: var(--ordinary-sans-serif-font), sans-serif;
  line-height: 1.5;
  text-transform: none;
}

.contacts {
  grid-column: 1 / 3;
  order: -1;
}

.contacts__list > li + li {
  margin-block-start: 0.5rem;
}

.section:not(.contacts) {
  grid-column: 3 / -1;
}

.hero {
  display: flex;
  justify-content: start;
  align-items: start;
  gap: 1.5rem;
}

.hero__avatar {
  object-fit: cover;
  object-position: center;
  clip-path: circle(50%);
}

.hero__title {
  font-size: 2.75rem;
}

.hero__description {
  font-size: 1.5rem;
}

.section > .title {
  display: flex;
  justify-content: space-between;
  margin-block-end: 1.25rem;

  border-block-end: 2px solid #000000;
}

.about__text {
  line-height: 1.65;
}

.skills__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-items: baseline;
  gap: 0.75rem;
}

.item_round-shape {
  padding: 0.5rem 1rem 0.5rem 0.75rem;

  border: 1px solid #000000;
  border-radius: 50px;
}

.contacts__item::before,
.skills__item::before,
.langs__item::before {
  content: '✦';
  margin-inline-end: 5px;

  color: var(--accent-color);
}

.code-example__wrapper {
  display: flex;
  flex-direction: column;
}

.code-example__caption {
  order: -1;
  margin-block-end: 0.75rem;
}

.item_soft-square-shape {
  border: 1px solid var(--border-color);
  border-radius: 20px;
}

.code-example__code {
  font-family: var(--code-font), monospace;
  text-transform: none;
}

.projects__list {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  gap: 1rem;
}

.project-item {
  max-width: 30%;
  padding: 1rem;
}

.project-item__link {
  display: inline-block;
  margin-block-end: 0.75rem;
}

.project-item__link:hover {
  border-block-end-color: transparent;
}

.outer-link {
  color: var(--link-color);
  border-block-end: 2px solid var(--link-color);
}

.project-item__description {
  font-size: 0.75rem;
}

.education__item {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.education__list > li + li {
  margin-block-start: 1rem;
}

.education__item > span:first-child {
  align-self: flex-start;
  margin-block-end: 0.5rem;

  font-size: 0.75rem;

  border-bottom: 1px solid var(--accent-color);
}

.langs__list {
  display: flex;
  gap: 0.75rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-block: 2.5rem 1.5rem;
}

.course {
  display: flex;
  justify-content: end;
  align-items: end;
  gap: 0.75rem;
}

.course__link,
.github-link {
  margin-block-end: 0.5rem;
}

.course__link:hover,
.github-link:hover {
  border-block-end-color: transparent;
}