@media (max-width: 1300px) {
  #home {
    height: auto;
  }
 }

@media (max-width: 1100px) {
  /* Burger Navbar */
 .nav-links {
   position: fixed;
   right: 0px;
   left: 0px;
   height: 100%;
   top: 0px;
   padding: 0;
   margin: 0;
   background-color: var(--light-orange);
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   transform: translateX(100%);
   transition: transform 0.4s ease-in;
   z-index: 3;
 }
 .carousel__nav {
  bottom: -35%;
}
 #home {
  height: auto;
}

 .navbar {
   position: static;
 }

 #logo-link {
   z-index: 5;
 }
.nav-active {
  transform: translateX(0);
}

 html, body {
   overflow-x: hidden;
 }

.body-wrapper {
    overflow-x: hidden;
}

 .burger {
   display: block;
   cursor: pointer;
   z-index: 5;
 }

 .nav-links a {
   opacity: 0;
   padding: 10px 0;
   margin: 30px 30px;
 }

  .btn-container {
    display: none;
  }
  .film-carousel {
    height: 420px;
  }
/* ------------------- */

.text-container h3 {
  padding-right: 5%;
}
#locations .text-container {
  width: 60%;
}
.services-num-text {
  width: 80%;
}
.production-num-text {
  width: 85%;
}
.production-text h3{
  padding-right: 30%;
}
.container {
  width: 90%;
}
.contact-detail-container {
  width: 80%;
}

.locations-grid {
  grid-template-columns: repeat(2, 1fr);
}
.locations-grid img {
  height: 240px;
}
.films-container img {
  height: 200px;
}
.service__content-box p{
  width: 80%;
}
}
@media (max-width: 980px) {
  .hero-logo:nth-child(n+17) {
    display: none;
  } 
}
@media (max-width: 950px) {
  .hero-logo:nth-child(n+17) {
    display: none;
  } 
  .carousel__nav {
    bottom: -15%;
  }
  body {
    font-size: 11px;
  }
  .carousel__caption-nav {
    bottom: 45px;
  }

  .item-vid-container {
    flex-direction: column;
    margin: 50px 0;
    align-items: flex-start;
  }
  .number-text-container {
    width: 65%;
  }
  .boutique-container {
    margin: 100px 0;
  }

  #locations .text-container {
    width: 80%;
  }

  .show-reel-container {
    align-self: flex-start;
    margin: 30px 0;
  }
  .locations-grid img {
    height: 180px;
  }
  .film-video-container {
    width: max(280px, 70%);
  }
  .service__content-box p{
    width: 90%;
  }
}

@media (max-width: 830px) {
  body {
    font-size: 10px;
  }
  .show-when-830 {
    display: block;
  }
  #work-list-window {
    border-radius: 15px;
  }
  .locations-grid img {
    width: 100%;
    height: 160px;
  }
  .numbers .dash-text {
    left: 50px;
  }
  #locations .dash-text {
    left: -140px;
  }
  .queries-container p {
    width: 80%;
  }
  .carousel__caption-nav {
    bottom: 10px;
    font-size: 5px;
  }
  .show-types {
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .show-types h4 {
    letter-spacing: 2px;
  }

  #search {
    margin-right: 0;
  }
  .search-field {
    flex-direction: column;
  }
  .films-container {
    grid-template-columns: repeat(2, 1fr);
    width: 80%;
  }
  .film-carousel {
    height: 850px;
  }
  .close-circle {
    top: -20px;
    width: 40px;
    height: 40px;
  }
  .service-box__image {
    display: none;
  }
  .icon-image-container {
    justify-content: center;
    margin: 0;
  }
  .service__content-box {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .film-video-container {
    width: max(280px, 80%);
  }
  .production-text h3 {
    padding-right: 20%;
  }
}

@media (max-width: 700px) {
  #home {
    height: auto;
  }
  .hero-logo {
    width: 75px;
    height: 75px;
  }
  #production-bg-img {
    padding-bottom: 70px;
  }
  body {
    font-size: 9px;
  }
  html {
    font-size: 11px;
  }
  .interview-container {
    width: 160px;
    height: 160px;
    margin-right: 20px;
  }
  .carousel__indicator {
    margin: 5px;
    width: 7px;
    height: 7px;
  }
  .carousel__caption {
    bottom: 45px;
  }
  .smaller-container {
    width: 85%;
  }
  .top-contacts {
    left: -20px;
    top: 100px;
  }
  .instagram, .twitter {
    padding: 1px;
    margin: 5px;
  }
  .top-contacts img {
    width: 15px;
  }
  .top-header {
    font-size: 5.5em;
  }

  .item-vid-container {
    margin: 30px 0;
  }
  .services-num-text {
    width: 90%;
    padding: 60px 0;
  }
  .production-num-text {
    width: 90%;
    padding-top: 60px;
  }
  .locations-grid {
    margin-bottom: 80px;
  }
  .logo img {
    width: 60px;
  }

  #bg-img-sec {
    padding-bottom: 50px;
  }
  #locations {
    position: relative;
    margin: 0;
  }
  #work-list-window h2 {
    padding-bottom: 20px;
  }
  .close-circle {
    top: -15px;
    width: 30px;
    height: 30px;
    padding: 8px;
  }
  .film-carousel {
    height: 1050px;
  }
  /* shortening all grids */
  .films-container img {
    height: 250px;
  }
  .films-container {
    gap: 8px 5px;
    width: 95%;
  }
  .each-icon-container {
    width: 130px;
    height: 125px;
  }
  .each-icon-container img{
    object-fit: scale-down;
    height: 50%;
  }
  .each-icon-container h4{
    font-size: 1.5rem;
  }
  .logo-container {
    width: 150px;
    height: 150px;
    margin: 10px 8px;
  }
  .logo-container img{
    width: 100%;
    height: auto;
  }

  /* fix contact details */
  .seperator {
    width: 80px;
    height: 2px;
    margin: 15px 0;
  }
  .contact-detail-container {
    flex-direction: column;
  }
  .each-contact-item {
    width: 100%;
  }
  .each-contact-item .header{
    padding-bottom: 0;
  }
  #address p {
    text-align: center;
  }
  #phone p {
    text-align: center;
  }
  .film-video-container {
    width: max(280px, 90%);
  }
  .service__content-box p{
    width: 100%;
  }
}
@media (max-width: 640px) {

}
@media (max-width: 580px) {
  .hero-logo:nth-child(n+9) {
    display: none;
  } 
  .navbar {
    padding: 20px 0;
  }
  .carousel__nav {
    bottom: -20%;
  }
  .smaller-container {
    width: 90%;
  }
  #home {
    height: auto;
  }
  .interview-container {
    width: 130px;
    height: 130px;
    margin-right: 10px;
  }
  .caption-text {
    font-size: 9px;
    font-weight: 400;
  }
  .logo img {
    width: 50px;
  }
  .rotated p {
    font-size: 10px;
  }
  #contact {
    margin-bottom: 0;
  }
  #bg-halfway-image {
    display: none;
  }
  .boutique-container {
    margin-top: 40px;
    margin-bottom: 90px;
  }
  .show-reel-container {
    width: 380px;
    height: 220px;
  }
  .play-button {
    display: flex;
  }
  .top-header {
    font-size: 4em;
  }
  html {
    font-size: 10px;
  }
  .dash-text h1, .dash-text h2 {
    font-size: 0.9rem;
    margin-left: 10px;
  }
  .logo-container {
    width: 120px;
    height: 120px;
    margin: 8px 4px;
  }
  .films-container img {
    height: 200px;
  }
  .films-container {
    gap: 2px 4px;
  }
  .films .container {
    width: 95%;
  }
  .number-text-container {
    width: 100%;
  }
  .number {
    font-size: 11em;
  }
  .each-icon-container {
    width: 110px;
    height: 105px;
    margin: 8px 4px;
  }
  .each-icon-container h4{
    font-size: 1.2rem;
  }
  .services-num-text {
    width: 100%;
  }
  .production-num-text {
    width: 100%;
  }
  .services-text h3 {
    padding: 0;
  }

  .queries-container p {
    width: 100%;
  }
  .locations-grid img {
    height: 140px;
  }
  #locations .smaller-container {
    width: 85%;
  }
  #locations .text-container {
    width: 100%;
  }
  #locations .number-text-container {
    margin: 20px 0;
  }
  #contacts .smaller-container {
    width: 100%;
  }
  .top-header {
    font-size: 3.8em;
  }
  body {
    font-size: 8.5px;
  }
  .show-types {
    flex-direction: column;
    align-items: flex-start;
  }
  .show-types h4{
    letter-spacing: 5px;
    padding-bottom: 5px;
  }
  .item-vid-container {
    margin-bottom: 5px;
  }
  #work-list-window {
    border-radius: 20px;
    left: 0;
    right: 0;
    top: 120px;
  }
  #work-list-window h2 {
    font-size: 2.5em;
  }
  #image-overlay img {
    width: 15px;
    height: 15px;
  }
  .film-carousel {
    height: 820px;
  }
  .current-film::after {
    content: none;
  }
  .current-service::after  {
    bottom: -50px;
  }
  .film-video-container {
    width: max(280px, 95%);
  }
  .show-reel-container {
    width: 300px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  #home {
    height: auto;
  }
  .films-container img {
    height: 180px;
  }
  .locations-grid img {
    height: 110px;
  }
  .film-carousel {
    height: 730px;
  }
}

@media (max-width: 420px) {
  .top-header {
    font-size: 28px;
  }
  .films-container img {
    height: 160px;
  }
  body {
    font-size: 8px;
  }
  .dash-text h1, .dash-text h2 {
    font-size: 0.85rem;
  }
  .film-carousel {
    height: 660px;
  }
}

@media (max-width: 380px) {
  .production-text h3{
    padding-right: 5%;
  }
  .films-container img {
    height: 140px;
  }
  .film-carousel {
    height: 575px;
  }
  #home {
    height: auto;
  }
}

@media (max-height: 320px) {
  body {
    font-size: 7.5px;
  }
  html {
    font-size: 9.5px;
  }
  .dash-text h1, .dash-text h2 {
    font-size: 0.8rem;
  }
}
