/* *************************************************** */
/* **************************** MAX WIDTH - 770px */
/***************************************************** */
@media (max-width: 770px) {
  body,
  html {
    overflow-x: hidden;
  }

  /* -------------------------------- HEADER SECTION */
  #header {
    height: 4rem;
  }

  .nav-list {
    gap: 1.2rem;
  }

  .contact-link {
    font-size: 0.9rem;
  }

  .nav-icon {
    width: 1rem;
    height: 1rem;
  }

  /* -------------------------------- MAIN SECTION */
  #main {
    height: 36rem;
    width: 100%;
  }

  video {
    height: 100%;
    width: 70rem;
    object-fit: cover;
    object-position: center;
  }

  .main-content {
    width: 90%;
  }

  #main-logo {
    width: 14rem;
  }

  .main-title {
    font-size: 3.2rem;
    letter-spacing: 2.2px;
  }

  .title-support {
    font-size: 1.3126rem;
    letter-spacing: 1px;
  }

  /* -------------------------------- ABOUT TOP SECTION */
  #about {
    width: 70%;
  }

  .section-main-title {
    font-size: 1.4rem;
  }

  .emphasize {
    font-size: 1.6rem;
  }

  .about-flex {
    display: flex;
    flex-direction: column;
  }

  .about-img {
    width: 26rem;
  }

  .p-review {
    width: 100%;
    bottom: -15%;
  }

  /* -------------------------------- ABOUT BOTTOM SECTION */

  .owner {
    max-width: 70%;
    margin: 8rem auto 0;
  }

  .owner-hr {
    width: 7rem;
  }

  .owner-img {
    width: 26rem;
    height: 26rem;
  }

  /* -------------------------------- CTE SECTION */
  .commitment-content {
    max-width: 70%;
  }

  .commitment-p > .about-p {
    width: 90%;
    width: auto;
    font-size: 1rem;
    line-height: 1.3;
  }

  .commitment-accolades {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .accolade {
    height: 24rem;
  }

  .acco-heading h4 {
    font-size: 2.4rem;
  }

  .acco-overlay {
    padding: 2.4rem;
  }

  .acco-overlay-heading {
    font-size: 1.8rem;
  }
  .acco-icon {
    width: 2.4rem;
    height: 2.4rem;
  }

  .acco-description {
    font-size: 1.2rem;
  }

  /* -------------------------------- PROJECTS SECTION */
  .project-section {
    max-width: 70%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .project {
    width: 100%;
    height: 22rem;
    margin: auto;
  }

  .p1,
  .p2,
  .p2 {
    background-size: cover;
  }

  .project-section
    > .section-header
    > .section-title-group
    > .section-main-title {
    font-size: 1.2rem;
  }

  .project-p > .about-p {
    font-size: 1rem;
    width: 100%;
  }

  /* -------------------------------- CAPABILITIES SECTION */
  .cap-header {
    max-width: 70% !important;
  }
  .capability {
    height: 18rem !important;
  }

  .capability-title {
    font-size: 2rem;
  }

  .capabilities-grid {
    max-width: 85%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, 1fr);
    align-items: center;
  }

  /* -------------------------------- REVIEWS SECTION */
  .rev-header {
    max-width: 75%;
  }
  .review-wrapper {
    max-width: 75%;
    margin-top: 2rem;
    padding: 2rem 2.8rem;
  }

  .review-image {
    height: 10rem;
  }

  .rev-img {
    width: 10rem;
    height: 10rem;
  }

  .reviewer {
    font-size: 1.2rem;
  }

  .dm,
  .r2,
  .pr {
    height: 16rem;
  }

  .reviewer-business {
    font-size: 0.8rem;
  }

  .next-btn,
  .prev-btn {
    width: 2.4rem;
    height: 2.4rem;
  }

  /* -------------------------------- CONNECT SECTION */
  #connect {
    max-width: 85%;
    margin: auto;
  }

  .con-header {
    width: 100% !important;
    padding-right: 0 !important;
  }

  .connect-form,
  .connect-container {
    max-width: 100% !important;
  }
  .final {
    width: 100%;
  }

  /*  ************************************  */
  /*  * * * * * ABOUT PAGE * * * * * * * *  */
  /*  ************************************  */
  .about-left-side {
    padding-left: 4.8rem;
    padding-right: 4.8rem;
  }

  .about-white-logo {
    width: 100%;
  }

  .about-right-side {
    padding-left: 4.8rem;
    padding-right: 4.8rem;
  }

  .about-grid {
    width: 100%;
    margin-top: 2.6rem;
    margin-bottom: 1.8rem;
  }

  .tall-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 2rem;
  }

  #about-body #connect {
    max-width: 100%;
  }

  #about-page-header {
    max-width: 100% !important;
    margin: 0;
  }

  /*  ************************************  */
  /*  * * * * * POJECTS PAGE * * * * * * * *  */
  /*  ************************************  */
  .project-directory {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* ************************************* TIMELINE NAV */
  .project-timeline-nav {
    flex-direction: row;
    width: auto;
  }

  .p-timeline-sticky {
    position: fixed;
    top: 1rem;
  }

  .timeline-btn-icon,
  .nav-date {
    transition: all 0.02s;
  }

  .nav-hr {
    width: 1rem;
    transform: rotate(0);
    margin: auto auto;
  }

  .nav-hr:first-of-type,
  .nav-hr:last-of-type {
    margin: auto auto;
  }

  .timeline-btn-icon {
    width: 3rem !important;
    height: 3rem !important;
    color: #002437 !important;
  }

  .project-timeline-nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem;
  }

  .nav-date.nd-active {
    color: #002437 !important;
    font-size: 1.4rem !important;
  }

  .nav-date {
    font-size: 1.2rem;
    text-align: center;
    color: rgb(0, 36, 55, 0.7);
    transition: all 0.02s;
  }

  .timeline-link:link,
  .timeline-link:visited {
    text-decoration: none;
    transition: all 0.02s;
  }

  .timeline-button:hover,
  .timeline-btn-icon:hover,
  .nav-date:hover {
    cursor: pointer;
    color: #8099a7;
    transform: scale(1.05);
  }

  .directory-content {
    max-width: 100%;
  }

  .p-main-content {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 2rem;
    max-width: 60vw;
    padding: 6.4rem 0 4.8rem;
    position: relative;
  }

  .p-main-intro {
    grid-row: 1 / 2;
  }

  .p-main-image {
    grid-row: 2 / 3;
  }

  .p-main-img {
    width: 100%;
    height: 100%;
  }

  .main-hist-btns {
    position: relative;
    top: 0;
  }
}
