/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {
  .about__content {
    flex: 0 0 670px;
    padding-left: 40px;
  }
  .features-wrapper {
    grid-gap: 30px;
  }
  .footer-bottom__text {
    flex: 0 0 345px;
  }
  .header__menu li:not(:last-child) {
    margin-right: 20px;
}
}
@media only screen and (max-width: 1020px) {
}
/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
  .tg-banner__icon{
    right: 30px;
    top: 75%
  }
  .models-bg {
    height: 500px;
  }
  .models-bg .inner{
    display: none;
  }
  .models-bg .mobile-wrapper {
    display: block !important;

    position: relative;
    overflow-x: scroll;
    overflow-y: hidden;
    padding-left: 10px;
    height: 100%;
  }
  .models-bg .mobile-wrapper img {
    position: relative;
    z-index: 0;
  }
  .models-bg:after {
  bottom: 66px;
  height: 173px
  }
  .header__menu {
    display: none;
  }
  .main-hero-nums {
    display: none;
  }
  .main-hero {
    justify-content: flex-end;
  }
  #mobile-hero-nums {
    display: block;
    padding-top: 10px;
  }
  #mobile-hero-nums .main-hero-nums {
    display: block;

    background: #302f32;
    border-radius: 5px;
    width: calc(100% - 20px);
    margin-left: 10px;
    padding: 25px 20px 30px;
    text-align: center;
  }
  .main-hero-nums__text {
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
  .main-hero-nums__item:not(:last-child) {
    padding-bottom: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #434244;
  }
  .about__image img {
    position: unset;
    max-width: 320px;
    display: block;
    /* margin-left: auto; */
    margin-right: auto;
    margin-top: 20px;
  }
  .features-wrapper {
    grid-template-columns: 1fr;
  }
  .features-card-2__text {
    margin-top: 30px;
  }
  .models-block {
    width: 100%;
  }
  .footer-top {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .footer__socials {
    order: 2;
    flex: 0 0 100%;
    width: 100%;
    justify-content: center;
    margin: 20px 0 25px;
  }
  .footer__logo {
    order: 1;
    flex: 0 0 auto;
  }
  .footer__email {
    order: 3;
    flex: 0 0 auto;
  }
  .footer-bottom {
    flex-direction: column-reverse;
  }
  .footer-bottom__text {
    flex: 0 0 auto;
    margin-top: 30px;
  }
  .header__toggle {
    display: block;
  }

  .models-block {
    padding: 40px 25px 45px;
    bottom: 50px;
  }
  .models-block__title {
    font-size: 30px;
    line-height: 120%;
    margin-bottom: 15px;
  }
  .models-block__text {
    font-size: 17px;
    line-height: 140%;
    margin-bottom: 30px;
  }
  .models-block__button .button {
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    text-align: center;
  }
  .models-block {
    width: 95%;
  }
}

/* Small Devices, .table_boxts */
@media only screen and (max-width: 768px) {
  .tg-banner{
    padding: 20px 128px 20px 20px;
  }
  .tg-banner__icon{
    right: 20px;
  }
  .header__socials {
    display: none;
  }
  body {
    font-size: 17px;
    line-height: 23px;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  h1 {
    font-size: 40px;
    line-height: 120%;
  }
  h2,
  .h2 {
    font-size: 35px;
    line-height: 120%;
  }
  .button {
    font-size: 15px;
    padding: 17px 40px;
  }
  .main-hero__subtitle {
    font-size: 17px;
    line-height: 140%;
    margin-top: 20px;
  }
  #main {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 39.24%, #000000 100%), radial-gradient(74.62% 74.62% at 62.88% 53.04%, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 68.9%, #000000 100%), url("../img/bg-mob.jpeg");

    background-size: cover;
    background-position: top center;
    background-position: 60% 50%;
    min-height: 550px;
  }
  .header__logo {
    width: 80px;
  }
  .main-hero {
    padding-top: 60px;
    padding-bottom: 41px;
  }
  .main-hero-nums__head {
    font-size: 40px;
    line-height: 52px;
  }
  .main-hero-nums__text {
    font-size: 15px;
    line-height: 20px;
  }
  .about__content {
    flex: 0 0 100%;
    padding: 0;
  }
  .about-wrapper {
    display: block;
  }
  #about {
    padding-top: 83px;
  }
  .about__text {
    font-size: 17px;
    line-height: 140%;
    margin-top: 20px;
  }
  .about-steps {
    display: grid;
  }
  .about-steps__item:first-child {
    border-top: 1px solid #ebebeb;
  }
  .about-steps__item {
    margin-right: 0 !important;
    padding-right: 0 !important;
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #ebebeb;
  }
  .about-steps__item:not(:last-child) {
    border-right: 0;
  }
  .about-steps__num {
    font-size: 40px;
    line-height: 52px;
    margin-right: 20px;
  }
  .about-steps__text {
    font-size: 15px;
    line-height: 20px;
  }
  .about__steps {
    margin-top: 26px;
  }
  .about__button {
    text-align: center;
    margin-top: 20px;
  }
  #about {
    padding-bottom: 60px;
  }
  .features-card {
    padding: 35px 25px 40px;
  }
  #features {
    padding-top: 94px;
  }
  #features .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .features-card-1__list {
    font-size: 17px;
    line-height: 23px;
  }
  .features-card-1__list {
    margin-top: 14px;
  }
  .features-card-1__item {
    padding: 19px 0;
  }
  .features-card-1__button {
    margin-top: 41px;
  }
  .features-card-2__list {
    font-size: 17px;
    line-height: 23px;
  }
  .features-card-2__item {
    padding: 22px 0;
    padding-left: 76px;
  }
  .features-card-2__text {
    font-size: 15px;
    line-height: 150%;
  }
  #models h2 {
    padding-left: 20px;
    padding-right: 20px;
  }
  #models {
    padding-top: 50px;
    padding-bottom: 375px;
  }
  .models-bg {
    margin-top: 20px;
  }
  #models-k {
    padding-top: 94px;
  }
  .models-k-list__item:last-child {
    display: none;
  }
  .models-k-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .models-k-list__item {
    padding: 20px;
  }
  .models-k-list__item:not(:last-child) {
    border-right: none;
  }
  .models-k-list__item:nth-child(1),
  .models-k-list__item:nth-child(2) {
    border-bottom: 1px solid #ebebeb;
  }
  .models-k-list__item:nth-child(1),
  .models-k-list__item:nth-child(3) {
    border-right: 1px solid #ebebeb;
  }
  .models-k__slider {
    margin-top: 12px;
  }
  #models-k:after {
    display: none;
  }
  .models-k__slider {
    margin-bottom: 0;
  }
  #models-k {
    padding-bottom: 54px;
  }
  #membership h2 {
    text-align: left;
    max-width: 300px;
  }
  #membership {
    padding-top: 53px;
    padding-bottom: 181px;
  }
  .membership {
    padding: 45px 25px 30px;
    position: absolute;
    top: 191px;
    left: 10px;
    width: calc(100% - 20px);
  }
  #membership .container {
    position: relative;
  }
  .membership__text {
    line-height: 140%;
  }
  .membership__list-title {
    font-size: 15px;
    line-height: 20px;
  }
  .membership__list li {
    font-size: 15px;
    line-height: 20px;
    padding: 16px 20px;
  }
  .membership__price-title {
    font-size: 15px;
    line-height: 20px;
  }
  .membership__price {
    font-size: 30px;
    line-height: 39px;
  }
  .membership__footer {
    display: block;
  }
  .membership__button {
    text-align: center;
  }
  .membership__socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 28px;
  }
  .membership__socials__text {
    order: 1;
  }
  .membership__socials-list {
    order: 2;
    margin-top: 10px;
  }
  #demo {
    padding-top: 690px;
    padding-bottom: 51px;
  }
  .demo-banner {
    padding: 55px 25px 48px;
    width: calc(100% - 20px);
  }
  .demo-banner__text {
    font-size: 17px;
    line-height: 140%;
    margin-top: 15px;
  }
  .demo-banner__button {
    margin-top: 36px;
  }
  #etaps {
    padding-top: 94px;
  }
  .etaps-list {
    display: grid;
  }
  .etaps-list {
    margin-top: 10px;
    grid-gap: 18px;
  }
  .etaps__text {
    font-size: 15px;
    line-height: 150%;
  }
  .etaps__text {
    margin-top: 14px;
  }
  #etaps {
    padding-bottom: 94px;
  }
  #reviews {
    padding: 52px 0;
    padding-bottom: 210px;
  }
  #reviews .container {
    padding-left: 0;
    padding-right: 0;
  }
  .reviews-block {
    padding: 40px 30px 45px;
  }
  .reviews-grid__item {
    height: 200px;
  }
  .reviews-block {
    position: absolute;
    width: calc(100% - 20px);
    bottom: 150px;
  }
  .reviews-grid {
    position: absolute;
    grid-gap: 9px;
    width: 514px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 94px;
  }
  .reviews-grid-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 500px;
  }
  .reviews-block__title {
    font-size: 25px;
    line-height: 120%;
  }
  .reviews-block__button {
    margin-top: 31px;
  }
  #faq {
    padding-top: 45px;
    padding-bottom: 39px;
  }
  #faq .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .faq-item__head {
    font-size: 17px;
    line-height: 23px;
  }
  .faq-list {
    margin-top: 34px;
    padding: 0 15px;
  }
  .faq-item {
    padding: 20px 0;
  }
  .faq-item__body {
    font-size: 15px;
    line-height: 20px;
  }
  .faq-button {
    margin-top: 35px;
  }
  #pre-footer {
    padding-top: 151px;
    padding-bottom: 60px;
  }
  #pre-footer h2 {
    font-size: 30px;
    line-height: 39px;
  }
  .footer-top {
    padding-top: 20px;
    padding-bottom: 31px;
  }
  .footer__socials {
    margin-top: 16px;
  }
  .footer-socials__item {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
  }
  .footer-socials__item:not(:last-child) {
    margin-right: 20px;
  }
  .footer__email a {
    font-size: 25px;
    line-height: 32px;
  }
  .footer-bottom__links {
    display: block;
  }
  .footer-bottom {
    align-items: flex-start;
  }
  .footer-bottom__links a {
    margin: 10px 0 !important;
  }
  .footer-bottom__text {
    font-size: 13px;
    line-height: 18px;
    margin-top: 20px;
  }
  .reviews-grid:after {
    height: 246px;
  }
  .models-bg:after {
    bottom: 367px;
    height: 173px;
}
.etaps-list__item{
  border-right: none !important;
}
.etaps-list__item:not(:last-child){
  border-bottom: 1px solid #ebebeb
}
.header__langs{
  margin-right: 10px;
}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
  .pay-popup__list{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .header__langs{
    display: none;
  }
  .mobile-menu__langs{
    display: block;
    margin-top: 30px;
    text-align: center;
  }
  .about__image img {
    max-width: 355px;
    transform: translateX(-10px);
  }
  .demo-banner__button,
  .reviews-block__button{
    text-align: center;
  }
  
  .tg-banner__icon svg{
width: 60px;
  }
  .tg-banner{
    padding-right: 20px;
    padding-bottom: 100px
  }
  .tg-banner__icon{
    top: 85%;

    right: calc(50% - 30px);
  }
  .footer__email{
    text-align: center;
  }
  
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 350px) {
  #demo {
    padding-top: 740px;
  }
}

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) {
}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px) {
}

/* Small Devices, .table_boxts */
@media only screen and (min-width: 768px) {
}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
}
@media only screen and (min-width: 1020px) {
}
@media only screen and (min-width: 1600px) {
}
@media only screen and (min-width: 2100px) {
}
