/* --------------------------------------------------

   Breakpoint Settings
   -------------------------------------------------- */
/* inconsolata-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inconsolata";
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/inconsolata-v32-latin-regular.738ff90c.woff2) format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inconsolata-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inconsolata";
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/inconsolata-v32-latin-600.e56bf966.woff2) format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Karla";
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/karla-v31-latin-regular.c5d7ce15.woff2) format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* karla-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Karla";
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/karla-v31-latin-600.8eb0f2af.woff2) format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* --------------------------------------------------

   Breakpoint Mixin
   -------------------------------------------------- */
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  --main-color: #457B9D;
  --background-color: white;
  --accent-color: #E63946;
  --text-color: #1D3557;
  --personal-background: #f9f9f9;
  --font-size-200: 9.5pt;
  --font-size-300: 10pt;
  --font-size-400: 11pt;
  --font-size-500: 12pt;
  --font-size-600: 14pt;
  --font-size-700: 18pt;
  --padding-vertical: 2em;
  --padding-horizontal: 1.5em;
}

@page {
  size: A4;
  margin: 10mm 10mm 15mm 10mm;
  @bottom-right {
    content: counter(page) "/" counter(pages);
    background-color: var(--main-color);
    padding: 0.5em;
    color: white;
    font-family: "Inconsolata", monospace;
    font-size: 8pt;
  }
}
body {
  padding: 0;
  margin: 0;
  color: var(--text-color);
  font-family: "Inconsolata", monospace;
  font-size: var(--font-size-400);
  line-height: 1.35em;
}

h1, h2, h3, h4, h5 {
  font-family: "Karla", sans-serif;
  margin: 0;
}

h1 {
  color: var(--main-color);
  font-size: var(--font-size-600);
}

h2 {
  font-size: var(--font-size-500);
  margin-bottom: 0.75em;
}

h3 {
  font-size: var(--font-size-400);
  border-bottom: 2px solid var(--accent-color);
}

p {
  margin: 0.5em 0 2em 0;
  text-align: justify;
  hyphens: auto;
  font-size: var(--font-size-300);
}

.wrapper {
  width: 100%;
  height: 100%;
  --gap: 2%;
}

.personal {
  position: relative;
  font-size: 9.5pt;
  width: 33%;
  height: 100%;
  float: left;
}
.personal-info {
  padding: 0;
  margin: 0;
  border-collapse: collapse;
  font-size: var(--font-size-300);
}
.personal-info a {
  color: var(--text-color);
  font-style: normal;
  font-weight: 400;
  text-decoration: none;
}
.personal-info a:after {
  display: none;
}
.personal-info td {
  vertical-align: top;
  padding: 0.25em 0.5em;
}
.personal-info td:first-child {
  width: 6.5em;
  background-color: var(--main-color);
  color: white;
  border-bottom: 1px solid white;
  text-transform: uppercase;
}
.personal-info td:not(first-child) {
  border-bottom: 1px solid var(--main-color);
}
.personal-info tr:last-child > td {
  border-bottom: 0;
}

.download-cv {
  display: none;
}

.profile-image {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 1rem;
}
.profile-image img {
  position: absolute;
  max-width: 100%;
  bottom: -50px;
  width: 100%;
  height: auto;
}

.phases {
  width: 63%;
  margin-left: 37%;
}
.phases h2 {
  font-size: var(--font-size-500);
  margin-bottom: -2px;
  color: var(--main-color);
  background-color: var(--main-color);
  color: var(--background-color);
  padding: 0.25em 0.5em;
  border-radius: 0.15em;
  border-top-left-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
}
.phases h2:not(:first-child) {
  margin-top: 3em;
}

.step {
  border-left: 2px solid var(--main-color);
  padding: 16px 0 16px 16px;
  position: relative;
  font-size: var(--font-size-300);
}
.step:first-child {
  padding-top: 32px;
}
.step:first-child:before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: var(--main-color);
  z-index: 2;
  position: absolute;
  top: 24px;
  left: -8px;
  border-radius: 50%;
}
.step ul {
  margin: 0;
  padding: 0 0 0 1em;
}
.step ul li {
  display: block;
  position: relative;
  line-height: 1.35em;
  text-align: left;
  hyphens: auto;
  margin-bottom: 0.4em;
}
.step ul li:before {
  content: "-";
  position: absolute;
  left: -1em;
  color: var(--main-color);
}
.step ul li.no-style:before {
  display: none;
}
.step ul li a {
  cursor: pointer;
  color: var(--main-color);
  text-decoration: none;
  font-weight: 600;
  font-size: inherit;
}
.step p {
  padding: 0 1.5em 0 1.5em;
  text-align: justify;
  hyphens: auto;
}
.step h5 {
  position: relative;
  font-size: var(--font-size-300);
  display: grid;
  grid-template-columns: 1rem 14em 1fr;
  align-items: center;
  line-height: 1rem;
  margin-bottom: 0.5em;
}
.step h5 span {
  position: absolute;
  background-color: var(--accent-color);
  color: var(--background-color);
  text-align: center;
  border-radius: 0.5em;
  margin-top: -16px;
}
.step h5:before {
  content: "";
  border-top: 2px solid var(--main-color);
  margin-left: -1rem;
}
.step h5:after {
  content: "";
  border-top: 2px solid var(--main-color);
}
.step:before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: var(--main-color);
  z-index: 2;
  position: absolute;
  top: 8px;
  left: -8px;
  border-radius: 50%;
}
.step h4 {
  color: var(--main-color);
  font-size: var(--font-size-400);
}

ul.knowledge {
  max-width: 30em;
  margin: 0;
}
ul.knowledge li {
  display: grid;
  grid-template-columns: auto 14px 14px 14px;
  gap: 5px;
  align-items: center;
}
ul.knowledge li::before {
  display: none;
}
ul.knowledge li:not(:last-child) {
  border-bottom: 1px solid var(--main-color);
}

.rating {
  display: grid;
  align-items: center;
}
.rating img {
  width: 100%;
}

.star-active {
  display: none;
}

.star-inactive {
  display: none !important;
}

.level-1 :nth-child(2) > .star-active {
  display: block;
}

.level-2 :nth-child(2) > .star-active, .level-2 :nth-child(3) > .star-active {
  display: block;
}

.level-3 :nth-child(2) > .star-active, .level-3 :nth-child(3) > .star-active, .level-3 :nth-child(4) > .star-active {
  display: block;
}