.d-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
@media (min-width: 768px) {
  h4.hero-title {
    font-size: 30px;
    text-transform: uppercase;
  }
  h4.hero-subtitle {
    font-size: 24px;
    width: 80%;
    margin: 0 auto;
  }
  h4.hero-subtitle {
    font-size: 24px;
  }
  .btn.btn-rounded {
    font-size: 14px;
    margin: 5px 5px 5px 15px;
    padding: 10px 30px;
  }
  .nxt-gen-page .btn.btn-rounded {
    border: 2px solid #23504a;
  }
  p {
    font-size: 14px;
  }
  .logo-royale {
    margin: 35px 0;
  }
}
@media (min-width: 991px) {
  .nxt-gen-page .banner-content {
    text-align: left;
    align-items: flex-start;
    padding: 0 100px;
    height: 100vh;
  }
  .nxt-gen-page .gen-title {
    width: 95%;
    margin: 10px 0;
  }
  .nxt-gen-page .gen-title span {
    display: inline-block;
  }
  .nxt-gen-page .d-flex {
    margin: 10px 15px 10px 0 !important;
  }
  .nxt-gen-page h4.hero-subtitle {
    width: 100%;
    font-size: 20px;
    margin: 10px 0;
    position: relative;
  }
  .nxt-gen-page h4.hero-subtitle:after {
    position: absolute;
    height: 2px;
    width: 35%;
    background: #000;
    content: "";
    left: 10px;
    bottom: -10px;
  }
  .nxt-gen-page .light-img {
    width: 10%;
  }
  .nxt-gen-page p {
    font-size: 24px;
    font-family: nexa-Bold !important;
    color: #373636;
  }
  .nxt-gen-page {
    background-repeat: no-repeat;
    background-position: right;
    background-size: 45%;
    background-position-x: 93%;
    background-image: url(../images/back-desk.jpg);
  }
  .hero-title {
    color: #23504a;
    text-transform: uppercase;
    font-weight: 600;
    font-family: nexa-Bold !important;
    letter-spacing: 2px;
  }
  .logo-savah {
    margin: 10px 0;
  }
  span.custom-circle {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #000;
    margin: 5px 10px;
  }
}
@media (min-width: 1279px) {
  .nxt-gen-page .gen-title {
    width: 95%;
    margin: 10px 0;
  }
  .nxt-gen-page h4.hero-subtitle {
    width: 100%;
    margin: 20px 0 0px;
        line-height: 1.8;
  }
  .nxt-gen-page .btn.btn-rounded {
    font-weight: 600;
  }
}
@media (min-width: 1441px) {
  h4.hero-title {
    font-size: 50px;
    text-transform: uppercase;
  }
  h4.hero-subtitle {
    font-size: 28px;
  }
  h4.hero-subtitle {
    font-size: 30px;
    width: 60%;
  }
  .btn.btn-rounded {
    font-size: 16px;
    margin: 10px 10px 10px 15px;
    padding: 15px 40px;
  }
  p {
    font-size: 16px;
  }
  .logo-royale {
    margin: 80px 0;
  }
  .d-flex {
    margin: 40px 0;
  }
  .nxt-gen-page .gen-title {
    font-size: 36px;
  }
  .nxt-gen-page p {
    font-size: 18px;
    font-weight: 600;
  }
  .nxt-gen-page .sp-title {
    line-height: 17px;
  }
  a.explore-link {
    margin-top: 25px;
  }
  .nxt-gen-page .gen-title {
/*    margin: 10px 0 20px;*/
margin: 10px 0 5px;
  }
}


@media(max-width:1366px){
      .nxt-gen-page h4.hero-subtitle {
        margin: 0px 0 0px;
        line-height: 1.4;
    }
}

@media(max-width:1200px){
/*    .nxt-gen-page .d-flex {
        margin: 5px 15px 5px 0 !important;
    }*/
    .btn.btn-rounded{
      padding: 5px 15px;
    }

}


@media (max-width: 767px) {
  .section-space {
    padding: 50px 0;
  }
  .title {
    margin-bottom: 25px;
  }
  .banner-content {
    width: 100%;
    padding: 5px;
  }
  .hero-title {
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    font-family: nexa-light !important;
    margin-bottom: 30px;
  }
  .hero-subtitle {
    margin-top: 25px;
    font-size: 14px;
    font-weight: 100 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: nexa-light !important;
  }
  .hero-subtitle strong {
    font-weight: 600;
    color: #fff;
  }
  .form-block-landing .form-group {
    margin-bottom: 10px;
  }
  .collection2page .logo-royale {
    margin: 20px 0;
  }
  .nxt-gen-page .edit-num {
    height: 26px;
    font-size: 10px;
  }
}
@media (max-width: 320px) {
  .hero-title {
    font-size: 10px;
    font-weight: 100;
    line-height: 14px;
  }
  .g-img-block {
    height: 38vh;
  }
  .btn.btn-rounded {
    font-size: 10px;
  }
  img.icons-col {
    width: 20px;
    height: 20px;
  }
  .hero-subtitle {
    font-size: 12px;
  }
  p {
    font-size: 10px;
  }
  .logo-royale img {
    width: 90px;
  }
}
