@-ms-viewport {
  width: device-width;
}

/* desktop */
@media screen and (max-width: 1200px) {
  /* app features */
  .app-features-vector {
    top: 43%;
    right: 9rem;
  }

  .app-features-cards {
    padding-right: 0rem;
    padding-left: -2rem;
  }

  .app-features-card {
    width: 100%;
  }

  /* shop meal */
  .shop-meal-text {
    width: 400px;
  }

  /* testimonial */
  .testimonial-slider {
    width: 100%;
    padding: 0 2rem;
  }

  /* discovery */
  .discovery {
    height: 350px;
  }

  .discovery-title {
    font-size: 2.6rem;
    width: 100%;
    margin-top: 0;
    line-height: 1;
  }

  /* footer */
  .footer-text {
    width: 100%;
  }

  .custom-input {
    width: 100%;
  }

  .footer-sub-text {
    font-size: 0.7rem;
  }
}

/* tablet */
@media screen and (max-width: 991px) {
  /* utitlies */
  .content-md {
    padding: 3rem 0;
  }

  .generic-heading {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  /* header/navigation */
  .header .nav-item {
    margin-bottom: 0.2rem;
  }

  .header .nav-item.active::after {
    left: 2%;
    transform: translateX(0);
  }

  .btn-shopping-primary {
    margin-top: 0.4rem;
  }

  /* hero */
  .hero {
    padding: 2rem 0 0;
  }

  .hero-heading {
    font-size: 2rem;
    width: 100%;
  }

  .hero-text {
    font-size: 1rem;
    width: 80%;
  }

  .hero-img {
    margin-top: -2rem;
  }

  /* app features */
  .app-features-img {
    width: 200px;
  }

  .app-features-vector {
    top: 45%;
  }

  .app-features-cards {
    padding-right: 0rem;
    padding-left: -2rem;
  }

  .app-features-card {
    width: 100%;
  }

  .app-features-icon {
    width: 55px;
    height: 55px;
  }

  .app-features-title {
    font-weight: 1.2rem;
  }

  .app-features-text {
    font-size: 0.9rem;
    line-height: 20px;
  }

  /* shop meal */
  .shop-meal-img {
    width: 400px;
  }

  .shop-meal-content {
    padding: 2rem;
  }

  .shop-meal-title {
    font-size: 1.8rem;
    letter-spacing: 0.06rem;
    margin-bottom: 1rem;
  }

  .shop-meal-vector {
    display: none;
  }

  .shop-meal-text {
    width: 300px;
  }

  /* testimonial */
  .testimonial .generic-heading {
    width: 80%;
    margin: 1rem auto 1rem;
  }

  .testimonial .generic-text {
    width: 60%;
    margin: 1rem auto 0;
  }

  .testimonial-slider {
    width: 90%;
    padding: 0 2rem;
    margin: auto;
  }

  .testimonial-slide {
    width: 100%;
    padding: 0.5rem;
    margin: 1rem;
  }

  /* discovery */
  .discovery {
    height: 350px;
  }

  .discovery-title {
    font-size: 2rem;
    width: 100%;
    margin-top: 0;
    line-height: 1;
  }

  .discovery-img-container {
    display: flex;
    align-items: flex-end;
  }

  .discovery-app-links {
    margin-bottom: 1rem;
  }

  /* app screenshots */
  .screenshot-slider {
    padding: 0 2rem;
  }

  .screenshot-slide {
    padding: 1rem;
  }

  .screenshot-slide-title {
    font-size: 1rem;
  }

  .screenshot-slide-img {
    width: 100%;
    padding-left: 1rem;
    margin-bottom: 0;
  }

  /* footer */
  .footer-text {
    width: 100%;
  }

  .custom-input {
    width: 100%;
  }
}

/* mobile */
@media screen and (max-width: 767px) {
  /* utitlies */
  .content-md {
    padding: 3rem 0;
  }

  .generic-heading {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  /* header */
  .header .navbar {
    padding: 2rem 0 1rem;
  }

  /* navbar */
  .navbar {
    display: flex;
    width: 100%;
  }

  .navbar-brand {
    width: 170px;
  }

  .header .nav-item.active::after {
    left: 5%;
    transform: translateX(0);
  }

  /* hero */
  .hero {
    width: 100%;
    padding: 1rem 0 0;
  }

  .hero .container {
    width: 100%;
  }

  .hero-heading {
    font-size: 1.6rem;
    text-align: center;
    padding-left: 0;
    width: 100%;
  }

  .hero-text {
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }

  .hero-app-links {
    display: flex;
    justify-content: center;
    padding-left: 1rem;
  }

  .app-link svg {
    width: 120px;
  }

  .hero-vector {
    bottom: -2.8rem;
    left: 15%;
  }

  .hero-img-container {
    margin-top: 2rem;
  }

  .hero-img {
    position: relative;
    margin-top: 0;
    width: 450px;
    z-index: 11;
  }

  /* app-features */
  .app-features-img {
    width: 100%;
    margin: 1rem auto 0;
    padding-left: 2rem;
  }

  .app-features-cards {
    padding-right: 0;
    padding: 2rem;
  }

  .app-features-card {
    width: 100%;
  }

  .app-features-vector {
    top: 47%;
    right: 9rem;
  }

  /* shop meal */
  .shop-meal-img {
    width: 400px;
  }

  .shop-meal-content {
    padding: 2rem;
  }

  .shop-meal-title {
    font-size: 1.8rem;
    letter-spacing: 0.06rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .shop-meal-text {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
    text-align: center;
  }

  /* testimonial */
  .testimonial .content-md {
    padding-top: 1rem;
  }

  .testimonial .generic-heading {
    width: 80%;
    margin: 1rem auto 1rem;
  }

  .testimonial .generic-text {
    margin-top: 1rem;
  }

  .testimonial-slider {
    width: 100%;
    padding: 0 2rem;
  }

  .testimonial .slick-arrow {
    width: 25px;
    height: 25px;
    padding: 0.4rem;
  }

  .slick-prev {
    margin-left: 28px;
  }

  .slick-next {
    margin-right: 28px;
  }

  .testimonial-slide {
    width: 100%;
    padding: 0.5rem 1rem;
    margin: 1rem;
  }

  .testimonial-img {
    margin: 0.5rem auto;
  }

  .testimonial-text {
    margin-left: 0;
    font-size: 0.9rem;
  }

  .testimonial-content {
    flex-direction: column;
    margin-bottom: 1rem;
  }

  .testimonial-author-name {
    font-size: 1rem;
  }

  .testimonial-author-role {
    font-size: 0.8rem;
  }

  /* discovery */
  .discovery {
    height: 720px;
  }

  .discovery-content {
    order: 1;
    padding-left: 1rem;
    text-align: center;
  }

  .discovery-img-container {
    order: 2;
  }

  .discovery-title {
    font-size: 2rem;
    width: 100%;
    text-align: center;
    margin-top: 0;
    line-height: 1;
  }

  .discovery-app-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    padding-left: 0.8rem;
  }

  .discovery-img {
    margin-top: 2rem;
    margin-bottom: -0.8rem;
  }

  /* app screenshots */
  .screenshot-slider {
    padding: 0;
  }

  .screenshot-slide {
    padding: 1rem;
  }

  .screenshot-slide-title {
    font-size: 1rem;
  }

  .screenshot-slide-img {
    width: 100%;
    margin-bottom: 0;
  }

  /* footer */
  .footer-text {
    width: 100%;
  }

  .custom-input {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .shop-meal {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .shop-meal-img-container,
  .shop-meal-content {
    width: 100%;
  }

  .shop-meal-img-container {
    justify-content: center;
  }

  .shop-meal-text {
    font-size: 1rem;
  }
}

@media screen and (max-width: 500px) {
  .shop-meal-content,
  .shop-meal-heading {
    padding: 1rem;
  }

  .shop-meal-content {
    height: auto;
    padding: 1rem 0;
  }

  /* discovery */
  .discovery {
    height: 750px;
  }
}

@media screen and (min-width: 1300px) {
  .container {
    width: 1280px;
    max-width: 1360px;
  }
}

@media screen and (min-width: 1441px) {
  .header {
    height: auto;
    min-height: auto;
  }
}
