@import url("https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100;0,200;0,300;0,400;0,500;1,100;1,200;1,300;1,400;1,500&display=swap");
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *:before, *:after {
  box-sizing: border-box;
}

:focus, :active {
  outline: none;
}

a:focus, a:active {
  outline: none;
}

nav, footer, header, aside {
  display: block;
}

html, body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
}

input, button, textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

body {
  font-family: "Exo", sans-serif;
}

/* MAIN-PAGE */
.main-page {
  background: url(../img/main-page/1.jpg) center center/cover no-repeat;
  /* max-width: 1467px; */
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 225px 0;
}

.main-page__title {
  font-size: 60px;
  font-weight: 100;
  line-height: 1.25;
  letter-spacing: 1.5px;
  color: #282828;
  max-width: 710px;
  text-align: center;
  margin: 0 0 30px 0;
}

@media (max-width: 992.98px) {
  .main-page__title {
    font-size: 50px;
  }
}

@media (max-width: 767.98px) {
  .main-page__title {
    font-size: 40px;
  }
}

@media (max-width: 479.98px) {
  .main-page__title {
    font-size: 30px;
  }
}

.main-page__btn {
  max-width: 190px;
  max-height: 50px;
}

.btn {
  line-height: 1;
  letter-spacing: 3.2px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  border-radius: 3px;
  background-color: #ff6d6d;
  box-shadow: 2px 2px 1px #b84343;
  padding: 18px 50px 20px 50px;
}

.btn:hover {
  background-color: rgba(40, 40, 40, 0.4);
  box-shadow: 2px 2px 1px rgba(40, 40, 40, 0.8);
}

.btn:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

@media (max-width: 767.98px) {
  .btn {
    padding: 15px 40px 15px 40px;
  }
}

.main-page__subtitle {
  font-size: 14px;
  line-height: 5.36;
  letter-spacing: 0.56px;
  text-align: center;
  color: rgba(40, 40, 40, 0.6);
}

/* TEXT BLOCK */
.text-block__row {
  display: flex;
}

.text-block__body {
  padding: 120px 150px 155px 150px;
  flex: 0 0 70%;
}

@media (max-width: 992.98px) {
  .text-block__body {
    padding: 50px 50px 50px 50px;
  }
}

@media (max-width: 767.98px) {
  .text-block__body {
    padding: 50px 50px 50px 50px;
  }
}

@media (max-width: 479.98px) {
  .text-block__body {
    padding: 10px;
    flex: 1 1 100%;
  }
}

.sub {
  font-weight: 500;
  line-height: 3.13;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: #ff6d6d;
}

.title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 1.6px;
  color: #282828;
}

@media (max-width: 479.98px) {
  .title {
    font-size: 30px;
  }
}

.text {
  font-weight: 500;
  line-height: 1.63;
  letter-spacing: 0.64px;
  color: rgba(40, 40, 40, 0.66);
}

.text-block__title {
  text-align: left;
  margin: 0 0 45px 0;
}

.text-block__title span {
  color: #ff6d6d;
}

.text-block__text {
  text-align: left;
}

.text-block__text p {
  margin: 0 0 25px 0;
}

.text-block__text p:last-child {
  margin: 0;
}

.text-block__right {
  background-color: #e9eaef;
  width: 100%;
  flex: 0 0 30%;
  position: relative;
}

@media (max-width: 479.98px) {
  .text-block__right {
    display: none;
  }
}

.text-block-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  border: 0 solid transparent;
  border-right-width: 0px;
  border-left-width: 400px;
  border-bottom: 480px solid #ff6d6d;
}

@media (max-width: 1152px) {
  .text-block-bg {
    border-left-width: 300px;
    border-bottom: 3px solid #ff6d6d;
  }
}

/* FEACHERS */
.features {
  padding: 120px 0 150px 0;
  background: url(../img/features/BG.jpg) center center/cover no-repeat;
}

@media (max-width: 992.98px) {
  .features {
    padding: 50px 50px 50px 50px;
  }
}

@media (max-width: 767.98px) {
  .features {
    padding: 50px 50px 50px 50px;
  }
}

@media (max-width: 479.98px) {
  .features {
    padding: 10px;
    flex: 1 1 100%;
  }
}

.features__subtitle {
  text-align: center;
}

.features__title {
  text-align: center;
}

.features__row {
  display: flex;
  justify-content: center;
  margin: 80px 0 0 0;
  flex-wrap: wrap;
}

@media (max-width: 992.98px) {
  .features__row {
    margin: 60px 0 0 0;
  }
}

.features__item {
  max-width: 345px;
}

@media (max-width: 992.98px) {
  .features__item {
    margin: 30px 0 0 0;
  }
}

.features__item-icon {
  margin: 0 auto;
  max-width: 65px;
}

.features__item-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.88px;
  text-align: center;
  color: #282828;
  margin: 20px 0 15px 0;
}

.features__item-text {
  text-align: center;
}

/* RERPONSIVE */
.responsive {
  padding: 90px 0 90px 0;
  background: url(../img/responsive/2.png) left center/50% no-repeat;
}

@media (max-width: 1152px) {
  .responsive {
    padding: 50px 20px 50px 20px;
  }
}

.responsive__row {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1152px) {
  .responsive__row {
    flex-wrap: wrap-reverse;
  }
  .responsive__row.responsive__image, .responsive__row .responsive__body {
    flex: 1 1 100%;
  }
  .responsive__row .responsive__title, .responsive__row .responsive__subtitle {
    text-align: center;
  }
}

.responsive__image {
  width: 630px;
}

@media (max-width: 767.98px) {
  .responsive__image {
    flex: 0 0;
  }
  .responsive__image.responsive__image img {
    max-width: 430px;
  }
}

@media (max-width: 479.98px) {
  .responsive__image.responsive__image img {
    max-width: 300px;
  }
}

.responsive__title span {
  color: #ff6d6d;
}

.responsive__text {
  margin: 35px 0 0 0;
}

/* STUFF */
.stuff {
  padding: 110px 0 80px 0;
  background: url(../img/stuff/bg.jpg) center center/cover no-repeat;
}

@media (max-width: 1152px) {
  .stuff {
    padding: 80px 0 60px 0;
  }
}

.stuff__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stuff__cards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stuff__cards-item {
  flex: 0 0 325px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card__image {
  width: 76px;
  height: 76px;
  background: #898993;
}

.card__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 2.27;
  letter-spacing: 0.88px;
  text-align: center;
  color: #fff;
}

.card__subtitle {
  font-weight: 500;
  line-height: 3.13;
  text-align: center;
  color: #ff6d6d;
}

.card__text {
  font-style: italic;
  line-height: 1.63;
  letter-spacing: 0.64px;
  text-align: center;
  color: rgba(255, 255, 255, 0.66);
}

.stuff__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 95px 0 0 0;
}

.stuff__image {
  margin: 0 20px 10px 20px;
}

/* AWESOME */
.awesome {
  text-align: center;
  padding: 100px 0 0 0;
}

@media (max-width: 992.98px) {
  .awesome {
    padding: 50px 10px 0 10px;
  }
}

.awesome .awesome__title {
  margin: 0 0 45px 0;
}

.awesome .awesome__text {
  max-width: 650px;
  margin: 0 auto;
}

@media (max-width: 992.98px) {
  .awesome .awesome__image img {
    width: 80%;
  }
}

/* FORM-BLOCK */
.form-block {
  background: #323969;
  padding: 85px 0 85px 0;
}

.form-block__row {
  text-align: center;
}

.form-block__title, .form-block__terms {
  color: #fff;
}

.form-block__title {
  margin: 0 0 95px 0;
}

.form-block__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 1152px) {
  .form-block__body {
    flex-direction: column;
  }
  .form-block__body input {
    margin: 0 0 20px 0;
  }
  .form-block__body input:nth-child(3) {
    margin: 0 0 80px 0;
  }
  .form-block__body input:last-child {
    margin: 0;
  }
}

.form-block__body input {
  background: #b2b6cc;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
  width: 260px;
  padding: 18px 0 16px 29px;
  max-height: 50px;
  border-radius: 3px;
}

.form-link__uppertext {
  display: inline-block;
  position: relative;
  color: #fff;
}

.form-link__uppertext::before {
  content: url(../img/icons/4.png);
  position: absolute;
  top: -55px;
  left: 10px;
}

.form-link__uppertext::after {
  position: absolute;
  content: '30 days free trial for all.';
  right: 20px;
  top: -55px;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-size: 16px;
}

.form-link {
  display: inline-block;
  max-height: 50px;
  padding: 18px 0 16px 0px;
  min-width: 260px;
}

.form-link:hover {
  background: #fff;
  color: #ff6d6d;
  border: 1px solid #ff6d6d;
}

.form-block__terms {
  font-weight: 300;
  margin: 50px 0 0 0;
}

.form-block__terms a {
  text-decoration: underline;
  font-weight: 500;
  line-height: 1.63;
  letter-spacing: 0.64px;
  color: #fff;
}

/* FOOTER */
.footer {
  padding: 85px 0 85px 0;
  background: url(../img/footer/1.png) right center no-repeat;
}

@media (max-width: 992.98px) {
  .footer {
    padding: 50px 0px 50px 10px;
  }
}

.footer .footer__row {
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: left;
  align-items: flex-start;
}

@media (max-width: 1152px) {
  .footer .footer__row {
    justify-content: center;
    align-items: center;
  }
}

.footer .footer__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 65px 0 0;
}

.footer .footer__col:first-child {
  width: 235px;
}

.footer__link {
  display: flex;
  flex-direction: column;
}

.footer__text, .footer__link a {
  display: inline-block;
  font-size: 14px;
  line-height: 2.14;
  letter-spacing: 0.56px;
  color: rgba(40, 40, 40, 0.66);
}

.footer__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 2.27;
  letter-spacing: 0.88px;
  color: #282828;
}

.footer__subscribe-btn {
  position: relative;
}

.footer__subscribe-btn input {
  text-transform: uppercase;
  padding: 18px 0 16px 29px;
  border: 1px solid gray;
  border-radius: 3px;
  width: 263px;
  height: 49px;
}

.footer__subscribe-btn a {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  background-color: #ff6d6d;
  padding: 15px;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}

.footer__social {
  display: flex;
  justify-content: center;
  margin: 20px 0 0 0;
}

.footer__social a {
  margin: 0 15px;
}
