:root {
  --primary-colour: #020f64;
  --text-colour-dark: #111;
  --text-colour-light: #fff;
  --bg-colour-blue: #013b60;
  --colour-grey: #d4d4d4;
  --btn-colour: #9ca3af;
  --btn-hover: #6b7280;
  --colour-social-grey: #353535;
}

/**************************/
/* BELOW 1376px (Smaller desktops) */
/**************************/
@media (max-width: 86em) and (orientation: landscape) {
  .feature-img {
    width: 100%;
    height: auto;
  }

  .feature-heading {
    font-size: 3rem;

    /* margin-top: 2rem; */
  }

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

  .feature-details {
    row-gap: 12rem;
    column-gap: 2rem;
  }

  .feature-box {
    padding: 3rem 4rem;
  }
}

/**************************/
/* BELOW 1360px (Smaller desktops) */
/**************************/
@media (max-width: 85em) and (orientation: landscape) {
  .long-text {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .product-item-heading {
    line-height: 1.25;
  }

  .product-item-heading span {
    display: block;
  }
}

/**************************/
/* BELOW 1280px */
/**************************/
@media (max-width: 80em) and (orientation: landscape) {
  .header-home {
    justify-content: space-between;
  }

  .logo-container {
    padding-left: 2rem;
  }

  .language {
    padding-right: 2rem;
  }

  .home-products-text-heading {
    font-size: 3.2rem;
    /* font-weight: 400;
    line-height: 1.4; */
  }

  .home-products-text-body {
    padding-top: 1.2rem;
    font-size: 2rem;
    /* font-weight: 100; */
    line-height: 1.5;
  }

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

  .parts-img {
    height: 30rem;
  }

  .product-item-heading {
    font-size: 2.8rem;
  }

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

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

  .home-products-text-heading {
    font-size: 3rem;
  }

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

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

    /* 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);
  }

  .language {
    /* 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 .language {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(-50%);
    padding-right: 0;
    /* text-align: center; */
    position: absolute;
    left: 50%;
    padding-top: 5rem;
  }

  .nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
    color: var(--text-colour-light);
  }

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

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

  .main-nav-link:link,
  .main-nav-link:visited,
  .main-nav-link-white-text:link,
  .main-nav-link-white-text:visited,
  .current-page,
  .symbol {
    color: var(--text-colour-light);
    font-size: 2.4rem;
    font-weight: 300;
  }

  .main-nav-link.nav-cta:link,
  .main-nav-link.nav-cta:visited,
  .main-nav-link-white-text.nav-cta:link,
  .main-nav-link-white-text.nav-cta:visited {
    padding: 1.5rem 3rem;
  }

  .header-home,
  .header-fix {
    justify-content: space-between;
  }

  .introduction-img {
    width: 60%;
    height: 40rem;
  }

  /* .introduction-img:nth-child(3) {
    padding-top: 0;
  } */

  /* .standard-text {
    margin: 4.8rem auto 1rem;
  } */

  .plastic-bag-text {
    /* width: 60%; */
    margin: 0 6rem;
  }

  .parts-img {
    height: 25rem;
  }

  .product-grid {
    width: 90%;

    margin: 12rem auto;
    row-gap: 8rem;
  }
}

/**************************/
/* BELOW 1072px */
/**************************/
@media (max-width: 67em) {
  .feature-details {
    grid-template-columns: 1fr;
    row-gap: 4rem;
    padding-bottom: 0;
  }

  .features-img {
    width: 80%;
    height: 45rem;
  }

  .feature-details picture:nth-child(4) {
    grid-row: 3;
  }

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

  .features-img:nth-child(8) {
    grid-row: 7;
  }

  .feature-box {
    width: 80%;
    margin-bottom: 10rem;
  }
  .feature-heading {
    align-self: center;
  }

  .feature-text-remark {
    padding-top: 0rem;
  }

  .feature-details {
    margin-bottom: 2rem;
  }

  .feature-box:last-child {
    margin-bottom: 2rem;
  }

  .home-about-img {
    height: 60rem;
  }

  .home-about-text {
    width: 70%;
  }

  .home-about-text-heading {
    font-size: 3.2rem;

    padding-top: 3rem;
  }

  .home-about-text-body {
    font-size: 2rem;

    /* letter-spacing: 0.5px; */
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 2rem;
  }

  .long-text {
    width: 80%;
    /* padding-top: 1rem; */
    /* padding-left: 3.6rem;
    padding-right: 3.6rem; */
  }

  .discover-text {
    font-size: 2.2rem;
    padding: 1rem 2rem;
  }

  .primary-heading-thai {
    padding-top: 6.4rem;
    font-size: 4.8rem;
  }

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

  .footer-logo {
    /* width: 12rem; */
  }

  .footer-logo-img {
    width: 25rem;
    /* width: 12rem; */
  }

  .copyright {
    padding-top: 8rem;
  }

  .footer-contact {
    width: auto;
  }

  .heading-page {
    font-size: 3.8rem;
    padding: 1.5rem 3rem;
  }

  .about-text-heading {
    font-size: 4rem;
    font-weight: 400;
    text-align: center;
  }

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

  .about-description {
    /* padding-top: 8rem; */
    padding-top: 4rem;
    grid-template-columns: 1fr;
    grid-template-rows: 50rem auto 50rem auto;
    /* grid-template-rows: 50rem 20rem 50rem 20rem; */
  }

  .about-img {
    /* height: 40rem; */
    width: 100%;
    object-fit: cover;
    margin: 0 auto;
  }

  .about-description picture {
    height: 40rem;
    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-description picture:nth-child(4) {
    grid-row: 3/4;
  }

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

/**************************/
/* BELOW 1000px */
/**************************/

@media (max-width: 62.5em) {
  .product-item-container {
    padding-top: 4rem;

    padding-bottom: 4rem;
  }

  .parts-gallery {
    padding: 4rem;
  }
}

/**************************/
/* BELOW 960px */
/**************************/
@media (max-width: 60em) {
  .home-products-description {
    width: 80%;
    margin: 0 auto;
    grid-template-columns: auto;
    grid-template-rows: auto;
  }

  .home-products-img:nth-child(4),
  .home-products-description picture:nth-child(4) {
    grid-row: 3;
  }

  /* .home-products-img:nth-child(8),
  .home-products-description picture:nth-child(8) {
    grid-row: 7;
  } */

  .home-products-text {
    text-align: center;
    padding-left: 0rem;
    padding-right: 0rem;
    padding-top: 3.2rem;
  }

  .home-products-text:nth-child(3) p {
    text-align: center;
  }

  .home-products-text:not(:last-child) {
    padding-bottom: 18rem;
  }

  .home-products-text-body {
    text-align: start;
    font-size: 2.2rem;
  }

  .home-products-text:nth-child(7) {
    padding-bottom: 8rem;
  }

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

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

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

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

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

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

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

  .work-item-img {
    height: 100%;
  }

  .product-item-description {
    /* margin: -2rem; */
    height: 25rem;
  }

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

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

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

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

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

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

/**************************/
/* BELOW 896px */
/**************************/
@media (max-width: 56em) {
  .long-text {
    transform: translate(-50%, 60%);

    width: 90%;
  }

  .discover-text {
    font-size: 2rem;
    padding: 0.5rem 1rem;
  }

  .product-item {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    padding-left: 12rem;
    padding-right: 12rem;
  }

  .product-description {
    /* color: var(--text-colour-yellow); */
    width: 100%;
    text-align: center;
    padding-top: 2rem;
  }

  .product-item-container {
    gap: 12rem;
  }

  .plastic-resin-container {
    gap: 6rem;
  }

  .product-item-img {
    height: 40rem;
    /* width: 80%; */
    /* margin: 0 auto; */
    /* align-self: center; */
  }

  .product-type-text-dark {
    color: var(--text-colour-dark);
    font-size: 2rem;
    font-weight: 200;
    line-height: 1.5;
    padding-right: 6rem;
    padding-left: 6rem;
  }

  .product-grid {
    width: 75%;
  }
}

/**************************/
/* BELOW 848px */
/**************************/
@media (max-width: 53em) {
  .standard-text {
    width: 80%;
  }

  .introduction-img,
  .about-img {
    height: 35rem;
  }

  .about-description picture {
    height: 35rem;
  }

  .about-description {
    /* padding-top: 8rem; */
    /* grid-template-columns: 1fr; */
    grid-template-rows: 42rem auto 42rem auto;
    /* grid-template-rows: 35rem 20rem 35rem auto; */
  }

  .about-text {
    padding-bottom: 2rem;
  }

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

  .product-img-container {
    height: 35rem;
  }
}

/**************************/
/* BELOW 784px */
/**************************/
@media (max-width: 49em) {
  .contact-hero-img {
    object-fit: cover;
    /* height: 100%; */
  }

  .parts-gallery {
    grid-template-columns: repeat(2, 1fr);
    /* gap: 1.6rem; */
    gap: 3.2rem;
    padding: 8rem;
  }

  .parts-gallery-item:nth-child(9) {
    grid-column: 1 / span 2;
    /* width: 50%; */
  }

  .parts-gallery-item:nth-child(9) .parts-img {
    width: auto;
    /* justify-content: center;
    align-items: center; */
    margin: 0 auto;
  }
}

/**************************/
/* BELOW 720px */
/**************************/
@media (max-width: 45em) {
  .slide__text {
    padding: 1rem 2rem;
  }

  .slide__text-primary {
    font-size: 3rem;
  }

  .features-img {
    width: 100%;
    height: 35rem;
  }

  .primary-heading,
  .primary-heading-thai {
    font-size: 3.8rem;
  }

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

  .features-item {
    font-size: 3.2rem;
  }

  .feature-box {
    width: 90%;
  }

  .img-slider-description {
    width: 85%;
  }

  .order-list {
    padding-left: 4rem;
    /* padding-bottom: 8rem; */
  }

  .products-list {
    width: 85%;
  }

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

  .home-about-text-short {
    width: 80%;
  }

  .discover-grid {
    display: flex;
    flex-direction: column;
  }

  .discover-item {
    height: 40rem;
  }

  .discover-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .discover-text {
    font-size: 2.4rem;
    padding: 1rem 2rem;
    bottom: 5%;
  }

  .about-text {
    width: 90%;
    margin: 0 auto;
    /* padding-bottom: 16rem; */
    padding-bottom: 2rem;
  }

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

  .tertiary-heading {
    padding-left: 5rem;
    padding-right: 5rem;
  }

  .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: 2.4rem;
    padding-top: 1rem;
    transform: skewY(0);
  }

  .product-item-description {
    /* margin: -2rem; */
    height: 28rem;
  }

  .product-item-heading span {
    display: block;
  }

  .product-item-heading {
    font-size: 2.8rem;
    line-height: 1.2;
  }

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

/**************************/
/* BELOW 624px */
/**************************/
@media (max-width: 39em) {
  .logo-container {
    padding-left: 1rem;
  }

  .img-slider-description {
    padding-top: 2rem;
  }

  .home-products-text-body {
    padding-top: 1.6rem;
  }

  .long-text {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .line-break-option {
    display: block;
  }

  .about-description {
    /* padding-top: 8rem; */
    /* grid-template-columns: 1fr; */
    grid-template-rows: 35rem auto 35rem auto;
    /* grid-template-rows: 35rem 20rem 35rem auto; */
    padding-bottom: 4rem;
  }

  .about-img {
    height: 30rem;
  }

  .about-description picture {
    height: 30rem;
  }

  .contact-qr {
    width: 12rem;
  }

  .contact-heading {
    font-size: 2.8rem;
    font-weight: 400;
  }

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

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

  .parts-gallery {
    display: flex;
    flex-direction: column;
    /* gap: 1.6rem; */
    gap: 8rem;
    padding: 8rem;
  }

  .parts-gallery-item:nth-child(9) .parts-img {
    width: 100%;
    /* justify-content: center;
    align-items: center; */
    margin: 0 auto;
  }

  .parts-img {
    height: 30rem;
  }

  .product-grid {
    width: 85%;
  }
}

/**************************/
/* BELOW 528px */
/**************************/
@media (max-width: 33em) {
  .features-img {
    height: 30rem;
  }

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

  .home-about-text-short {
    width: 90%;
  }

  .home-about-text-body {
    font-size: 1.8rem;
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .introduction-img {
    width: 75%;
  }

  .introduction-img,
  .about-img {
    height: 30rem;
    padding-top: 2rem;
  }

  .standard-text {
    margin-top: 1rem;
  }

  .contact-text,
  .contact-link {
    font-size: 1.8rem;
    margin: 0 2rem;
  }

  .plastic-bag-line-break {
    display: block;
  }

  .plastic-bag-text {
    padding-bottom: 6.4rem;
  }

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

  .products-parts-list {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .products-parts-list li {
    padding-bottom: 3rem;
  }

  .parts-gallery {
    display: flex;
    flex-direction: column;
    /* gap: 1.6rem; */
    gap: 4rem;
    padding: 4rem;
  }

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

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

  .product-img-container {
    height: 30rem;
  }
}

/**************************/
/* BELOW 480px */
/**************************/
@media (max-width: 30em) {
  .feature-box {
    padding: 2rem 3rem;
  }

  .features-img {
    height: 25rem;
  }

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

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

  .img-slider-description {
    font-size: 1.8rem;
  }

  .products-list {
    font-size: 1.8rem;
  }

  .home-products-text-body {
    font-size: 1.8rem;
  }

  .home-products-description {
    width: 90%;
  }

  .home-products-text-heading {
    font-size: 2.4rem;
  }

  .home-products-text-body {
    padding-top: 0.8rem;
  }

  .heading-page {
    font-size: 3rem;
    letter-spacing: 2px;
    padding: 1rem 2rem;
  }

  .standard-text {
    font-size: 1.8rem;
    /* margin-top: 2rem; */
    margin-bottom: 0;
  }

  .introduction-img {
    width: 80%;
  }

  .introduction-img,
  .about-img {
    height: 27rem;
  }

  .about-description picture {
    height: 27rem;
  }

  .about-description {
    grid-template-rows: 30rem auto 30rem auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

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

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

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

  .features-item {
    text-align: center;
    line-height: 1.3;
  }

  .introduction {
    padding-top: 2rem;
    padding-bottom: 3.6rem;
  }

  .introduction-img {
    padding-top: 3rem;
  }

  .contact-container-2 {
    padding-top: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* gap: 12rem; */
    justify-content: space-evenly;
    gap: 9.6rem;
  }

  .normal-text {
    font-size: 1.8rem;
  }

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

  .product-type-heading,
  .product-type-heading-dark {
    font-size: 2.4rem;
  }

  .product-type-text-dark {
    padding-left: 3rem;
    padding-right: 3rem;
    text-align: left;
  }

  .product-item-description {
    /* margin: -2rem; */
    height: 30rem;
  }

  .works-heading {
    font-size: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }

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

/**************************/
/* BELOW 432px */
/**************************/
@media (max-width: 27em) {
  .tertiary-heading {
    font-size: 3rem;
  }

  .products-parts-list {
    /* text-align: left; */
    font-size: 1.8rem;
  }

  .product-img-container {
    height: 25rem;
  }
}

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

@media (max-width: 25em) {
  .slide__text-primary {
    font-size: 2.6rem;
  }

  .primary-heading,
  .primary-heading-thai {
    font-size: 3rem;
  }

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

  .features-item {
    font-size: 2.6rem;
  }

  .feature-box {
    padding: 1rem 2rem;
  }

  .home-about {
    padding-bottom: 45rem;
  }

  .discover-item {
    height: 30rem;
  }

  .social {
    gap: 2rem;
  }

  .plastic-bag-text {
    /* width: 60%; */
    margin: 0 3rem;
  }

  .parts-img {
    height: 25rem;
  }

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

/**************************/
/* BELOW 368px */
/**************************/
@media (max-width: 23em) {
  .slide__text-primary {
    font-size: 2.3rem;
  }

  .home-products-text-heading {
    font-size: 2.2rem;
  }

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

  .copyright {
    line-height: 1.5;
  }

  .introduction-img {
    width: 90%;
  }

  .introduction-img {
    height: 25rem;
  }

  .about-img {
    height: 22rem;
  }

  .about-description picture {
    height: 22rem;
  }

  .about-text {
    padding: 2rem;
    padding-top: 0;
    /* padding-bottom: 12rem; */
  }

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

  .standard-text {
    /* margin-top: 3.2rem; */
  }

  .about-description {
    padding-top: 3rem;
  }

  .works-heading {
    font-size: 2.6rem;
  }

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

  .product-item-heading {
    font-size: 2.2rem;
    font-weight: 400;
  }

  .product-item-description {
    padding: 1rem 2rem;
  }
}

/**************************/
/* BELOW 352px */
/**************************/
@media (max-width: 22em) {
}

/**************************/
/* BELOW 320px */
/**************************/
@media (max-width: 20em) {
  .slide__text-primary {
    font-size: 2rem;
  }

  .primary-heading,
  .primary-heading-thai {
    font-size: 2.6rem;
  }

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

  .features-item {
    font-size: 2.2rem;
  }

  .home-products-text-heading br {
    display: none;
  }

  .home-about {
    padding-bottom: 52rem;
  }

  .discover-item {
    height: 25rem;
  }

  .parts-img {
    height: 20rem;
  }

  .works-heading {
    font-size: 2.4rem;
    padding: 2rem 1rem;
  }

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

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

/**************************/
/* BELOW 288px */
/**************************/
@media (max-width: 18em) {
  .btn-mobile-nav {
    padding-right: 1rem;
  }

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

  .footer-contact-item {
    gap: 0.8rem;
  }

  .home-about {
    padding-bottom: 55rem;
  }

  .social {
    gap: 1.6rem;
  }
}
