/* Спецификация */

body {
  font-family: "PT Sans", sans-serif;
}
ul,
li {
  display: block;
  margin: 0;
  padding: 0;
}
h1,
h2,
h4,
h5 {
  font-weight: 700;
  color: #000000;
}
h3 {
  font-weight: 400;
}
h2 {
  text-align: center;
}
a {
  color: inherit;
}
a:hover {
  color: inherit;
}
.title {
  padding-top: 100px;
  text-align: center;
  padding-bottom: 70px;
}
.title__main {
  font-size: 32px;
}
.title__text {
  width: 780px;
  margin: 0 auto;
  font-size: 20px;
}
input {
  outline: none;
}
/* Первый экран */
.header {
  background: #fcdb00;
  color: #010101;
  padding-top: 50px;
  padding-bottom: 105px;
}
.menu {
  display: flex;
  justify-content: center;
  margin: 8px;
}
.menu__item {
  margin: 0 57px;
}
.menu__item a {
  font-size: 22px;
  font-weight: 700;
  color: #010101;
}
.offer {
  margin-top: 117px;
}
.offer__title {
  font-size: 32px;
  margin-bottom: 15px;
}
.offer__suptitle {
  font-size: 20px;
}
.offer__text {
  width: 400px;
  font-size: 16px;
  margin-top: 15px;
  color: #555555;
}
.icons {
  display: flex;
}
.icons__item {
  margin-right: 30px;
}
.icons__item a {
  color: #000;
  font-size: 42px;
  transition: all 0.4s ease;
}
.icons__item a:hover {
  text-decoration: none;
  color: #ff4800;
}
.ipad {
  display: block;
  margin: 60px auto 0;
}

/* Второй экран */
.features {
  margin-bottom: 65px;
}
.feature__icon {
  font-size: 50px;
  margin-right: 37px;
  color: #000;
}
.features__text {
  color: #898989;
}
/* Третий экран */
.touch {
  background: #010101;
  color: #898989;
}
.yellow {
  color: #fcdb00;
}
.form {
  text-align: center;
}
.form__input {
  width: 580px;
  padding: 13px 0;
  background: #fff;
  font-size: 16px;
  font-family: "PT Sans", sans-serif;
  border-radius: 5px;
  margin-right: 21px;
  padding-left: 25px;
  border: 0;
}
.form__input[type="email"]:invalid {
  border-color: red;
}
.form__btn {
  font-family: "PT Sans", sans-serif;
  background: #fcdb00;
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  border-radius: 5px;
  border: 0;
  padding: 13px 25px;
  cursor: pointer;
}
.form__btn:hover {
  color: #000;
}
/* Modal */
.modal {
  width: 200px;
  margin: 0 auto;
  border-radius: 5px;
  background: #fff;
}
.modal__btn {
  width: 100%;
}
/* Footer */
.footer {
  background: #000;
  padding: 60px 0 100px;
  text-align: center;
}
.credits {
  color: #fff;
  font-size: 16px;
  text-align: center;
  width: 184px;
  margin: 0 auto;
}
/* Медиа */
@media screen and (max-width: 992px) {
  .logo {
    display: block;
    margin: 0 auto;
    margin-bottom: 30px;
  }
  .offer {
    text-align: center;
  }
  .offer__text {
    width: auto;
    margin: 20px auto;
  }
  .icons {
    justify-content: center;
  }
  .icons__item:nth-child(3) {
    margin-right: 0;
  }
  .form__input {
    margin-right: 0;
    width: 100%;
  }
  .form__btn {
    margin-top: 20px;
    width: 100%;
  }
  .title__text {
    width: auto;
  }
}
@media screen and (max-width: 576px) {
  .ipad {
    width: 100%;
  }
  .menu {
    flex-direction: column;
  }
  .menu__item {
    text-align: center;
    margin-bottom: 10px;
  }
}
