/* used to remove flash of unstyled content for page load animation */
/* https://gsap.com/resources/fouc/ */
body {
  visibility: hidden;
}

/* ---------- Sidenav ---------- */
.sidenav-content {
  margin-bottom: 100px;
}

.sidenav-text-container {
  margin-bottom: 60px;
}

/* ----- For mobile ----- */
.current-section {
  display: none;
}

/* ----- Download my resume button ----- */
.additional-info-mobile {
  display: none;
}

.project-link-button {
  padding: 15.25px 24px;
  width: fit-content;
}

/* ---------- Main content ---------- */
.main-content-section {
  color: #000;
}

h4 {
  line-height: 1.2;
}

#summary {
  padding-bottom: 30px;
}

#summary p {
  margin-bottom: 0;
}

/* ---------- Jobs and education ---------- */
.job {
  margin-bottom: 32px;
}

.job:last-child {
  margin-bottom: 0;
}

.job h3 {
  margin-bottom: 4px;
}

.job-header {
  margin-bottom: 16px;
}

.job ul, .education-list {
  list-style-type: disc;
  padding-left: 32px;
}

.job li, .education-list li {
  font-size: var(--fs-body);
  line-height: 1.4;
  margin-bottom: 20px;
}

/* ---------- Footer ---------- */
.footer {
  color: #000;
}

/* ---------- media queries ---------- */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 56px;
  }

  /* ----- Sidenav text container ----- */
  .sidenav-text-container {
    margin-bottom: 0;
  }

  .main-content {
    padding-top: 200px;
  }

  #summary {
    padding-bottom: 74px;
  }

  /* ----- Download resume button ----- */
  /* Desktop */
  .additional-info {
    display: none;
  }

  /* Mobile */
  .additional-info-mobile {
    display: block;
    margin-top: 60px;
  }

  .mobile-table-of-contents-link {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  /* ---------- header and current section ---------- */
  h1 {
    font-size: 48px;
    padding-right: 20px;
  }

  .current-section {
    display: block;
    font-size: 36px;
    margin-bottom: 0;
  }

  /* ---------- Mobile nav menu ---------- */
  .mobile-nav-menu {
    overflow: scroll;
    padding-top: 0;
  }

  /* ---------- Table of contents ---------- */
  .table-of-contents {
    display: none;
  }

  .mobile-table-of-contents-link {
    display: block;
  }

  .current-section {
    display: block;
    font-size: 36px;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 660px) {
  .current-section {
    font-size: 32px;
  }
}

@media screen and (max-width: 576px) {
  .current-section {
    font-size: 28px;
  }
}

@media screen and (max-width: 405px) {
  .main-content {
    padding-top: 160px;
  }

  h1 {
    font-size: 32px;
  }

  .current-section {
    font-size: 20px;
  }
}
