/*--- Extra large devices (large desktops, 1400px and up) -----*/

@media (min-width: 992px) {
  .container {
    max-width: 170rem;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ------ Medium devices (tablets, 991px and down) -----*/

@media (max-width: 991px) {
  html {
    font-size: 0.85vw;
  }

  body {
    font-size: 2.2rem;
  }

  #preloader .icon {
    width: 13rem;
    margin-bottom: 6rem;
  }

  .loading-text .letter {
    font-size: 3rem;
  }

  .header_content {
    padding-bottom: 1.6rem;
  }

  .menu {
    display: block;
    text-align: center;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: -1;
    padding: 10rem 0 2rem;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    opacity: 0;
    pointer-events: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 4.5rem;
  }

  .menu.open {
    left: 0;
    opacity: 1;
    pointer-events: all;
  }

  .menu li a {
    font-size: 3.2rem;
  }

  .right_menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-column-gap: 3rem;
    -moz-column-gap: 3rem;
    column-gap: 3rem;
  }

  .menu_toggle {
    display: block;
    width: 4rem;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    cursor: pointer;
  }

  .hero_bannar img {
    width: 100%;
    margin-top: 3rem;
  }

  .hero_section .hero_title {
    padding-top: 5rem;
    text-align: center;
  }

  .hero_section .hero_title br {
    display: none;
  }

  .portfolio_paragraph p {
    font-size: 2.2rem;
  }

  .portfolio_wrapper {
    padding: 8rem 3rem;
  }

  .portfolio_card p {
    text-align: left;
  }

  .portfolio_card_gaps {
    margin-top: 5rem;
  }

  .portfolio_card_gaps {
    --bs-gutter-x: 7rem;
    --bs-gutter-y: 7rem;
  }

  .audio_production_content {
    text-align: center;
    padding-bottom: 3rem;
  }

  .audio_production_content p {
    font-size: 2.2rem;
  }

  .title_md {
    font-size: 4.5rem;
  }

  .film_production_wrapper .row {
    --bs-gutter-y: 4rem;
  }

  .film_production_packages ul li {
    font-size: 2rem;
  }

  .film_sets_content {
    margin-bottom: 5rem;
  }

  .film_sets_paragraph {
    font-size: 2.2rem;
    max-width: 104.8rem;
  }

  .photography_packages ul li {
    font-size: 2rem;
  }

  .photography_camera img {
    width: 20rem;
    margin-left: 8rem;
  }

  .photography_packages_gaps {
    --bs-gutter-x: 0;
    --bs-gutter-y: 7rem;
  }

  .about_section {
    text-align: center;
  }

  .about_content .about_btn {
    display: none;
  }

  .credit_item img {
    height: 18rem;
  }

  .credits_wrapper {
    padding: 10rem 3rem 10rem;
  }

  .community_initiatives_content p,
  .community_paragraph_box h6 {
    font-size: 1.8rem;
  }

  .community_slider {
    position: unset;
    width: 100%;
    height: auto;
    padding-top: 6rem;
  }

  .community_slider img {
    margin-top: 0;
    margin-right: 2rem;
  }

  .contact_icon img {
    width: 12rem;
  }

  .contact_icon p {
    font-size: 2rem;
  }

  .film_production_packages .button {
    margin-top: 2rem;
  }
}

/*----- xs devices (landscape phones, 575px and down) -----*/

@media (max-width: 575px) {
  html {
    font-size: 1.2vw;
  }

  .container {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .search_form input {
    width: 25rem;
  }

  body {
    font-size: 3.2rem !important;
  }

  .menu li a {
    font-size: 3.6rem;
  }

  .hero_section .hero_title {
    font-size: 13rem;
    line-height: 1.2;
  }

  .hero_section .hero_title img {
    width: 12rem;
  }

  .service_section {
    padding-bottom: 6rem;
  }

  .portfolio_paragraph p,
  .audio_production_content p,
  .film_production_wrapper .title_box p,
  .film_sets_paragraph {
    font-size: 3.2rem;
  }

  .film_production_packages ul li {
    font-size: 2.6rem;
  }

  .portfolio_card {
    display: block;
    text-align: center;
  }

  .portfolio_card p {
    text-align: center;
    margin-top: 4rem;
  }

  .portfolio_wrapper {
    margin-left: -3rem;
    margin-right: -3rem;
  }

  .film_production_wrapper .row {
    --bs-gutter-y: 1rem;
    padding-top: 0;
  }

  .film_production_packages {
    margin-top: 5rem;
  }

  .photography_packages ul li {
    font-size: 2.6rem;
  }

  .photography_packages {
    margin-bottom: 5rem;
  }

  .community_initiatives_content p,
  .community_paragraph_box h6 {
    font-size: 2.6rem;
  }

  .community_initiatives_content .text {
    width: 65rem;
  }

  .community_initiatives_gallery {
    gap: 10rem;
    padding-left: 6rem;
    margin-top: 2rem;
  }

  .photography_packages_gaps {
    --bs-gutter-x: 0;
    --bs-gutter-y: 2rem;
    padding-top: 6rem;
  }

  .community_initiatives_content p br {
    display: none;
  }

  .contact_icon img {
    width: 20rem;
  }

  .contact_icon p {
    font-size: 3.6rem;
    padding-top: 4rem;
    margin-bottom: 4rem;
  }

  .live_wrapper .live_logo {
    width: 65rem;
  }

  .button {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .search_form button {
    top: 0.5rem;
  }

  .footer_content p {
    padding-top: 3rem;
    font-size: 3.5rem;
  }
}
