/* Fonts */

/* Family */
h1 { 
  font-family: 'Julius Sans One', sans-serif;
}

h2 { /* Contact, Skills, Education, About me, Work Experience */
  font-family: 'Archivo Narrow', sans-serif;
}

h3 { /* Accountant */
  font-family: 'Open Sans', sans-serif;
}

.jobPosition span, 
.projectName span {
  font-family: 'Source Sans Pro', sans-serif;
}

.upperCase {
  text-transform: uppercase; 
}

.smallText, 
.smallText span, 
.smallText p, 
.smallText a {
  font-family: 'Source Sans Pro', sans-serif;
  text-align: left;
}

/* End Family */

/* Colors */
h1 { 
  color: #111; 
}

.leftPanel, 
.leftPanel a {
  color: #bebebe;
  text-decoration: none;
}

.leftPanel h2 {
  color: white;
}

/* End Colors */

/* Sizes */
h1 { 
  font-weight: 300; 
  font-size: 1.2cm;
  transform:scale(1,1.15); 
  margin-bottom: 0.2cm;
  margin-top: 0.2cm;
  text-transform: uppercase; 
}

h2 {
  margin-top: 0.1cm;
  margin-bottom: 0.1cm;
}

.leftPanel, 
.leftPanel a {
  font-size: 0.38cm;
}

.projectName span, 
.jobPosition span {
  font-size: 0.35cm;
}

.smallText, 
.smallText span, 
.smallText p, 
.smallText a {
  font-size: 0.35cm;
}

.leftPanel .smallText, 
.leftPanel .smallText, 
.leftPanel .smallText span, 
.leftPanel .smallText p, 
.smallText a {
  font-size: 0.45cm;
}

.contactIcon {
  width: 0.5cm;
  text-align: center;
}

p {
  margin-top: 0.05cm;
  margin-bottom: 0.05cm;
}

/* .rightPanel .smallText p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
} */
/* End Sizes */

.bolded {
  font-weight: bold;
}

.white {
  color: white;
}

/* EDUCATION SECTION FONT TUNING */

.leftPanel .educationSection h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.leftPanel .educationSection .bolded {
  font-size: 16px;
  line-height: 1.3;
}

.leftPanel .educationSection .eduDate {
  font-size: 14px;
  margin: 4px 0;
}

.leftPanel .educationSection .smallText {
  font-size: 14px;
  line-height: 1.4;
}
/* End Fonts */

/* Layout */
body {
  background: rgb(204,204,204);
  width: 100%;
  min-height: 100vh;
  margin: 0;
}

page[size="A4"] {
  width: 80%;
  max-width: 1200px;
  min-height: 100vh;
  height: auto;
  margin: 0 auto;
}

/* Printing */
page {
  background: white;
  display: block;
  margin: 0 auto;
  margin-bottom: 0.5cm;
}

@media print {
  body {
    background: white;
    margin: 0;
  }

  page[size="A4"] {
    width: auto;
    min-height: auto;
    margin: 0;
  }

  .container {
    min-height: auto;
  }

  .certificationsSection {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .educationSection {
    break-before: auto;
    page-break-before: auto;
    break-inside: avoid;
    page-break-inside: avoid;
  }

}

@page {
   size: A4;
   margin: 10mm;
}
/* End Printing */

.container {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 29.7cm;
  align-items: stretch;
}

.leftPanel {
  width: 34%;
  background-color: #484444;
  padding: 0.7cm;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rightPanel {
  width: 66%;
  padding: 0.7cm;
}

.leftPanel img {
  width: 4cm;
  height: 4cm;
  margin-bottom: 0.7cm;
  border-radius: 50%;
  border: 0.15cm solid white;
  object-fit: cover;
  object-position: 50% 50%;
}

.leftPanel .details {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.skill {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.skill:last-child {
  border-bottom: none;
}

.bottomLineSeparator {
  border-bottom: 0.05cm solid white;
}

.yearsOfExperience {
  width: 1.6cm;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.alignleft {
  text-align: left !important;
  width: 1cm;
}

.alignright {
  text-align: right !important;
  width: 0.6cm;
  margin-right: 0.1cm
}

.workExperience>ul {
  list-style-type: none;
  padding-left: 0;
}

.workExperience>ul>li {
  position: relative;
  margin: 0;
  padding-bottom: 0.5cm;
  padding-left: 0.5cm;
}

.workExperience>ul>li:before {
  background-color: #b8abab;
  width: 0.05cm;
  content: '';
  position: absolute;
  top: 0.1cm;
  bottom: -0.2cm; /* change this after border removal */
  left: 0.05cm;
}

.workExperience>ul>li::after {
  content: '';
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 32 32' focusable='false'%3E%3Ccircle stroke='none' fill='%23484444' cx='16' cy='16' r='10'%3E%3C/circle%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  left: -0.09cm;
  top: 0;
  width: 0.35cm;
  height: 0.35cm;
}

.jobPosition {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.item {
  padding-bottom: 0.7cm;
  padding-top: 0.7cm;
}

.item h2{
  margin-top: 0;
}

.lastParagrafNoMarginBottom {
  margin-bottom: 0;
}

.workExperience>ul>li ul {
  padding-left: 0.5cm;
  list-style-type: disc;
}
/*End Layout*/

/* ===== Education Timeline ===== */

.educationTimeline {
  position: relative;
  margin-top: 9px;
}

.eduItem {
  position: relative;
  padding-left: 20px;
  margin-bottom: 15px;
}

.eduItem::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
}

.eduDate {
  font-size: 0.35cm;
  color: #dcdcdc;
  margin: 2px 0 4px 0;
}

/* CERTIFICATIONS SECTION */

.leftPanel .certItem {
  margin-bottom: 12px;
}

.leftPanel .certItem .bolded {
  font-size: 16px;
  line-height: 1.3;
}

.leftPanel .certItem .smallText {
  font-size: 14px;
  opacity: 0.9;
}

.leftPanel .certItem {
  position: relative;
  padding-left: 15px;
}

.leftPanel .certItem::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

/* Header row (title + date aligned) */
.eduHeader,
.certHeader {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

/* Date styling */
.eduDate,
.certDate {
  font-size: 14px;
  color: #dcdcdc;
  white-space: nowrap;
}