.main {
  width: 88%;
  margin: 0 auto;
  padding: 25px;
  background-color: #000;
}
.main__content {
  display: flex;
  background-color: #141414;
  justify-content: center;
  padding: 18px 20px;
  gap: 30px;
  border-radius: 20px;
  border: 2px solid #4d4d4d;
  box-shadow: 0px 0px 25px rgba(255, 0, 0, 0.35);
}
.main__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  max-width: 440px;
  gap: 20px;
}
.main__title {
  font-size: 45px;
  font-weight: 700;
  font-family: 'Oswald', 'Roboto';
  color: var(--grey-text-color);
  letter-spacing: -1px;
  line-height: 54px;
}
.main__subtitle {
  font-family: 'Roboto';
  font-size: 16px;
  font-weight: 500;
  color: var(--dark-grey-text-color);
  line-height: 24px;
  letter-spacing: -0.7px;
  max-width: 437px;
}
.main__button {
  width: 61%;
}
.main__image {
  width: 470px;
  height: 352px;
  display: flex;
  justify-content: center;
}
.main__image img {
  height: 100%;
}

@media (max-width: 1200px) {
  .main__content {
    padding: 26px 20px;
    flex-direction: row-reverse;
    justify-content: center;
  }
  .main__title {
    font-size: 35px;
    line-height: 42px;
  }
  .main__subtitle {
    max-width: 290px;
    font-size: 12px;
    line-height: 18px;
  }
  .main__text {
    flex: 0 0 50%;
  }
  .main__image {
    height: 240px;
    flex: 0 0 50%;
    justify-content: flex-end;
    padding-right: 30px;
  }
}

@media (max-width: 810px) {
  .main__content {
    flex-direction: column-reverse;
    align-items: center;
  }
  .main__title {
    font-size: 35px;
    line-height: 42px;
    width: 100%;
  }
  .main__subtitle {
    max-width: 313px;
    font-size: 12px;
    line-height: 18px;
    margin: 0 auto;
  }
  .main__text {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  .main__image {
    flex: 0 0 270px;
    justify-content: center;
    padding-right: 0px;
  }
  .main__button {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .main__title {
    font-size: 24px;
    line-height: 30px;
    width: 100%;
  }
  .main__image {
    flex: 0 0 220px;
    justify-content: center;
    padding-right: 0px;
  }
}

@media (max-width: 360px) {
  .main__image {
    width: 100%;
    height: fit-content;
    flex: 0 0 auto;
  }
  .main__image img {
    width: 100%;
    height: fit-content;
  }
}