/**************************/
/* BELOW 1344px (smaller desktop) */
/**************************/

@media (max-width: 84em) {
  .header {
    width: 100%;
    height: 100vh;
  }

  .heading-primary {
    font-size: 4.4rem;
  }

  .card {
    height: 28rem;
  }

  .container {
    max-width: 80%;
  }

  .section-info-header {
    max-width: 90%;
  }

  .margin-bottom {
    margin-bottom: 16rem;
  }

  h1 {
    font-size: 6rem;
  }
  h2 {
    font-size: 5rem;
  }
}

@media (max-width: 80em) {
  .card {
    height: 35rem;
  }
}

/* MAX WIDTH : 1040PX */
@media (max-width: 65em) {
  .card {
    height: 27.5rem;
  }

  header {
    background-image: linear-gradient(
        rgba(34, 34, 34, 0.45),
        rgba(34, 34, 34, 0.45)
      ),
      url(images/Kitchen3.jpg);

    background-size: cover;
  }
}

/* BELOW 848 PX*/
@media (max-width: 53em) {
  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 1.3rem;
    /* padding: 3.3rem 0rem; */
  }

  .nav-call-us {
    font-size: 1.3rem;
  }

  .services,
  .section-info {
    width: 100%;
  }

  h1 {
    font-size: 5rem;
  }
  h2 {
    font-size: 4rem;
  }

  .body-text-content {
    font-size: 1.6rem;
  }
  .grid-contact {
    grid-template-columns: repeat(1, 1fr);
  }
  .container-contact {
    width: 90%;
  }

  .grid--2-cols {
    grid-template-columns: repeat(1, 1fr);
  }

  input[type="text"],
  select,
  textarea {
    width: 95%;
  }

  .services-header {
    text-align: center;
    margin-bottom: 3rem;
  }

  .margin-bottom {
    margin-bottom: 6rem;
  }

  .about-us_title {
    text-align: center;
  }

  .footer-link:link,
  .footer-link:visited {
    font-size: 1.2rem;
  }

  .footer-heading {
    font-size: 1.4rem;
  }

  .copyright-text {
    font-size: 1.2rem;
  }

  .social-text {
    font-size: 1.2rem;
  }

  .social-icon {
    height: 1.6rem;
    width: 1.6rem;
  }
  .copyright {
    width: 100%;
  }

  .footer-link {
    font-size: 1.5rem;
  }

  .icons-contact {
    height: 1.5rem;
    width: 1.5rem;
  }

  .grid--footer {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .nav-col--1 {
    order: 1;
  }
  .nav-col--2 {
    order: 3;
  }
  .nav-col--3 {
    order: 3;
  }
  .nav-col--4 {
    order: 2;
  }
}

/* max-width 600px */
@media (max-width: 37.5em) {
  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 1.2rem;
    /* padding: 3.3rem 0rem; */
  }
  .main-nav-list {
    gap: 2.4rem;
  }
  .main-nav {
    padding: 2rem;
  }

  .header-container {
    max-width: 80%;
    margin-top: 16rem;
  }

  .btn:link,
  .btn:visited {
    padding: 1.2rem 2rem;
    font-size: 2.4rem;
  }

  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 2rem;
  }

  .contact-column {
    width: 90%;
  }

  input[type="submit"] {
    width: 10rem;
  }

  .logo {
    height: 3rem;
  }

  .main-nav {
    display: block;
    align-items: center;
    margin: 0 auto;
  }
  .main-nav-list {
    justify-content: space-between;
  }
  .logo {
    display: block;
    height: 5rem;
    margin: 0 auto;
  }

  .header {
    height: 80vh;
  }

  .header-container {
    max-width: 80%;
    margin-top: 8rem;
  }

  h1 {
    font-size: 3rem;
  }

  .slogan {
    font-size: 1.5rem;
    text-transform: none;
  }

  .services-header {
    text-align: center;
    margin-bottom: 1.2rem;
  }

  .margin-bottom {
    margin-bottom: 2rem;
  }
  .margin-top {
    margin-top: 1.5rem;
  }

  .card {
    height: 25rem;
  }
  .icon-wrapper {
    height: 1.5rem;
    width: 1.5rem;
  }

  .footer-link {
    font-size: 1.2rem;
  }
}

@media (min-width: 0) {
  header {
    background-image: linear-gradient(
        rgba(34, 34, 34, 0.45),
        rgba(34, 34, 34, 0.45)
      ),
      url(images/Background-mobile.jpg);

    background-size: cover;
  }
}
