:root {
  --color-faded: #70706f;
  --color-border: #c4c4c4;
  --color-black: #000;
  --color-title: var(--color-black);
}

html,
body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--color-faded);
  font-family: "Inter", sans-serif;
  -webkit-print-color-adjust: exact;
  color-adjust: exact;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 100%;
  line-height: 1;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  display: flex;
  flex-direction: column;
}

.page-description {
  font-size: 15px;
  line-height: 1.5;
}

.display-1 {
  margin-bottom: 8px;
  font-size: 28px;
}

.page-sub-title {
  margin-bottom: 20px;
  color: var(--color-faded);
  font-size: 16px;
  font-weight: normal;
}

.page-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: normal;
}

.page-header {
  display: flex;
  flex-direction: row;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}

.avatar {
  height: 157px;
  width: 157px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
}

.sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: auto;
}

.sections__column {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.timeline-wrapper {
  overflow: hidden;
}

.description {
  margin-bottom: 15px;
}

.timeline-section {
  padding-left: 16px;
}

.timeline-title {
  position: relative;
}

.timeline-title::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 8px;
  bottom: 0;
  height: 1px;
  width: 8px;
  background-color: var(--color-border);
}

.timeline-title::after {
  content: "";
  position: absolute;
  left: -16px;
  height: 100vh;
  bottom: calc(100% - 8px);
  width: 1px;
  background-color: var(--color-border);
}

.display-1 {
  color: var(--color-title);
}

.display-2 {
  margin-bottom: 20px;
  color: var(--color-title);
  font-size: 18px;
}

.display-3 {
  margin-bottom: 10px;
  color: var(--color-title);
  font-size: 14px;
  font-weight: bold;
}

.display-4 {
  margin-bottom: 5px;
  color: var(--color-title);
  font-size: 14px;
  font-weight: normal;
}

.badge-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.badge {
  background-color: #e0e0e7;
  color: var(--color-faded);
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 12px;
}

a {
  color: inherit;
}

p {
  font-size: 14px;
  line-height: 1.4;
}

.items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sub-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skills-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skills {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills li {
  width: calc(50% - 5px);
}

.page-footer {
  margin-top: 50px;
}

.mb-0 {
  margin-bottom: 0;
}

.call-to-action {
  margin-bottom: 30px;
  padding: 20px;
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23C4C4C4FF' stroke-width='1' stroke-dasharray='5%2c 5' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
}

@media print {
  a {
    text-decoration: none;
  }

  .call-to-action {
    display: none;
  }
}

@media screen and (min-width: 768px), print {
  html,
  body {
    height: 100%;
  }

  .container {
    height: 100%;
    max-width: 100%;
    aspect-ratio: 0.7;
  }

  .sections {
    flex-direction: row;
    gap: 50px;
  }

  .sections__left {
    width: calc(60% - 25px);
  }

  .sections__right {
    width: calc(40% - 25px);
  }

  .display-1 {
    font-size: 34px;
  }

  .page-links {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .page-links__item {
    display: flex;
    align-items: center;
  }

  .page-links__item:not(:last-child)::after {
    content: "";
    display: inline-block;
    margin-left: 15px;
    margin-right: 15px;
    height: 3px;
    width: 3px;
    background-color: var(--color-faded);
    border-radius: 50%;
  }
}

@media not print {
  .container {
    padding: 20px;
  }

  a {
    display: inline-flex;
    align-items: center;
    color: var(--color-black);
  }

  a::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23000' d='M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z'/%3E%3C/svg%3E");
    width: 9px;
    margin-left: 5px;
  }

  @media (min-width: 768px) {
    body {
      padding: 40px;
      background-color: #d3cce3;
      background: linear-gradient(to bottom right, #f5e3e6, #d9e4f5);
    }

    .container {
      position: relative;
      z-index: 2;
      padding: 50px;
      background-color: #fff;
      box-shadow: 0 0 16px 0px rgba(0, 0, 0, 0.1);
    }
  }
}
