body {
  font-size: 14px;
}

body,
section,
header,
footer,
main {
  min-width: 0;
  width: 100%;
  overflow-x: hidden;
}

form .row {
  flex-wrap: wrap;
  flex-direction: column;
  row-gap: 20px;
}

form .half,
form .third {
  width: 100%;
}

input,
textarea,
select {
  font-size: .9em;
}

.is-compact .fancybox__content>.f-button.is-close-btn {
  width: 50px;
  min-width: 0;
  max-width: 50px;
  height: 50px;
  overflow: hidden;
}

form button {
  width: 100%;
  margin-bottom: 10px;
}

input,
textarea,
select {
  font-size: .9em;
}

.modal {
  min-width: 100%;
}

/* Menu */
/* Header */
#main-header {
  position: sticky;

  /* navigation */
  nav {

    /* Logo */
    .logo-wrap {

      .logo {
        height: 50px;
      }
    }

    button {
      display: none;
    }

    /* Main Menu */
    menu {
      display: none;

    }
  }
}

/* Desktop Menu */
.desktop-menu {
  position: fixed;
  left: -40%;
  filter: opacity(0);
  top: 0;
  width: 35%;
  padding: 5%;
  z-index: 100;
  height: 100vh;
  overflow: hidden;
  transition: left 1s, filter 1s;
  display: block;
}

.desktop-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 40px;
  font-size: 1.1em;
  position: relative;
  z-index: 2;
  transition: .3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#desktop-menu-btn {
  width: 35px;
  position: relative;
  cursor: pointer;
  transition: all .3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  row-gap: 6px;
}

#desktop-menu-btn>div {
  height: 3px;
  position: relative;
  transition: all .3s;
  width: 100%;
}

#desktop-menu-btn:hover>div {
  background-color: #006568 !important;
}

#desktop-menu-btn:hover>div.l2 {
  width: 60%;
}

#desktop-menu-btn:hover>div.l3 {
  width: 35%;
}

.desktop-menu a:hover {
  color: #006568 !important;
}

#desktop-menu-btn:active {
  transform: scale(.9);
}

#desk-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  height: 30px;
  cursor: pointer;
  transition: all .5s;
  z-index: 2;
}

.desktop-menu .overlay {
  filter: opacity(.85);
}

.slide-left {
  left: 0 !important;
  filter: opacity(1);
}

.desktop-menu {
  left: -100%;
}

#desktop-menu-btn {
  width: 40px;
}

#desktop-menu-btn>div {
  height: 4px;
}

.desktop-menu {
  width: 100%;
  padding-top: 60px;
}


.hero {
  height: 60vh;

  .content {
    padding-top: 30px;

    h1 {
      font-size: 2.2em;

      span {
        display: flex;
        flex-direction: column;
      }
    }
  }
}

.home {

  .hero {
    height: fit-content;
    min-height: 50dvh;
    padding: 50px 5%;

    .content {
      width: 100%;
      padding: 0;

      h1 {
        font-size: 1.8em;
        line-height: 100%;
        padding: 0;
        text-wrap: balance;

        span {
          line-height: 100%;
          position: relative;
          margin-bottom: 20px;
          font-size: 1.2em;
        }
      }

      button {
        margin-top: 20px;
        background-color: #cba854;
      }
    }
  }

  .sec1 {
    min-height: 0;
    height: fit-content;
    overflow: hidden;
    padding: 60px 5%;

    .title {
      font-size: 2em;
    }

    h3 {
      font-size: 2em;
    }

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

    p {
      font-size: 1.1em;
    }
  }

  .sec2 {
    padding: 0 5% 50px;

    .title {
      font-size: 2em;
      line-height: 100%;
    }

    p {
      font-size: 1.4em;
    }

    .bento {
      grid-template-columns: repeat(1, 1fr);

      .one, .two, .three {
        height: 350px;
        padding: 20px;

        .info {
          font-size: 1em;
        }
      }
    }
  }

  .sec3 {
    padding: 50px 5%;

    .title {
      font-size: 2em;
    }
  }

  .sec4 {
    padding-top: 60px;

    .product-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 50px;

      .product {

        .img {
          height: 250px;
        }

        .title {
          font-size: 1em;
        }

        button {
          width: 100%;
          font-size: .8em;
        }
      }

      column-gap: 10px;
    }
  }
}


/* Footer */
#main-footer {
  padding: 40px 0 0;

  .content {
    flex-direction: column;
    row-gap: 40px;
    padding: 0 5%;
    width: 100%;
    margin-bottom: 40px;

    .block {
      padding-left: 5%;
      padding-right: 5%;
      width: 100%;
      text-align: center;
    }

    .item {
      width: 100%;
      text-align: center;

      .title {
        width: 100%;
      }

      .info {
        flex-direction: column;
        row-gap: 10px;
      }
    }

    .links {
      margin-top: 20px;
    }
  }

  .legal {
    flex-direction: column;
    row-gap: 20px;
  }
}

.gallery {

  .sec1 {
    columns: 1;
    padding: 60px 5%;
  }
}

.insights {

  .sec1 {
    padding: 60px 5%;

    .grid {
      grid-template-columns: repeat(1, 1fr);
      row-gap: 60px;
    }
  }
}

.itrends {

  .sec1 {
    padding: 60px 5%;

    .grid {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      column-gap: 20px;
      row-gap: 60px;

    }
  }
}

.page {

  .hero {
    height: 150px;
    padding: 0 5%;

    .content {
      padding-top: 0;
      padding: 0;

      h1 {
        font-size: 1em;
      }
    }
  }

  .breadcrumb {
    font-size: .9em;
    padding: 20px 5%;
  }
}


/* About Us Page */
.about {

  .sec1 {
    padding: 60px 5%;

    .title {
      font-size: 2em;
    }

    .intro {
      font-size: 1.4em;
    }
  }

  .sec2,
  .sec3 {
    padding-left: 5%;
    padding-right: 5%;
    flex-direction: column;
    row-gap: 40px;

    .left,
    .right {
      width: 100%;
    }

    .left {
      height: 250px;
    }

    .right {

      h2 {
        font-size: 2em;
        line-height: 100%;
        text-align: center;
      }

      p {
        text-align: center;
        font-size: 1.4em;
      }
    }
  }

  .sec2 {
    .right {

      li {
        font-size: 1.2em;
      }
    }
  }

  .sec3 {
    padding-top: 40px;

    .right {
      order: 2;
      padding-bottom: 40px;

      li {
        font-size: 1.4em;
      }
    }

    .left {
      order: 1;
    }
  }

  .sec4 {
    padding: 60px 5%;

    .title {
      font-size: 2em;
    }
  }
}

.services {

  .sec1 {
    padding: 60px 5%;

    .split {
      grid-template-columns: repeat(1, 1fr);

      .right {
        height: 400px;
      }

      .left {
        height: 300px;
      }
    }

    h2 {
      font-size: 2em;
    }

    .bento {
      grid-template-columns: 1fr;
      grid-template-rows: auto;

      .box {
        grid-column: span 1;
        grid-row: span 1;
        height: fit-content;
        padding-top: 50px;
        padding-bottom: 50px;
        min-height: 350px;
      }
    }
  }
}

/* Contact Page */
.contact {

  .sec1 {
    padding: 60px 5%;
    width: 100%;
    flex-direction: column;
    row-gap: 60px;

    .grid {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      row-gap: 60px;

      .item {
        width: 100%;
        flex-direction: column;
        row-gap: 20px;
        text-align: center;

        .lef,
        .righ {
          width: 100%;
        }

        .righ {

          .info {
            font-size: 1.2em;
          }
        }
      }
    }

    .partner {

      img {
        height: 40px !important;
      }
    }

    .flex {
      flex-direction: column;
      row-gap: 60px;

      .left,
      .right {
        width: 100%;
      }

      .left {

        .title {
          font-size: 2.5em;
        }
      }
    }

    form {
      width: 100%;
    }
  }
}

/* Custom Designs Page */
.manufacturing {

  .sec1 {

    h2,
    h3 {
      font-size: 1.8em;
      line-height: 120%;
    }

    .flex3 {
      grid-template-columns: repeat(1, 1fr);
    }

    .grid3 {

      .item {
        width: 100%;

        .left {

          .number {
            font-size: 1.6em;
          }
        }

        .right {

          .h2 {
            font-size: 1.2em;
          }
        }
      }
    }
  }

  .sec2 {

    .box-title {
      font-size: 1.8em;
    }

    .flex3 {
      flex-direction: column;
      row-gap: 20px;

      .item {
        width: 100%;
      }
    }
  }
}

/* Sponsorship Page */
.sponsorships {

  .sec1 {

    .grid3 {
      grid-template-columns: repeat(1, 1fr);
    }
  }
}

/* resellers Page */
.resellers {

  .sec1 {

    .flex-standard {
      flex-direction: column;
      row-gap: 20px;

      .left {
        width: 100%;
      }

      .right {
        width: 100%;
      }
    }
  }
}