/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  color: #1a1a1a;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header,
.site-footer {
  background-color: #111111;
  color: #ffffff;
}

.header-inner {
  padding: 20px 20px;
  text-align: center;
}

.profile {
  text-align: center;
  margin-bottom: 30px;
}

.avatar {
  border-radius: 50%;
  object-fit: cover;
}

.profile h1 {
  font-size: 32px;
  margin-top: 16px;
}

.subtitle {
  color: #555555;
  margin-top: 4px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.nav-list a {
  color: #ffffff;
  text-decoration: none;
}

.nav-list a:hover {
  text-decoration: underline;
}

main.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.cv-section {
  margin-bottom: 30px;
}

.cv-section h2 {
  font-size: 22px;
  margin-bottom: 10px;
  border-bottom: 2px solid #111111;
  padding-bottom: 6px;
}

.contacts-list li,
.skills-list li,
.experience-list li,
.education-list li {
  margin-bottom: 6px;
}

.code-block {
  background-color: #f4f4f4;
  padding: 15px;
  font-family: "Courier New", Courier, monospace;
  overflow-x: auto;
}

.footer-inner {
  padding: 32px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 110px;
}

.footer-year {
  color: #ffffff;
}

@media (max-width: 600px) {
  .footer-inner {
    padding: 24px 20px;
    gap: 16px 32px;
  }

  .profile h1 {
    font-size: 26px;
  }

  .cv-section h2 {
    font-size: 20px;
  }
}

@media (max-width: 400px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .nav-list {
    gap: 8px 14px;
  }
}
