@import url("./hamburger.css");

/* Phones */
@media (max-width: 575.98px) {
  .pageNotFound {
    gap: 4rem;
  }
  .mini-caption {
    letter-spacing: 3px;
    margin-left: 5px;
    font-size: 0.84rem;
  }

  .h2 {
    font-size: 1.6rem;
  }

  .h3 {
    font-size: 1.4rem;
  }

  .h4 {
    font-size: 1.2rem;
  }

  p {
    font-size: 1rem;
    line-height: 28px;
    color: #565656;
  }

  .wrapper-width {
    padding-inline: 1.2em;
    margin-inline: auto;
    max-width: 100%;
  }

  .landing--welcome {
    z-index: 1;
  }

  /* .landing--nav > nav, */
  .landing--nav > .landing--nav-customer-service {
    display: none;
  }

  .landing--nav {
    position: relative;
  } /* Menu button styling remains the same */
  .menu-button {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
    z-index: 100;
  }

  .menu-button--lines,
  .menu-button--lines::before,
  .menu-button--lines::after {
    width: 1.5rem;
    height: 0.2rem;
    background-color: #111111;
    transition: all 0.5s ease-in-out;
  }

  .menu-button--lines::before,
  .menu-button--lines::after {
    content: "";
    position: absolute;
  }

  .menu-button--lines::before {
    transform: translateY(-0.5rem);
  }

  .menu-button--lines::after {
    transform: translateY(0.5rem);
  }

  .menu-button.open .menu-button--lines {
    background-color: transparent;
  }

  .menu-button.open .menu-button--lines::before {
    transform: rotate(45deg) translate(0.35rem, -0.35rem);
    background-color: ghostwhite;
  }

  .menu-button.open .menu-button--lines::after {
    transform: rotate(-45deg) translate(0.35rem, 0.35rem);
    background-color: ghostwhite;
  }

  /* Hide the menu initially */
  .menu-items {
    position: fixed; /* Fixed positioning to cover the full screen */
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    height: 100vh; /* Full viewport height */
    width: 100vw; /* Full viewport width */
    background-color: #009932;
    transform: translateX(100vw); /* Hide off the screen */
    transition: transform 0.5s ease-in-out;
    z-index: 10;
    display: none; /* Hide initially */
  }

  /* Display menu when open */
  .menu-items.open {
    transform: translateX(0); /* Slide in from the right */
    display: flex; /* Make it visible */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
  }

  .menu-items ul {
    list-style: none; /* Remove default list styling */
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .menu-items a {
    display: block;
    padding: 1rem;
    color: #fff;
    font-size: 2.4rem;
    text-decoration: none;
    width: 100%;
    text-align: center; /* Center text */
  }

  .menu-items li a:hover {
    color: #111;
    background-color: ghostwhite;
  }

  .landing--welcome > div {
    display: block;
    padding-top: 2rem;
  }

  .landing--welcome > div > div {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .landing--welcome-home {
    width: 100%;
  }

  .landing--welcome h1 {
    font-size: 2.8rem;
    font-weight: 400;
    margin-top: 15px;
  }

  .landing--welcome-description {
    max-width: 95%;
    font-size: 1.2rem;
    margin-top: 1rem;
  }

  .landing--welcome .landing--image-container {
    display: none;
  }

  .landing--about > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4rem;
    align-items: flex-start;
    padding-block: 1rem;
  }

  .landing--about > div > div {
    max-width: 100%;
  }

  .landing--about-img {
    order: 2;
  }

  .landing--about-text {
    order: 1;
  }

  .landing--products-and-services {
    min-height: 80vh;
  }

  .landing--products-and-services > img {
    display: none;
  }

  .landing--products-and-services-items {
    flex-direction: column;
    gap: 1rem;
  }

  .landing--features-all {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
  }

  /* .landing--features-all p {
    font-size: 1.3rem;
    line-height: 28px;
  } */

  .landing--features-two {
    margin-left: 80px;
    margin-bottom: -2rem;
  }

  .landing--features-three {
    margin-left: 0;
  }

  .landing--choose-carchick {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .landing--choose-carchick-1-content-heading {
    font-size: 1.4rem;
    color: #242124;
  }

  div.landing--choose-carchick-1-content + p {
    padding-top: 1.4rem;
  }

  .landing--choose-carchick-title {
    margin-bottom: 2rem;
  }

  .landing--how-it-works-all {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 4rem;
  }

  .landing--how-it-works-1 {
    order: 2;
  }

  .landing--how-it-works-2 {
    order: 1;
  }

  .landing--how-it-works-2 .h3 {
    font-size: 1.4rem;
    color: #242124;
  }

  .landing--contact-us-one,
  .landing--contact-us-two {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
  }

  .landing--contact-us-one > div,
  .landing--contact-us-two > div,
  .landing--contact-us-three {
    width: 100%;
  }

  .landing--contact-us label {
    color: #272d37;
    font-weight: 500;
  }

  .landing--contact-us input,
  .landing--contact-us textarea {
    width: 100%;
  }

  .landing--contact-us-btn {
    margin-top: 2rem;
    justify-content: flex-start;
  }

  .landing--newsletter > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    align-items: flex-start;
  }

  .landing--welcome-newsletter-form {
    max-width: 100%;
  }

  .landing--welcome-newsletter-form input::placeholder {
    font-size: 0.75rem;
  }

  .landing--newsletter-text {
    display: flex;
    flex-direction: column;
  }

  .landing-newsletter-text-header {
    font-size: 1.6rem;
    line-height: 36px;
  }

  .landing-newsletter-text-header + p {
    margin-bottom: 1.4rem;
  }

  .landing--footer > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
    align-items: flex-start;
  }

  .landing--footer p,
  .landing--footer li {
    font-size: 1rem;
    line-height: 28px;
    color: #a5acba;
  }

  /* Tablet */
  @media (min-width: 575.98px) and (max-width: 991.98px) {
    body {
      background-color: green;
    }
  }

  /* Desktops */
  @media (min-width: 992px) and (max-width: 1600px) {
    body {
      background-color: red;
    }
  }

  /* Extra large devices */
  @media (min-width: 1600px) {
    body {
      background-color: black;
    }
  }
}
