/* ========================= SCREEN < 1024 ========================= */

@media screen and (max-width: 1024px) {
  /* ========== HEADER ========== */

  .nav-toggler {
    display: block;
  }

  .nav-toggler.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggler.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggler.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: rgba(24, 21, 19, 0.973);
    width: 100%;
    text-align: center;
    transition: 0.3s;
  }

  .nav-item {
    margin: 16px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .main-text {
    font-size: 20px !important;
  }

  .section-one-title {
    font-size: 30px !important;
  }

  .section-one-content {
    font-size: 15px !important;
    letter-spacing: 3px !important;
  }
  /* ========== OUR TEAM ========== */

  .team-main-section-two {
    height: 65vmax;
  }

  /* ========== GALLERY ========== */

  .gallery__images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__images img {
    min-height: 350px;
  }
}

/* ========================= PORTAIT SCREEN < 768 ========================= */

@media screen and (max-width: 768px) {
  /* ========== FOOTER ========== */

  .footer-section {
    padding-bottom: 1.4rem;
  }

  /* ========== OUR TEAM ========== */

  .team-main-section-two {
    height: 95vmax;
    padding: 100px 0 600px 0;
  }
  .team-two-container h2 {
    text-align: center;
  }
  .team-two-wrapper {
    display: flex;
    flex-direction: column;
  }
  .team-img-wrapper {
    width: 100%;
    padding: 50px 0;
  }
  .team-img-wrapper img {
    width: 25vh;
  }
  .team-list-wrapper {
    width: 100%;
    text-align: center;
    padding: 0 20px 50px 20px;
  }
  .team-list-name {
    margin: 50px 0 25px 0;
  }
  .dot {
    list-style: none;
    margin: 10px 0 0 0;
  }

  /* ========== GALLERY ========== */

  .gallery__images {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gallery__images img {
    min-height: 250px;
  }
}

/* ========================= PORTAIT SCREEN < 600 ========================= */

@media screen and (max-width: 600px) {
  /* ========== INDEX ========== */
  .index-background {
    background-image: url("/assets/img/mobile/ybsm-background_01-mobile.webp");
  }

  .index-two-background {
    background-image: url("/assets/img/mobile/ybsm-background_02-mobile.webp");
  }

  /* ========== GALLERY ========== */

  .gallery__container {
    width: 95vw;
    /* padding: 3rem 0; */
  }
}

/* ========================= LANDSCAPE SCREEN < 560 ========================= */

@media screen and (max-height: 560px) {
  /* ========== CONTACT ========== */

  .form-wrapper {
    padding: 0;
    height: 100%;
  }

  .input-wrapper {
    flex-direction: row;
  }

  .input-wrapper-inputs {
    flex-direction: column;
    margin-right: 35px;
  }

  .input-wrapper textarea {
    height: 30vmin;
  }

  .input-wrapper-inputs input {
    height: 12vmin;
    padding: 1vmin 15px;
  }

  .btn {
    height: 10vmin;
  }
}
