:root {
  --primary-colour: #003863;
  --text-colour-dark: #111;
  --text-colour-light: #f1f2f2;
}

/**************************/
/* BELOW 1376px (Smaller desktops) */
/**************************/
@media (max-width: 86em) and (orientation: landscape) {
  .slider {
    height: 85vh;
  }

  .slide__text {
    bottom: 10%;
  }

  .link-text {
    white-space: nowrap;
  }

  .product-grid {
    width: 90%;
  }

  .services-h3 {
    padding-top: 9.6rem;
  }

  .service-item-description {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/**************************/
/* BELOW 1366px (iPad Pro 12.9 inch landscape) */
/**************************/
@media (min-width: 1365px) and (max-width: 1366px) and (orientation: landscape) {
  .services-h3 {
    padding-top: 0;
  }

  .heading-products {
    bottom: 20%;
  }
}

/**************************/
/* BELOW 1360px (Smaller desktops) */
/**************************/

@media (max-width: 85em) and (orientation: landscape) {
  .slide__text {
    left: 6%;
  }

  .link-text {
    white-space: nowrap;

    padding: 3rem 4.8rem;
  }

  .link-text-body {
    font-size: 2.2rem;
    padding-top: 2.4rem;
    letter-spacing: 0.2px;
  }
}

/**************************/
/* BELOW 1280px */
/**************************/

@media (max-width: 80em) and (orientation: landscape) {
  .slider {
    height: 80vh;
  }

  .slide__text {
    font-size: 6.4rem;
    bottom: 20%;
  }

  .primary-heading {
    /* font-size: 5.6rem; */
    font-size: 4.6rem;
  }

  .contact-text {
    line-height: 1.5;
    font-size: 2rem;
  }

  .container-3d {
    gap: 6rem;
  }

  .product-item-text,
  .service-item-text {
    font-size: 1.6rem;
  }

  .service-item-heading {
    font-size: 2.4rem;
  }

  .service-item-description {
    height: 50rem;
  }

  .service-item-long {
    height: 60rem;
  }
}

/**************************/
/* BELOW 1180px */
/**************************/
@media (max-width: 1180px) and (orientation: landscape) {
  .service-item-description {
    height: 55rem;
  }

  .service-item-long {
    height: auto;
  }
}

/**************************/
/* BELOW 1152px */
/**************************/
@media (max-width: 72em) {
  .primary-heading {
    font-size: 4.6rem;
  }

  .product-item-heading,
  .service-item-heading {
    font-size: 2.6rem;
  }

  .product-item-description {
    padding-left: 2.4rem;
    padding-right: 2.4rem;
  }

  .product-button,
  .product-button:link,
  .product-button:visited {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    font-size: 1.6rem;
  }

  .service-item-heading {
    line-height: 1.2;
  }

  .services-grid {
    grid-template-columns: auto;
    gap: 8rem;
  }

  .service-item-description {
    height: auto;
  }

  .service-item-long {
    height: auto;
  }

  .services-items {
    width: 70%;
    margin: 10.8rem auto;
  }

  .ttmn-container {
    padding: 8rem 12rem;
  }

  .qr-code-heading br {
    display: block;
  }
}

/**************************/
/* BELOW 1072px */
/**************************/

@media (max-width: 67em) {
  .logo {
    height: 4.8rem;
    padding-left: 2.4rem;
  }

  .main-nav-link:link,
  .main-nav-link:visited,
  .current-page {
    font-size: 1.4rem;
    font-weight: 400;
  }

  .slide__text {
    bottom: 12%;
  }

  /* .header {
    height: 6rem;
  }

  .header-home {
    height: 6rem;
  } */

  .secondary-heading {
    font-size: 3.2rem;
    font-weight: 500;
  }

  .heading-3 {
    font-size: 2rem;
    font-weight: 300;
  }

  .description-text {
    font-size: 1.4rem;
    padding: 0 1.4rem;
  }

  .link-text {
    white-space: nowrap;
  }

  .about-name-text {
    width: 80%;
    font-size: 1.8rem;
    padding: 2rem 0 4rem;
  }

  .about-text-heading {
    font-size: 4rem;
    font-weight: 500;
  }

  .about-text-body {
    padding-top: 2rem;
    font-size: 1.8rem;
    line-height: 1.7;
  }

  .about-text-heading {
    padding-top: 4rem;
    text-align: center;
  }

  .about-description {
    grid-template-columns: 1fr;
    grid-template-rows: 50rem auto 50rem auto;
  }

  .about-img {
    height: 100%;
    width: 80%;
    object-fit: cover;
    margin: 0 auto;
  }

  .about-text {
    width: 85%;
    margin: 0 auto;
    padding-bottom: 16rem;
  }

  .about-text:nth-child(3) {
    padding-bottom: 2rem;
  }

  .about-img:nth-child(4) {
    grid-row: 3/4;
  }

  .product-hero-img {
    height: 100%;
  }

  .product-hero-img-container {
    grid-template-rows: 90vh;
  }

  .product-item-heading,
  .service-item-heading {
    font-size: 2.4rem;
  }

  .product-item-text,
  .service-item-text {
    padding-top: 1.2rem;
    line-height: 1.5;
  }

  .arrow-icon {
    height: 4rem;
    width: 4rem;
  }

  .btn-left {
    left: -8px;
  }

  .btn-right {
    right: -8px;
  }

  .modal {
    top: 10rem;
    width: 70%;
  }

  .container-photos {
    display: flex;
    flex-direction: column;
    height: auto;
    align-items: center;
    gap: 8rem;
    width: 80%;
  }

  .services-photos {
    position: static;
    width: 80%;
  }

  .services-photos:hover {
    outline: none;
    transform: none;
    box-shadow: none;
    /* z-index: 20; */
  }

  .services-h3 {
    padding-top: 6rem;
  }

  .service-item-heading {
    text-align: center;
  }

  .service-item-description {
    padding: 3rem;
  }

  .service-item-text {
    line-height: 1.8;
  }

  .projects-container {
    grid-template-rows: repeat(4, 30rem);
  }
}

@media (max-width: 67em) and (orientation: portrait) {
  .slider {
    height: 88vh;
  }

  .main-nav-list {
    gap: 8rem;
  }
}

/**************************/
/* BELOW 1024px */
/**************************/
@media (max-width: 64em) and (orientation: portrait) {
  .container-3d {
    gap: 8rem;
  }

  .product-feature-text {
    line-height: 1.3;
  }

  .product-item-img {
    height: 40rem;
  }

  .product-item-description {
    height: 40rem;
  }

  .product-grid {
    width: 90%;
  }

  .contact-text {
    line-height: 1.5;
  }
}

@media (max-width: 64em) {
  .product-btn:hover {
    color: var(--text-colour-light);
  }
  .product-btn:active {
    color: var(--primary-colour);
  }

  /* .product-img-container,
  .service-img-container {
    position: relative;
    transition: all 0.1s;
  } */

  .product-img-container:hover,
  .service-img-container:hover {
    outline: none;
  }

  /* .product-img-container:active,
  .service-img-container:active {
    outline-offset: -0.5rem;
    outline: 0.5rem solid var(--text-colour-dark);
  } */
}

/**************************/
/* BELOW 960px */
/**************************/

@media (max-width: 60em) and (orientation: landscape) {
  .slider {
    height: 62vh;
  }
  .slide__text {
    font-size: 4rem;
    bottom: 20%;
  }
}

@media (max-width: 60em) {
  .main-nav-link:link,
  .main-nav-link:visited,
  .current-page {
    font-size: 1.2rem;
  }

  .main-nav-list {
    gap: 8rem;
  }

  .address-grid {
    padding-top: 8rem;
    /* grid-template-rows: repeat(3, 1fr); */

    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* column-gap: 2.4rem; */
  }

  /* .contact-text-heading {
    text-decoration: underline;
  } */

  .contact-text-body {
    padding-bottom: 4rem;
    line-height: 1.5;
    font-size: 1.8rem;
  }

  /* .header {
    height: 5.2rem;
  } */

  /* .header-home {
    height: 5.2rem;
  } */

  .product-feature-text {
    font-weight: 300;
    font-size: 1.6rem;
  }

  .product-grid {
    grid-template-columns: auto;
    grid-template-rows: repeat(8, auto);

    gap: 0;
    margin: 8rem auto;
    width: 65%;
  }

  /* .product-img-container {
    height: 20rem;
  } */

  .product-img-container:nth-child(4) {
    grid-row: 3/4;
  }

  .product-img-container:nth-child(8) {
    grid-row: 7/8;
  }

  .product-img-container:not(:first-child) {
    margin-top: 8rem;
  }

  .pages-h2 {
    padding-top: 6rem;
  }

  .container-3d {
    margin-top: 8rem;
  }

  .pages-features {
    padding-bottom: 6rem;
  }

  .arrow-icon {
    height: 4rem;
    width: 4rem;
  }

  .product-item-description {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .product-item-heading {
    text-align: center;
  }

  .product-button,
  .product-button:link,
  .product-button:visited {
    align-self: center;
    margin-top: 4rem;
  }

  .product-item-text {
    line-height: 1.8;
    padding-top: 3rem;
  }

  .modal-description {
    margin: 3rem 3rem;
  }

  .qr-code-heading {
    padding-bottom: 3.2rem;
  }
}

/**************************/
/* BELOW 896px */
/**************************/

@media (max-width: 56em) {
  .slide__text {
    font-size: 5.6rem;
  }

  .modal {
    top: 9rem;
    width: 70%;
  }

  .services-h3 {
    font-size: 2.4rem;
  }

  .services-items {
    width: 80%;
  }

  .projects-container {
    grid-template-rows: repeat(4, 20rem);
  }
}

@media (max-width: 56em) and (orientation: landscape) {
  .slide__text {
    font-size: 4rem;
  }
}

/**************************/
/* iPad Pro 11 834px & iPad Air 820px portrait */
/**************************/
@media (min-width: 820px) and (max-width: 834px) and (orientation: portrait) {
  .product-grid {
    width: 75%;
  }

  .product-item-description {
    height: auto;
    justify-content: start;
  }
}
/**************************/
/* BELOW 848px */
/**************************/

@media (max-width: 53em) {
  .slider {
    height: 82vh;
  }

  .main-nav-list {
    gap: 6rem;
  }

  .slide__text {
    font-size: 5.2rem;
  }

  .feature-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 8rem;
    padding: 8rem 18rem 8rem;
  }

  .description-text {
    font-size: 1.4rem;
    text-align: center;
  }

  .link-text-heading {
    font-size: 4.8rem;
  }

  .link-text-body {
    font-size: 2rem;
  }

  .footer-container-1 {
    flex-direction: column;
    align-items: center;
    gap: 6.4rem;
  }

  .footer-container-2 {
    flex-direction: column;
    align-items: center;
    gap: 2.4rem;
  }

  .product-item-text {
    padding-top: 1.4rem;
  }

  .product-button,
  .product-button:link,
  .product-button:visited {
    margin-top: 2rem;
  }

  .service-item-description {
    padding: 4rem;
  }

  .service-item-heading {
    padding-bottom: 1.5rem;
  }

  .ttmn-container {
    padding: 6rem 8rem;
  }

  .qr-code-heading {
    font-size: 2.4rem;
  }
}

/**************************/
/* iPhone 14 844px - Landscape */
/**************************/
@media (min-width: 843px) and (max-width: 844px) {
  .slider {
    height: 65vh;
  }

  .slide__text {
    font-size: 3.2rem;
  }
}

/**************************/
/* iPad Air 820px orientation: portrait */
/**************************/

@media (min-width: 819px) and (max-width: 820px) and (orientation: portrait) {
  .slide__text {
    left: 5%;
    /* left: 12%; */
    bottom: 18%;
  }
}

/**************************/
/* iPhone X 812px orientation: landscape */
/**************************/
@media (min-width: 811px) and (max-width: 812px) {
  .slider {
    height: 65vh;
  }

  .slide__text {
    font-size: 4rem;
  }

  .heading-products {
    white-space: nowrap;
  }
}

/**************************/
/* BELOW 784px */
/**************************/
@media (max-width: 49em) {
  .slide__text {
    bottom: 16%;
  }

  /* MOBILE NAVIGATION */
  .btn-mobile-nav {
    display: block;
    z-index: 9999;
    padding-right: 2rem;
  }

  .primary-heading {
    font-size: 3.6rem;
  }

  .main-nav {
    background-color: var(--primary-colour);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* height: 100%; */
    /* transform: translateX(100%); */

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.5s ease-in;

    /* Hide navigation */
    /* Allows NO transition at all */
    /* display: none; */

    /* 1) Hide it visually */
    opacity: 0;

    /* 2) Make it unaccessible to mouse and keyboard */
    pointer-events: none;

    /* 3) Hide it from screen readers */
    visibility: hidden;
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-open .icon-mobile-nav[name='close-outline'] {
    display: block;
  }

  .nav-open .icon-mobile-nav[name='menu-outline'] {
    display: none;
  }

  .main-nav-list {
    flex-direction: column;
    gap: 12rem;
    padding-right: 0;
  }

  .main-nav-link:link,
  .main-nav-link:visited,
  .current-page {
    font-size: 2.4rem;
  }

  .slide__text {
    font-size: 4.6rem;
  }

  /* .primary-heading {
    position: absolute;
    left: 10%;
    bottom: 10%;
    transform: translateX(0);
  } */

  .about-text {
    width: 95%;
  }

  .contact-text-body {
    font-size: 1.6rem;
  }

  .about-contact {
    padding: 8rem 4rem;
  }

  .contact-text {
    text-align: center;
  }

  .email-icon {
    height: 3.6rem;
    width: 3.6rem;
  }

  .contact-email-text {
    font-size: 1.8rem;
  }

  .product-feature-text {
    line-height: 1.2;
  }

  .product-grid {
    width: 75%;
  }

  .services-items {
    width: 90%;
  }
}

/**************************/
/* BELOW 736px */
/**************************/

@media (max-width: 736px) and (orientation: landscape) {
  .main-nav-list {
    gap: 8rem;
  }
}

/**************************/
/* BELOW 720px */
/**************************/
@media (max-width: 45em) {
  .container-3d {
    flex-direction: column;
    align-items: center;
    gap: 8rem;
  }

  .item-3d {
    width: 70%;
    gap: 2rem;
  }

  .item-3d:not(:first-child) {
    margin-left: 0;
    /* transition: 1s; */
  }

  .img-3d {
    transform: skewY(0);
  }

  .product-feature-text {
    font-size: 2rem;
    transform: skewY(0);
  }

  .modal {
    top: 10rem;
    /* width: 70%; */
  }

  .pages-h2 {
    font-size: 2.8rem;
  }

  .services-h3 {
    font-size: 2rem;
  }
}
/**************************/
/* iPhone SE 667px - Landscape */
/**************************/
@media (min-width: 666px) and (max-width: 667px) {
  .slider {
    height: 65vh;
  }

  .slide__text {
    font-size: 3.2rem;
  }
}

/**************************/
/* BELOW 624px */
/**************************/
@media (max-width: 39em) {
  .slide__text {
    font-size: 4rem;
  }

  .feature-container {
    padding: 8rem 10rem;
  }

  .link-text-heading {
    font-size: 3.2rem;
  }

  .link-text-body {
    font-size: 1.6rem;
    padding-top: 2rem;
  }

  .link-text {
    padding: 2rem 3rem;
  }

  .primary-heading {
    font-size: 2.8rem;
  }

  .about-name-logo {
    height: 8rem;
  }

  .about-name-heading-primary {
    font-size: 3.2rem;
  }

  .about-name-heading-secondary {
    font-size: 3.2rem;

    letter-spacing: 3px;
    /* padding-top: 4rem; */
  }

  .about-name-text {
    font-size: 1.6rem;
    padding-top: 2rem;
    padding-bottom: 4.8rem;
    width: 85%;
    margin: 0 auto;
    line-height: 1.5;
    letter-spacing: -0.2px;
  }

  .about-name-text-container {
    padding-top: 4rem;
  }

  .about-name {
    padding-bottom: 3.2rem;
  }

  .about-description {
    grid-template-rows: 25rem auto 25rem auto;
  }

  .about-text-body {
    font-size: 1.6rem;
  }

  .about-text {
    /* width: 85%;
    margin: 0 auto; */
    padding-bottom: 12rem;
  }

  .product-grid {
    width: 85%;
  }

  .modal {
    width: 85%;
  }

  .pages-h2 {
    font-size: 2.4rem;
  }

  .services-h3 {
    font-size: 1.8rem;
  }

  .ttmn-container {
    padding: 6rem 4rem;
  }

  .qr-code-heading {
    font-size: 2rem;
  }

  .qr-code-img {
    height: 15rem;
    width: 15rem;
  }

  .projects-container {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
  }

  .pp-img {
    height: 25rem;
  }

  .product-item-description {
    height: auto;
    justify-content: start;
  }
}

/**************************/
/* BELOW 528px */
/**************************/
@media (max-width: 33em) {
  .about-text {
    padding-left: 0;
    padding-right: 0;
    width: 85%;
  }

  .primary-heading {
    font-size: 2.2rem;
    padding: 2rem 2rem;
  }

  .pages-h2 {
    font-size: 2.2rem;
  }

  .services-h3 {
    font-size: 1.6rem;
  }

  .service-item-description {
    padding: 3rem 2rem;
  }
}
/**************************/
/* BELOW 480px */
/**************************/
@media (max-width: 30em) and (orientation: portrait) {
  .slide__text {
    bottom: 15%;
  }

  .slider {
    height: 80vh;
  }

  /* .product-hero-img-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 30vh);
    
  } */

  .product-hero-img-container {
    display: none;
  }

  .product-hero-img-mobile {
    display: block;
  }

  .heading-products {
    animation: moveFromBottom 1s ease-out;
  }

  .product-grid {
    width: 90%;
  }

  .product-item-text,
  .service-item-text {
    font-size: 1.6rem;
  }
}

@media (max-width: 30em) {
  .slide__text {
    font-size: 3.6rem;
  }

  .logo {
    height: 3.8rem;
    padding-left: 1.8rem;
  }

  .btn-mobile-nav {
    padding-right: 1.8rem;
  }

  .sticky .header-home {
    height: 6rem;
  }

  .secondary-heading {
    font-size: 2.6rem;
    line-height: 1.5;
    font-weight: 500;
  }

  .feature-container {
    padding: 6rem;
  }

  .link-text {
    top: 10%;
  }

  .link-text-body {
    font-size: 1.4rem;
  }

  .footer-logo-img {
    height: 12rem;
  }

  .footer-social-logo,
  .social-icon {
    height: 3.2rem;
    width: 3.2rem;
  }

  .footer-container-2 {
    padding: 2rem;
  }

  .about-name-text,
  .about-text-body,
  .contact-text-body,
  .contact-email-text {
    /* font-size: 1.4rem; */
    font-size: 1.6rem;
  }

  .contact-text-heading {
    font-size: 2rem;
  }

  .contact-email {
    padding-top: 4rem;
    gap: 1rem;
  }
  .service-item-heading {
    font-size: 2rem;
  }

  .services-items {
    width: 92%;
  }

  .ttmn-container {
    padding: 4rem;
  }

  .ttmn-name br {
    display: block;
  }

  .ttmn-name {
    text-align: center;
    line-height: 1.5;
  }

  .qr-code-heading {
    font-size: 1.8rem;
  }

  .product-item-img {
    height: auto;
  }
}

/**************************/
/* BELOW 432px */
/**************************/
@media (max-width: 27em) {
  .slide__text {
    font-size: 3.2rem;
    line-height: 1.4;
  }

  .logo {
    padding-left: 1rem;
  }

  .btn-mobile-nav {
    padding-right: 1rem;
  }

  .secondary-heading {
    font-size: 2.4rem;
  }

  .feature-container {
    padding: 6rem 4rem;
  }

  .feature {
    gap: 1.4rem;
    /* flex-wrap: wrap; */
  }

  /* .link-text {
    background-color: transparent;
    text-shadow: 3px 3px 4px black;
  } */

  .link-text-body {
    padding-top: 1.2rem;
  }

  .link-text {
    padding: 1.6rem 2rem;
  }

  .about-name {
    padding-top: 4.8rem;
  }

  .about-name-logo {
    height: 6rem;
  }

  .about-name-heading-primary {
    font-size: 2.2rem;
  }

  .about-name-heading-primary span {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 4px;
  }

  .about-name-heading-secondary {
    font-size: 2.8rem;

    letter-spacing: 2px;
    /* padding-top: 4rem; */
  }

  .about-name-heading-secondary span {
    font-size: 4.8rem;
  }

  .about-text-heading {
    font-size: 2.8rem;
  }

  .about-text {
    /* padding-left: 0;
    padding-right: 0; */
    width: 92%;
  }

  .primary-heading {
    white-space: nowrap;
  }

  .item-3d {
    width: 80%;
  }

  .pages-h2 {
    font-size: 1.8rem;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
    padding-top: 5rem;
  }

  .container-photos {
    gap: 4rem;
    width: 90%;
  }

  .services-h3 {
    margin-left: 0.2rem;
    margin-right: 0.2rem;
  }

  .services-h3 br {
    display: none;
  }

  .service-item-heading {
    line-height: 1.3;
    font-size: 1.9rem;
  }

  .testimonials-h2 {
    font-size: 3rem;
    font-weight: 700;
    padding-top: 6.4rem;
  }

  .testimonials-h3 {
    font-size: 2.6rem;
  }
  .qr-code-heading {
    font-size: 1.6rem;
  }

  .products-h2 {
    font-size: 2.4rem;
  }
}

/**************************/
/* BELOW 400px */
/**************************/

@media (max-width: 25em) {
  .main-nav-list {
    gap: 8.4rem;
  }
  .slide__text {
    font-size: 2.6rem;
    left: 4%;
    bottom: 22%;
  }

  .slider {
    height: 74vh;
  }

  .secondary-heading {
    font-size: 2rem;
  }

  .link-text-body br {
    display: block;
  }

  .link-text-body {
    /* padding-top: 1.5rem; */
    line-height: 1.3;
    letter-spacing: 0.1px;
  }

  .heading-3 {
    font-size: 1.8rem;
  }

  .description-text {
    font-size: 1.2rem;
  }

  .feature-container {
    padding: 6rem 2rem;
  }

  .primary-heading {
    font-size: 2rem;
    padding: 2rem 1.5rem;
  }

  .pages-h2 {
    font-size: 2.4rem;
  }

  .product-feature-text {
    font-size: 1.8rem;
  }

  .item-3d {
    width: 90%;
  }

  .product-grid {
    width: 95%;
  }

  .product-item-description {
    padding-top: 3rem;
    padding-bottom: 4rem;
    gap: 1rem;
  }

  .product-item-description {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }

  .modal {
    width: 90%;
  }

  .modal-description {
    margin: 3rem 1.2rem;
  }

  .ttmn-container {
    padding: 4rem 2rem;
  }

  .pp-img {
    height: 20rem;
  }
}

/**************************/
/* BELOW 368px */
/**************************/

@media (max-width: 23em) {
  .footer-social-logo,
  .social-icon {
    height: 2.4rem;
    width: 2.4rem;
  }

  .social {
    gap: 2.8rem;
  }

  .footer-container-1 {
    gap: 4.8rem;
  }

  .copyright {
    font-size: 0.8rem;
  }

  .contact-img {
    width: 80%;
    outline: 3px solid #111;
  }

  .services-items {
    width: 95%;
    margin-top: 6.4rem;
  }

  .service-item-description {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .service-item-text {
    padding-top: 0.6rem;
  }

  .service-item-heading {
    padding-bottom: 0.5rem;
    font-size: 1.7rem;
    text-decoration: underline;
  }

  .qr-code-heading br {
    display: none;
  }

  .pp-text {
    font-size: 1.6rem;
  }
}

/**************************/
/* BELOW 352px */
/**************************/

@media (max-width: 22em) {
  /* .main-nav-list {
    gap: 10.8rem;
  } */

  .icon-mobile-nav {
    height: 4rem;
    width: 4rem;
  }

  .slide__text {
    font-size: 2rem;
    left: 4%;
  }

  .link-text-heading {
    font-size: 2.8rem;
  }

  .link-text-body {
    font-size: 1.2rem;
  }

  .primary-heading {
    font-size: 1.8rem;
    padding: 2rem 1rem;
  }

  .about-description {
    grid-template-rows: 18rem auto 20rem auto;
  }

  .about-img {
    width: 90%;
  }

  .about-contact {
    padding: 6rem 1rem;
  }
}

/**************************/
/* BELOW 320px */
/**************************/
@media (max-width: 20em) {
  .secondary-heading {
    font-size: 1.8rem;
  }

  .heading-3 {
    font-size: 1.6rem;
  }

  .feature-container {
    padding: 6rem 0;
  }

  .about-name-text {
    /* font-size: 1.6rem;
    padding-top: 2rem;
    padding-bottom: 4.8rem; */
    width: 90%;
    letter-spacing: 0.2px;
  }

  .primary-heading {
    font-size: 1.6rem;
    padding: 2rem 0.8rem;
  }

  .about-name-heading-primary {
    font-size: 2rem;
  }
}

/**************************/
/* BELOW 288px */
/**************************/
@media (max-width: 18em) {
  .link-text-heading {
    font-size: 2.4rem;
  }

  .link-text-body {
    font-size: 1rem;
  }
}
