@charset "UTF-8";
* {
  font-family: "Helvetica", "Arial", sans-serif;
  line-height: 1.5;
}

body {
  background-color: var(--bg-color);
  min-width: 804px;
}

.container {
  max-width: 900px;
  min-height: 900px;
  margin: 0 auto;
  background-color: var(--bg-color-cv);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  padding: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}
.container .container-block {
  width: 90%;
  margin: 0 auto;
  padding: 20px;
  display: block;
  overflow: hidden;
}
.container .container-block .sidebar {
  margin-top: 20px;
}

@media print {
  @page {
    size: A4;
  }
  .container {
    margin: 0;
    padding: 0;
    box-shadow: none;
    background-color: #ffffff;
    width: 1000px;
  }
  .container .container-block {
    padding: 0;
  }
  .container .header input, .container .header label {
    display: none !important;
  }
  .experience-item, .education-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
@media screen and (max-width: 1024px) {
  body {
    background-color: var(--bg-color-cv);
  }
  .container {
    box-shadow: none;
  }
  .container .container-block .sidebar div {
    text-align: left;
  }
}
@media screen and (max-width: 768px) {
  .header {
    display: block;
  }
  .header .title {
    margin: 0 auto;
  }
  .header input, .header label {
    display: none;
  }
}
:root {
  --bg-color: #f1f1f1;
  --bg-color-cv: #ffffff;
  --fg-color: #00629b;
  --fg-color-icon: #023b5b;
  --fg-color-body: #5e6369;
  --fg-color-title-sm: #688293;
}

[data-theme=dark] {
  --bg-color: #28343b;
  --bg-color-cv: #1b262c;
  --fg-color: #3282b8;
  --fg-color-icon: #3282b8;
  --fg-color-body: rgba(187,225,250,0.75);
  --fg-color-title-sm: #688293;
}

.main {
  display: block;
}
.main section {
  color: var(--fg-color-body);
  font-size: 14px;
}
.main section h2 {
  color: var(--fg-color);
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
}
.main section h2:before, .main section h2:after {
  content: "";
  flex: 1 1;
  border-bottom: 1px solid;
  margin: auto;
}
.main section h2:before {
  margin-right: 10px;
}
.main section h2:after {
  margin-left: 10px;
}
.main section h2 {
  clear: none; /* дозволяє обтікання */
  display: flex; /* залишає лінію */
  overflow: hidden; /* змушує блок "підлаштуватися" під вільний простір поруч з float */
}

.header {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: right;
  align-items: center;
}
.header .header_icon {
  justify-content: right;
  margin-left: 1em;
}
.header .header_icon a, .header .header_icon label {
  color: var(--fg-color-icon);
}
.header input[type=checkbox] {
  width: 0;
  height: 0;
  display: none;
}
.header label {
  cursor: pointer;
}

.sidebar {
  color: var(--fg-color);
  width: auto;
  padding-right: 2em;
  float: left;
  width: 30%;
  margin-top: 20px;
}
.sidebar section {
  margin-top: 1em;
  margin-bottom: 1em;
}
.sidebar section > div:first-child {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-color);
}
.sidebar .skill, .sidebar .contact-item-location {
  color: var(--fg-color-body);
  font-size: 14px;
}
.sidebar .contact-item-location div {
  margin-left: 8px;
}

.name {
  color: var(--fg-color-icon);
  font-weight: bolder;
  text-transform: uppercase;
  text-align: center;
}
.name img {
  height: 160px;
  position: relative;
  border-radius: 50%;
  vertical-align: middle;
}
.name h1 {
  text-align: center;
}

.contact h1 {
  color: var(--fg-color);
}
.contact .contact-item {
  display: flex;
  align-items: center;
}
.contact .contact-item svg {
  width: 18px;
  display: inline-block;
  color: var(--fg-color);
}
.contact .contact-item i {
  color: var(--fg-color);
}
.contact .contact-item a {
  text-decoration: none;
  padding-top: 4px;
  padding-left: 4px;
  color: var(--fg-color-body);
  font-size: 14px;
}
.contact .contact-item a:hover {
  text-decoration: underline;
}

.skills-container-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.skills-container-inline .skill {
  display: inline-block;
}

.skills-container-inline .skill:not(:last-child)::after {
  content: ", ";
}

.experience-item, .education-item {
  font-family: Arial, sans-serif;
  line-height: 1.5;
  margin-bottom: 20px;
  display: flow-root;
}

.experience-item .date, .education-item .date {
  color: #b0b0b0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.experience-item .job-title {
  font-size: 1.1rem;
  margin: 4px 0;
}

.details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.details-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4px;
}

.details-list li::before {
  content: "—";
  margin-right: 15px;
  margin-left: 20px;
  color: #333333;
  flex-shrink: 0;
}

[data-theme=dark] .details-list li::before {
  color: #a9b2bd;
}