@font-face {
  font-family: "Lucida Grande";
  src: url("fonts/Lucida Grande Regular.ttf");
}

@font-face {
  font-family: "Titillium Web";
  src: url("fonts/TitilliumWeb-Regular.ttf");
}

@font-face {
  font-family: "TitilliumWebSemiBold";
  src: url("fonts/TitilliumWeb-Regular.ttf");
}

body {
  margin: 0;
  padding: 0;
  color: white;
  background-color: black;
}

#back-mobile {
  display: none;
}

.hp {

  &:after {
    content: "";
    display: block;
    width: 100%;
    height: 75%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('images/Decor.svg');
    opacity: 0.9;
    z-index: -1;
  }
}

.main {
  //max-width: 100%;
  //width: 100%;
  text-align: center;

  .main-content {

    img {
      width: 662px;
    }
  }


  .box-text {
    color: white;
    max-width: 350px;

  }

  .cover {
    width: 100%;
    max-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }

  .back-div {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left
  }

  .content-page {
    display: flex;
    flex-direction: row;
    justify-content: center;
    //margin-bottom: 80px;
    z-index: 5;
    flex-wrap: wrap;


    &:after {
      content: "";
      display: block;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      background: url('images/Decor.svg');
      opacity: 0.9;
      z-index: -1;
    }

    .parent-box {
      max-width: 1000px;
      margin: 0 auto;
    }

    .box-text {
      margin-top: 55px;
      color: #FFFFFF;
      font-family: "Titillium Web";
      font-size: 18px;
      letter-spacing: 0;
      line-height: 27px;
      text-align: left;
      z-index: 5;

      .img-title {
        margin-top: 100px;
        font-family: 'Titillium Web';
        font-size: 50px;
        font-weight: bold;
        letter-spacing: 0;
        line-height: 76px;
      }

      .img-subtitle {
        font-family: 'Lucida Grande';
        font-size: 20px;
        letter-spacing: 0;
        line-height: 23px;
      }

      .logo-div {
        text-align: left;

        .logo {
          width: 253px;
          margin-left: -80px;
        }
      }

      .icon {
        position: relative;
        top: -70px;
        left: -60px
      }

      .bg {
        left: -80px
      }

      .back-2 {
        position: relative;
        top: -250px;
        left: 900px;
      }

      .text {
        margin-top: 150px;
      }
    }


    .photos {
      display: flex;
      flex-wrap: wrap;
      flex-direction: column;
      margin-top: 55px;
      margin-left: 100px;
      margin-top: 540px;

      .row {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;

        img {
          margin-right: 20px;
          width: 255px;
          height: auto;
          align-self: flex-start;
        }
      }

      .row:nth-child(2) {
        margin-top: 20px;
      }
    }
  }

  .back {

    img {
      margin-right: 10px;
    }

    color: #FFFFFF;
    font-family: "Titillium Web";
    font-size: 18px;
    letter-spacing: 0;
    line-height: 27px;

    a {
      color: white;
      text-decoration: none;
    }

    a:visited {
      color: white;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
      opacity: 0.5;
    }
  }

  .main-content {
    margin-top: 101px;
    margin-bottom: 50px;

    img {
      max-width: 622px;
    }


    .title {
      font-family: 'Titillium Web', sans-serif;
      height: 55px;
      color: #FFFFFF;
      font-size: 30px;
      font-weight: bold;
      letter-spacing: 0;
      line-height: 55px;
      margin-top: 19px;
    }

    .subtitle {
      height: 31px;
      color: #FFFFFF;
      font-family: "Titillium Web";
      font-size: 20px;
      letter-spacing: 0;
      line-height: 31px;
      text-transform: uppercase;
    }

    .boxes {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      margin-top: 50px;


      .box-group {
        margin: 0 auto;
        width: 730px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        //justify-content: center;
        align-items: center;
      }


      .box {
        margin-right: 15px;
        margin-bottom: 15px;
        width: 350px;
        height: 130px;
        color: white;
        display: flex;
        flex-direction: inherit;

        &:hover {
          .icon-box {

            background: gray;

            .primary {
              display: none;
            }

            .arrow {
              display: block;
            }
          }
        }

        img {
          width: 100%;
        }

        .head {
          color: red;
          position: absolute;
          margin-top: 34px;
          margin-left: 31px;
          text-align: left;
          color: #FFFFFF;
          font-family: "Titillium Web";
          font-size: 26px;
          font-weight: bold;
          letter-spacing: 0;
          line-height: 39px;
        }

        .body {
          position: absolute;
          margin-top: 73px;
          margin-left: 31px;
          color: #FFFFFF;
          font-family: "Lucida Grande";
          font-size: 16px;
          letter-spacing: 0;
          line-height: 18px;
        }

        .icon-box {
          position: absolute;
          margin-left: 275px;
          margin-top: 0;
          width: 75px;
          height: inherit;
          display: flex;
          justify-content: center;
          align-items: center;

          .arrow {
            display: none;
          }

          .audio-icon {
            height: 15.42px;
            width: 28px;
          }

          .height-icon {
            height: 40px;
          }

          .trees-icon {
            height: 60px;
          }

          .energy-icon {
            max-height: 50px;
          }

          .rental-icon {
            max-height: 30px;
          }
        }
      }
    }


  }
}

.footer-copyright {
  //margin-top: 100px;
  height: 30px;
  width: 100%;
  color: #9B9B9B;
  font-family: "Titillium Web";
  font-size: 12px;
  letter-spacing: 0;
  line-height: 14px;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;

  .copyright {
    text-align: center;
    width: 100%;
  }

  .matfix-logo {
    text-align: right;
    margin-left: auto;
    margin-right: 14px;
    margin-bottom: 14px;

    img {
      max-width: 50px;
    }

    span {
      font-size: 9px;
      line-height: 9px;
      color: #D8D8D8;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }
  }
}


.footer {

  position: relative;
  height: 320px;
  margin-top: -10px;
  color: #FFFFFF;
  font-family: "Titillium Web";
  font-size: 16px;
  line-height: 40px;

  &.home {
    height: 270px;
  }

  .img-background-logo {
    position: absolute;
    bottom: 0;
    left: 0;

    img {
      height: 197px;
    }
  }

  .img-logo {
    position: absolute;
    left: 250px;
    bottom: 81px;
  }

  .fb-button {
    position: absolute;
    left: 1250px;
    bottom: 87px;
    width: 159px;
    height: 50px;
    background-color: #3B5998;
    text-align: left;
    display: flex;
    align-items: center;
    font-family: "Titillium Web";
    font-size: 20px;
    font-weight: 100;
    line-height: 31px;
    text-align: center;
    text-decoration: none;

    &:hover {
      background-color: #112653;;
    }

    .fb-content {
      margin-left: 28px;
    }

    .fb-text {
      margin-left: 10px;
      font-weight: bold;
      color: #FFFFFF;
      font-family: "Titillium Web";
      font-size: 16px;
      letter-spacing: 0;
      line-height: 31px;
      font-weight: 100;

      &:hover {
        text-decoration: underline
      }
    }
  }

  .text {
    position: absolute;
    left: 150px;
    bottom: 50px;
    margin-left: 550px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    .title {
      font-family: "TitilliumWebSemiBold";
      color: #9B9B9B;
      font-size: 16px;
      font-weight: 600;
      line-height: 24px;
    }

    a {
      color: white;
      text-decoration: none;
    }

    a:visited {
      color: white;
      text-decoration: none;
    }

    a:active {
      color: white;
      text-decoration: none;
    }

    a:hover {
      color: white;
      text-decoration: underline;
    }

    .contact-row {

      display: flex;
      justify-content: left;
      align-items: flex-start;
      margin-top: 10px;
      color: #FFFFFF;
      font-family: "Titillium Web";
      font-size: 16px;
      letter-spacing: 0;
      font-weight: 500;
      margin-top: 20px;

      img {
        height: 25px;
        width: 25px;
        margin-right: 12px;
      }
    }


    .left {
      color: #9B9B9B;
      font-family: "Titillium Web";
      font-size: 16px;
      font-weight: 600;
      letter-spacing: 0;
      line-height: 24px;
    }

    .right {
      margin-left: 120px;
      color: #9B9B9B;
      font-family: "Titillium Web";
      font-size: 16px;
      font-weight: 600;
      letter-spacing: 0;
      line-height: 24px;
    }
  }
}

@media only screen and (max-width: 1620px) {
  .main {
    .content-page {
      .box-text {
        .img-title {
          margin-top: 80px;
        }
      }

      .photos {
        margin-top: 520px;
      }
    }
  }
}

@media only screen and (max-width: 1520px) {
  .main {
    .content-page {
      .box-text {
        .img-title {
          margin-top: 60px;
        }

        .text {
          margin-top: 72px;
        }
      }

      .photos {
        margin-top: 427px;
      }
    }
  }
}

@media only screen and (max-width: 1440px) {

  .hp {

    .main {


      .main-content {
        margin-top: 101px;

        .title {
          margin-top: 32px;
        }

        .subtitle {
          margin-top: 10px;
        }
      }
    }
  }

  .main {
    .content-page {

      margin-bottom: 0px;

      .box-text {
        max-width: 340px;

        .text {
          margin-top: 50px;
        }

        .img-title {
          margin-top: 40px;
        }
      }

      .photos {
        margin-top: 380px;
      }
    }
  }


  .footer {
    .text {
      left: -10px;
    }

    .fb-button {
      left: 1085px;
    }
  }
}

@media only screen and (max-width: 1310px) {

  .main {
    .content-page {
      .box-text {

        .img-title {
          margin-top: 20px;
        }

        .icon {
          left: -70px;
        }

        .logo-div {
          .logo {
            margin-left: -20px;
          }
        }
      }
    }
  }

  .footer {
    .text {
      left: 20px;

      .right {
        margin-left: 60px;
      }
    }

    .fb-button {
      left: 1000px;
    }
  }
}

@media only screen and (max-width: 1200px) {

  .main {
    .content-page {
      .box-text {

        .icon {
          left: -50px;
        }

        .img-title {
          margin-top: 20px;
        }
      }

      .photos {
        margin-top: 370px;
      }
    }
  }


  .footer {
    .text {
      left: -50px;

      .right {
        margin-left: 60px;
      }
    }

    .img-logo {
      left: 150px;
    }

    .fb-button {
      left: 970px;
    }
  }
}

@media only screen and (max-width: 1160px) {

  .main {
    .parent-box {
      .content-page {
        .box-text {
          .text {
            margin-top: 45px;
            //margin-top: 90px;
          }

          max-width: 328px;
        }
      }

      .photos {
        margin-left: 50px;
      }
    }
  }

  .footer {
    .text {
      left: -100px;

      .right {
        margin-left: 60px;
      }
    }

    .img-logo {
      left: 150px;
    }

    .fb-button {
      left: 900px;
    }
  }
}

@media only screen and (max-width: 1090px) {

  .main {
    .parent-box {
      .content-page {
        .box-text {

          max-width: 500px;
        }

        .photos {
          margin-top: 20px;
        }
      }

      .photos {
        margin-left: 50px;
      }
    }
  }


  .footer {
    .text {
      left: -150px;
    }

    .fb-button {
      left: 850px;
    }
  }
}

@media only screen and (max-width: 1040px) {

  .footer {
    .text {
      left: -200px;
    }

    .img-logo {
      left: 100px;
    }

    .fb-button {
      left: 800px;
    }
  }
}

@media only screen and (max-width: 990px) {

  .footer {
    .text {
      left: -270px;
    }

    .img-logo {
      left: 30px;
    }

    .fb-button {
      left: 750px;
    }
  }
}

@media only screen and (max-width: 950px) {

  #back-full {
    display: none;
  }

  #back-mobile {
    display: block;
    width: 70%;
    text-align: left;
    margin-top: 30px;

    a {
      color: white;
      text-decoration: none;

      font-family: "Titillium Web";
      font-size: 18px;
      letter-spacing: 0;
      line-height: 27px;
      text-align: center;

    }

    a:visited {
      color: white;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
      opacity: 0.5;
    }

    img {
      margin-right: 15px;
    }
  }

  body {
    width: 100%;
  }

  .footer-copyright {
    text-align: left;

    .copyright {
      padding-left: 15px;
      text-align: left;
      width: 70%;
    }

    .matfix-logo {
      margin-right: 40px;
    }
  }

  .phone-button-res {
    display: inline-flex;
  }

  .hp {
    margin-top: -50px;

    .main {
      .main-content {
        margin-bottom: 0px;

        .boxes {
          margin-top: 90px;
        }
      }
    }
  }

  .main {
    width: 100%;
    max-width: 100%;

    &:after {
      display: none;
    }

    .main-content {
      margin-top: 48px;

      img {
        width: 286px;
      }

      .title {
        display: none;
      }

      .subtitle {
        font-family: "Titillium Web";
        font-size: 20px;
        letter-spacing: 0;
        line-height: 25px;
        text-align: center;
        width: 70%;
        margin: 0 auto;
      }

      .subtitle::before {
        display: block;
        content: "";
        height: 20px;
      }

      .boxes {

        .box-group {
          width: 100%;
          display: block;
        }

        .box {
          width: 100%;
          margin-right: 0px;
          height: 60px;
          flex-direction: inherit;
          margin-bottom: 0px;


          .head {
            margin-top: 5px;
            font-family: "Titillium Web";
            font-size: 22px;
            font-weight: bold;
            letter-spacing: 0;
            line-height: 34px;
          }

          .body {
            margin-top: 35px;
            font-family: "Lucida Grande";
            font-size: 14px;
            letter-spacing: 0;
            line-height: 15px;;
          }

          .icon-box {

            right: 10px;

            .audio-icon {
              height: 10px;
            }

            .height-icon {
              height: 20px;
            }

            .trees-icon {
              height: 30px;
            }

            .energy-icon {
              max-height: 30px;
            }

            .rental-icon {
              max-height: 18px;
            }
          }

          img {
            width: 100%;
          }
        }
      }
    }

    .cover-wrap {
      overflow: hidden;
      position: relative;
      width: 100%;
      min-height: 250px;
    }


    .cover {
      transform: scale(3.6);
      max-width: 100%;
      width: auto;
      height: auto;
    }

    .content-page {

      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      margin-bottom: 40px;

      .box-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: inherit;
        max-width: 70% !important;
        text-align: left;
        margin-top: -250px;


        .text {
          margin-top: 42px;
          font-family: "Titillium Web";
          font-size: 14px;
          letter-spacing: 0;
          line-height: 18px;
        }

        .img-title {
          font-family: "Titillium Web";
          font-size: 30px;
          font-weight: bold;
          letter-spacing: 0;
          line-height: 46px;
          margin-left: 60px;
          margin-top: 20px;
        }

        .img-subtitle {
          font-family: "Titillium Web";
          font-size: 15px;
          letter-spacing: 0;
          line-height: 24px;
          margin-left: 60px;
          white-space: nowrap;
        }

        .logo-div {
          text-align: center;
          margin-top: 30px;

          .logo {
            margin-left: auto;
            width: 130px;
          }
        }

        .icon {
          width: 40px;
          top: -40px;
          left: 0px;
        }

        .audio-icon {
          width: 25px;

        }

        .height-icon {
          width: 30px;
        }

        .energy-icon {
          width: 30px;
        }

        .back-2 {
          position: absolute;
          top: 30px;
          left: 40px;
        }
      }

      .photos {
        margin: 20px 0px 0 0;

        .row {
          justify-content: center;

          img {
            width: 138px;
            height: auto;
            align-self: flex-start;
          }
        }
      }
    }
  }

  .footer {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 420px;
    margin-left: -60px;

    &.home {
      min-height: 500px;
    }

    .img-logo {
      display: none;
    }

    .text {
      position: initial;
      margin-left: initial;
      flex-direction: column;

      .contact-row {

        font-family: "Titillium Web";
        font-size: 16px;
        letter-spacing: 0;
        line-height: 30px;
        font-weight: 500;

        img {
          width: 21px;
        }
      }

      .left {
        color: #9B9B9B;
        font-family: "Titillium Web";
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0;
        line-height: 24px;
      }

      .right {
        color: #9B9B9B;
        font-family: "Titillium Web";
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0;
        line-height: 24px;
        margin-left: initial;
        margin-top: 20px;
      }
    }

    .fb-button {
      position: initial;
      width: 160px;
      margin-top: 20px;
      font-family: "Titillium Web";
      font-size: 20px;
      letter-spacing: 0;
      font-weight: initial;
      z-index: 5;
      height: 50px;
      font-weight: 600;
      letter-spacing: 0;
      line-height: 31px;
      display: flex;
      justify-content: center;
      align-items: center;
      text-decoration: none;


      img {
        height: 16px;
      }

      .fb-content {
        margin-left: initial;

        img {
          height: 27px;
          width: 13px;
        }
      }

      .fb-text {
        font-family: "Titillium Web";
        font-size: 20px;
        font-weight: 100;
        letter-spacing: 0;
        line-height: 31px;
        text-align: center;
      }
    }

    .img-background-logo {
      img {
        max-width: 100%;
      }
    }
  }
}









