/* =========================
   RESET
   ========================= */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Montserrat", sans-serif;
    font-size: 25px; /* ⬆️ +1 */
    line-height: 1.7;
    color: #1f1f1f;
    background: #fff;
  }
  
  /* =========================
     LAYOUT
     ========================= */
  .main {
    display: flex;
    max-width: 1050px;
    margin: 0 auto;
  }
  
  .main_content {
    flex: 3;
    padding: 20px 15px;
  }
  
  .sidebard {
    flex: 1.2;
    padding: 15px 15px;
    border-left: 1px solid #eaeaea;
    background: #fafafa;
  
    display: flex;
    flex-direction: column;
  }
  
  /* =========================
     HEADER
     ========================= */
  .title {
    font-size: 30px; /* ⬆️ +1 */
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.1;
  }
  
  .section-title {
    font-size: 26px; /* ⬆️ +1 */
    font-weight: 700;
    margin: 5px 0 5px; /* ⬇️ tighter */
  }
  
  /* =========================
     SECTION SPACING CONTROL
     (Projects / Work / Education)
     ========================= */
  section,
  .education,
  .work-experience {
    margin-top: 2px;  /* ⬇️ reduced */
    margin-bottom: 2px; /* ⬇️ reduced */
  }
  
  /* =========================
     ABOUT
     ========================= */
  .about p {
    font-size: 22px;
    line-height: 1.75;
    margin-top: 6px;
  }
  
  /* =========================
     PROJECTS
     ========================= */
  section article {
    margin-bottom: 6px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
  }
  
  section article h3 {
    font-size: 22px; /* ⬆️ +1 */
    margin: 4px 0;
  }
  
  section article p {
    font-size: 22px; /* ⬆️ +1 */
    margin: 2px 0;
  }
  
  section article ul {
    margin: 4px 0 8px 18px;
  }
  
  section article li {
    font-size: 22px; /* ⬆️ +1 */
    margin: 2px 0;
  }
  
  /* =========================
     WORK EXPERIENCE
     ========================= */
  .education_position,
  .work {
    font-size: 22px; /* ⬆️ +1 */
    line-height: 1.6;
  }
  
  .posada {
    font-size: 22px; /* ⬆️ +1 */
    margin-top: 2px;
  }
  
  .period {
    font-size: 20px; /* ⬆️ +1 */
    opacity: 0.85;
    margin-bottom: 6px;
  }
  
  /* =========================
     SIDEBAR
     ========================= */
  .sidebard .contacts,
  .sidebard .tech_skills,
  .sidebard .soft_skills {
    margin-bottom: 10px; /* ⬇️ tighter */
  }
  
  .sidebard .contacts p {
    font-size: 22px; /* ⬆️ +1 */
    margin: 4px 0;
  }
  
  /* LINKS */
  a {
    color: #1f1f1f;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  /* =========================
     LISTS
     ========================= */
  .sidebard ul {
    margin-left: 18px;
  }
  
  .sidebard li {
    font-size: 22px; /* ⬆️ +1 */
    margin: 3px 0;
  }
  
  /* =========================
     RESPONSIVE
     ========================= */
  @media (max-width: 900px) {
    .main {
      flex-direction: column;
    }
  
    .sidebard {
      border-left: none;
      border-top: 1px solid #eaeaea;
    }
  }

  .flexib{
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    margin-top: 10px;
  }

  .main {
    width: 100%;
    max-width: none;
  }
  
  .main_content {
    flex: 3.6;
    padding: 10px;
  }
  
  .sidebard {
    flex: 1;
    padding: 10px;
  }

  @page {
    size: A4;
    margin: 20px;
  }